芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/elementor/includes/controls/select.php
[], ]; } /** * Render select control output in the editor. * * Used to generate the control HTML in the editor using Underscore JS * template. The variables for the class are available using `data` JS * object. * * @since 1.0.0 * @access public */ public function content_template() { ?>
<# if ( data.label ) {#>
{{{ data.label }}}
<# } #>
<# var printOptions = function( options ) { _.each( options, function( option_title, option_value ) { #>
{{{ option_title?.title || option_title }}}
<# } ); }; if ( data.groups ) { for ( var groupIndex in data.groups ) { var groupArgs = data.groups[ groupIndex ]; if ( groupArgs.options ) { #>
<# printOptions( groupArgs.options ) #>
<# } else if ( _.isString( groupArgs ) ) { #>
{{{ groupArgs }}}
<# } } } else { printOptions( data.options ); } #>
<# if ( data.description ) { #>
{{{ data.description }}}
<# } #>