Server IP : 15.235.198.142 / Your IP : 216.73.216.202 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/craft/wp-content/plugins/elementor/modules/promotions/controls/ |
Upload File : |
<?php namespace Elementor\Modules\Promotions\Controls; use Elementor\Base_Data_Control; class Promotion_Control extends Base_Data_Control { const TYPE = 'promotion_control'; public function get_type() { return static::TYPE; } public function content_template() { ?> <div data-promotion="{{{ data.name }}}" class="elementor-control-type-switcher elementor-label-inline e-control-promotion__wrapper"> <div class="elementor-control-content"> <div class="elementor-control-field"> <# if ( data.label ) {#> <label for="<?php $this->print_control_uid(); ?>" class="elementor-control-title">{{{ data.label }}}</label> <# } #> <span class="e-control-promotion__lock-wrapper"> <i class="eicon-lock"></i> </span> <div class="elementor-control-input-wrapper"> <label class="elementor-switch elementor-control-unit-2 e-control-promotion-switch"> <input type="checkbox" class="elementor-switch-input" disabled> <span class="elementor-switch-label" data-off="Off"></span> <span class="elementor-switch-handle"></span> </label> </div> <div class="e-promotion-react-wrapper" data-promotion="{{{ data.name }}}"></div> </div> </div> </div> <?php } }