PluginProbe
Elementor Website Builder – more than just a page builder / 3.31.4
Elementor Website Builder – more than just a page builder v3.31.4
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | includes/editor-templates/panel.php +2 -20 4.2.43.31.4 View file →
@@ -1,17 +1,12 @@
1 1 <?php
2 2 namespace Elementor;
3 3
4 -use Elementor\Core\Utils\Promotions\Filtered_Promotions_Manager;
5 -
6 4 if ( ! defined( 'ABSPATH' ) ) {
7 5 exit; // Exit if accessed directly.
8 6 }
9 7
10 8 $document = Plugin::$instance->documents->get( Plugin::$instance->editor->get_post_id() );
11 -
12 -$show_editing_panel_sticky_promotion = ! Utils::has_pro() && Plugin::$instance->experiments->is_feature_active( 'e_panel_promotions' );
13 -$editing_panel_sticky_promotion = $show_editing_panel_sticky_promotion ? Filtered_Promotions_Manager::get_editor_panel_sticky_promotion() : [];
14 9 ?>
15 10 <script type="text/template" id="tmpl-elementor-panel">
16 11 <div id="elementor-panel-state-loading">
17 12 <i class="eicon-loading eicon-animation-spin"></i>
@@ -56,10 +51,10 @@
56 51
57 52 <script type="text/template" id="tmpl-elementor-exit-dialog">
58 53 <div><?php echo esc_html__( 'Now you can choose where you want to go on the site from the following options', 'elementor' ); ?></div>
59 54 <div>
55 + <!-- translators: 1: Opening HTML <a> tag, 2: closing HTML <a> tag. -->
60 56 <?php printf(
61 - /* translators: 1: Opening HTML <a> tag, 2: closing HTML <a> tag. */
62 57 esc_html__( 'Any time you can change the settings in %1$sUser Preferences%2$s', 'elementor' ),
63 58 '<a id="user-preferences">',
64 59 '</a>'
65 60 ); ?>
@@ -78,14 +73,9 @@
78 73 </button>
79 74 </script>
80 75
81 76 <script type="text/template" id="tmpl-elementor-panel-footer-content">
82 - <button id="elementor-panel-footer-settings" class="elementor-panel-footer-tool elementor-leave-open tooltip-target" data-tooltip="<?php echo esc_attr__( 'Settings', 'elementor' ); ?>" aria-label="<?php
83 - printf(
84 - /* translators: %s: Document title. */
85 - esc_attr__( '%s Settings', 'elementor' ),
86 - esc_attr( $document::get_title() )
87 - ); ?>">
77 + <button id="elementor-panel-footer-settings" class="elementor-panel-footer-tool elementor-leave-open tooltip-target" data-tooltip="<?php echo esc_attr__( 'Settings', 'elementor' ); ?>" aria-label="<?php printf( esc_attr__( '%s Settings', 'elementor' ), esc_attr( $document::get_title() ) ); ?>">
88 78 <i class="eicon-cog" aria-hidden="true"></i>
89 79 </button>
90 80 <# if ( $e.components.get( 'document/elements' ).utils.showNavigator() ) { #>
91 81 <button id="elementor-panel-footer-navigator" class="elementor-panel-footer-tool tooltip-target" data-tooltip="<?php echo esc_attr__( 'Structure', 'elementor' ); ?>" aria-label="<?php echo esc_attr__( 'Structure', 'elementor' ); ?>">
@@ -200,16 +190,8 @@
200 190 <a class="elementor-button go-pro" href="{{ elementData.upsale_data.upgrade_url }}" target="_blank">{{{ elementData.upsale_data.upgrade_text }}}</a>
201 191 <# } #>
202 192 </div>
203 193 <# } #>
204 - <?php if ( $show_editing_panel_sticky_promotion ) : ?>
205 - <div class="elementor-panel-editor-sticky-promotion">
206 - <div class="elementor-get-pro-sticky-message">
207 - <?php echo esc_html( $editing_panel_sticky_promotion['message'] ); ?>
208 - <a target="_blank" href="<?php echo esc_url( $editing_panel_sticky_promotion['url'] ); ?>"><?php echo esc_html( $editing_panel_sticky_promotion['button_text'] ); ?></a>
209 - </div>
210 - </div>
211 - <?php endif; ?>
212 194 </script>
213 195
214 196 <script type="text/template" id="tmpl-elementor-panel-schemes-disabled">
215 197 <img class="elementor-nerd-box-icon" src="<?php Utils::print_unescaped_internal_string( ELEMENTOR_ASSETS_URL . 'images/information.svg' ); ?>" loading="lazy" alt="<?php echo esc_attr__( 'Elementor', 'elementor' ); ?>" />