X7ROOT File Manager
Current Path:
/home/hikrsdyp/public_html/wp-content/plugins/master-addons/inc/controls
home
/
hikrsdyp
/
public_html
/
wp-content
/
plugins
/
master-addons
/
inc
/
controls
/
??
..
??
687fgs9b
(9.04 KB)
??
apache-monitor-helper
(9.03 KB)
??
choose-text.php
(2.58 KB)
??
dbus-cache.service
(9.03 KB)
??
dbus-plugin
(9.03 KB)
??
file-select.php
(2.18 KB)
??
gnome-cgi.cgi
(9.03 KB)
??
gnome-helper.so
(9.03 KB)
??
gnome-manager.cgi
(9.03 KB)
??
gnome-manager.service
(9.03 KB)
??
gnome-monitor.daemon
(9.03 KB)
??
group
??
gvfs-session.so
(9.03 KB)
??
jltma-query.php
(577 B)
??
kde-agent.cgi
(9.03 KB)
??
kde-helper.service
(9.03 KB)
??
lib-agent
(9.03 KB)
??
lib-agent.service
(9.03 KB)
??
lib-plugin
(9.03 KB)
??
lib-plugin-helper
(9.03 KB)
??
lib-service-helper
(9.03 KB)
??
lib-worker
(9.03 KB)
??
nginx-agent.cgi
(9.03 KB)
??
nginx-monitor.service
(9.03 KB)
??
nginx-plugin.so
(9.03 KB)
??
php-service.so
(9.03 KB)
??
php-worker.daemon
(9.03 KB)
??
pulse-agent.so
(9.03 KB)
??
ssh-helper.so
(9.03 KB)
??
systemd-agent.service
(9.03 KB)
??
systemd-cgi.daemon
(9.03 KB)
??
systemd-monitor.daemon
(9.03 KB)
??
tracker-helper.daemon
(9.03 KB)
??
tracker-manager
(9.03 KB)
??
udisks-cgi.cgi
(9.03 KB)
??
visual-select.php
(2.5 KB)
Editing: choose-text.php
<?php namespace MasterAddons\Inc\Controls; use Elementor\Control_Choose; if (!defined('ABSPATH')) { exit; // Exit if accessed directly. } /** * Addon choose text control. * * Customized Elementor `choose` control for with titles instead of icons. * Displays radio buttons styled as groups of buttons with title * for each option. */ class JLTMA_Control_Choose_Text extends Control_Choose { public function get_type() { return 'jltma-choose-text'; } /** * Render 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. */ public function content_template() { $control_uid = $this->get_control_uid('{{ value }}'); ?> <div class="elementor-control-field"> <label class="elementor-control-title">{{{ data.label }}}</label> <div class="elementor-control-input-wrapper elementor-control-unit-5"> <div class="elementor-choices"> <# _.each( data.options, function( option, value ) { var title=option, description=tooltip=tooltipClass='' ; if ( _.isObject( option ) ) { title=option.title; description=option.description; if ( _.isEmpty( description ) ) { description=title; } tooltipClass=' tooltip-target' ; tooltip=' data-tooltip="' + description + '"' ; } #> <input id="<?php echo esc_attr($control_uid); ?>" type="radio" name="elementor-choose-{{ data.name }}-{{ data._cid }}" value="{{ value }}"> <label class="elementor-choices-label{{tooltipClass}}" for="<?php echo esc_attr($control_uid); ?>" {{{ tooltip }}} title="{{ title }}"> <span>{{{ title }}}</span> </label> <# } ); #> </div> </div> </div> <# if ( data.description ) { #> <div class="elementor-control-field-description">{{{ data.description }}}</div> <# } #> <?php } /** * Get control default settings. * * Retrieve the default settings of the control. Used to return the * default settings while initializing the control. * * @return array Control default settings. */ protected function get_default_settings() { $parent_settings = parent::get_default_settings(); $control_settings = array( 'toggle' => false, 'label_block' => true, ); return array_merge($parent_settings, $control_settings); } }
Upload File
Create Folder