| Current Path : /home/xbodynamge/namtation/wp-content/ |
| Current File : /home/xbodynamge/namtation/wp-content/class-control-select.php.tar |
xbodynamge/lebauwcentre/wp-content/themes/customify/inc/customizer/controls/class-control-select.php0000644 00000001200 15114051062 0031214 0 ustar 00 home <?php
class Customify_Customizer_Control_Select extends Customify_Customizer_Control_Base {
static function field_template() {
echo '<script type="text/html" id="tmpl-field-customify-select">';
self::before_field();
?>
<?php echo self::field_header(); ?>
<div class="customify-field-settings-inner">
<select class="customify-input" data-name="{{ field.name }}">
<# _.each( field.choices, function( label, key ){ #>
<option <# if ( field.value == key ){ #> selected="selected" <# } #> value="{{ key }}">{{ label }}</option>
<# } ); #>
</select>
</div>
<?php
self::after_field();
echo '</script>';
}
}