| @@ -57,26 +57,24 @@ | ||
| 57 | 57 | * @since 1.9.0 |
| 58 | 58 | * @access public |
| 59 | 59 | */ |
| 60 | 60 | public function content_template() { |
| 61 | + $control_uid = $this->get_control_uid(); | |
| 61 | 62 | ?> |
| 62 | 63 | <div class="elementor-control-field"> |
| 63 | 64 | <label class="elementor-control-title">{{{ data.label }}}</label> |
| 64 | 65 | <div class="elementor-control-input-wrapper"> |
| 65 | - <input id="<?php $this->print_control_uid(); ?>-custom" class="elementor-control-popover-toggle-toggle" type="radio" name="elementor-choose-{{ data.name }}-{{ data._cid }}" value="{{ data.return_value }}"> | |
| 66 | - <label class="elementor-control-popover-toggle-toggle-label elementor-control-unit-1" for="<?php $this->print_control_uid(); ?>-custom"> | |
| 66 | + <input id="<?php echo $control_uid; ?>-custom" class="elementor-control-popover-toggle-toggle" type="radio" name="elementor-choose-{{ data.name }}-{{ data._cid }}" value="{{ data.return_value }}"> | |
| 67 | + <label class="elementor-control-popover-toggle-toggle-label elementor-control-unit-1" for="<?php echo $control_uid; ?>-custom"> | |
| 67 | 68 | <i class="eicon-edit" aria-hidden="true"></i> |
| 68 | - <span class="elementor-screen-only"><?php echo esc_html__( 'Edit', 'elementor' ); ?></span> | |
| 69 | + <span class="elementor-screen-only"><?php echo __( 'Edit', 'elementor' ); ?></span> | |
| 69 | 70 | </label> |
| 70 | - <input id="<?php $this->print_control_uid(); ?>-default" class="elementor-control-popover-toggle-reset" type="radio" name="elementor-choose-{{ data.name }}-{{ data._cid }}" value=""> | |
| 71 | - <label class="elementor-control-popover-toggle-reset-label tooltip-target" for="<?php $this->print_control_uid(); ?>-default" data-tooltip="<?php echo esc_attr__( 'Back to default', 'elementor' ); ?>" data-tooltip-pos="s"> | |
| 71 | + <input id="<?php echo $control_uid; ?>-default" class="elementor-control-popover-toggle-reset" type="radio" name="elementor-choose-{{ data.name }}-{{ data._cid }}" value=""> | |
| 72 | + <label class="elementor-control-popover-toggle-reset-label tooltip-target" for="<?php echo $control_uid; ?>-default" data-tooltip="<?php echo __( 'Back to default', 'elementor' ); ?>" data-tooltip-pos="s"> | |
| 72 | 73 | <i class="eicon-undo" aria-hidden="true"></i> |
| 73 | - <span class="elementor-screen-only"><?php echo esc_html__( 'Back to default', 'elementor' ); ?></span> | |
| 74 | + <span class="elementor-screen-only"><?php echo __( 'Back to default', 'elementor' ); ?></span> | |
| 74 | 75 | </label> |
| 75 | 76 | </div> |
| 76 | 77 | </div> |
| 77 | - <# if ( data.description ) { #> | |
| 78 | - <div class="elementor-control-field-description">{{{ data.description }}}</div> | |
| 79 | - <# } #> | |
| 80 | 78 | <?php |
| 81 | 79 | } |
| 82 | 80 | } |