HEX
Server: Apache
System: Linux host17.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User: shrsglobal (7178)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //home/shrsglobal/www/wp-content/plugins/ultimate-elementor/modules/caf-styler/widgets/template.php
<?php
/**
 * UAEL Caldera Forms Styler Template.
 *
 * @package UAEL
 */

$classname = '';
if ( 'yes' === $settings['caf_radio_check_custom'] ) {
	$classname = 'uael-caf-check-style';
}

if ( '-1' === $settings['caf_select_caldera_form'] ) { ?>

	<div class="uael-form-editor-message">Please select a Caldera Form.</div>

<?php } else { ?>
	<div class="uael-caldera-form-wrapper">
		<div class="uael-caf-form elementor-clickable <?php echo esc_attr( $classname ); ?>">
			<?php echo do_shortcode( '[caldera_form id="' . $settings['caf_select_caldera_form'] . '" ]' ); ?>
		</div>
	</div>	
<?php } ?>