HEX
Server: Apache
System: Linux cpanelx.inxs.ro 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: crowdandsafety (1041)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/cwd/wp-content/plugins/cornerstone/includes/views/partials/frame.php
<?php

// =============================================================================
// VIEWS/PARTIALS/FRAME.PHP
// -----------------------------------------------------------------------------
// Frame partial.
// =============================================================================


$atts        = ( isset( $atts )        ) ? $atts        : array();
$custom_atts = ( isset( $custom_atts ) ) ? $custom_atts : null;

// Prepare Attr Values
// -------------------

$frame_classes = [ 'x-frame' ];

if ( isset( $frame_content_type ) && ! empty( $frame_content_type ) ) {
  $frame_classes[] = 'x-frame-' . $frame_content_type;
}

// Output
// ------

echo cs_tag('div', [ 'class' => $frame_classes ], $atts, $custom_atts, cs_tag( 'div', ['class' => 'x-frame-inner'], $frame_content) );