| @@ -7,8 +7,9 @@ | ||
| 7 | 7 | |
| 8 | 8 | $document = Plugin::$instance->documents->get( Plugin::$instance->editor->get_post_id() ); |
| 9 | 9 | ?> |
| 10 | 10 | <script type="text/template" id="tmpl-elementor-panel"> |
| 11 | + <div id="elementor-mode-switcher"></div> | |
| 11 | 12 | <div id="elementor-panel-state-loading"> |
| 12 | 13 | <i class="eicon-loading eicon-animation-spin"></i> |
| 13 | 14 | </div> |
| 14 | 15 | <header id="elementor-panel-header-wrapper"></header> |
| @@ -15,9 +16,8 @@ | ||
| 15 | 16 | <main id="elementor-panel-content-wrapper"></main> |
| 16 | 17 | <footer id="elementor-panel-footer"> |
| 17 | 18 | <div class="elementor-panel-container"></div> |
| 18 | 19 | </footer> |
| 19 | - <div id="elementor-mode-switcher"></div> | |
| 20 | 20 | </script> |
| 21 | 21 | |
| 22 | 22 | <script type="text/template" id="tmpl-elementor-panel-menu"> |
| 23 | 23 | <div id="elementor-panel-page-menu-content"></div> |
| @@ -24,9 +24,9 @@ | ||
| 24 | 24 | <# if ( elementor.config.document.panel.needHelpUrl ) { #> |
| 25 | 25 | <div id="elementor-panel__editor__help"> |
| 26 | 26 | <a id="elementor-panel__editor__help__link" href="{{{ elementor.config.document.panel.needHelpUrl }}}" target="_blank"> |
| 27 | 27 | <?php echo esc_html__( 'Need Help', 'elementor' ); ?> |
| 28 | - <i class="eicon-help-o" aria-hidden="true"></i> | |
| 28 | + <i class="eicon-help-o"></i> | |
| 29 | 29 | </a> |
| 30 | 30 | </div> |
| 31 | 31 | <# } #> |
| 32 | 32 | </script> |
| @@ -48,60 +48,47 @@ | ||
| 48 | 48 | <a href="{{ link }}" target="{{ target }}"><div class="elementor-panel-menu-item-title">{{{ title }}}</div></a> |
| 49 | 49 | <# } #> |
| 50 | 50 | </script> |
| 51 | 51 | |
| 52 | -<script type="text/template" id="tmpl-elementor-exit-dialog"> | |
| 53 | - <div><?php echo esc_html__( 'Now you can choose where you want to go on the site from the following options', 'elementor' ); ?></div> | |
| 54 | - <div> | |
| 55 | - <?php printf( | |
| 56 | - /* translators: 1: Opening HTML <a> tag, 2: closing HTML <a> tag. */ | |
| 57 | - esc_html__( 'Any time you can change the settings in %1$sUser Preferences%2$s', 'elementor' ), | |
| 58 | - '<a id="user-preferences">', | |
| 59 | - '</a>' | |
| 60 | - ); ?> | |
| 52 | +<script type="text/template" id="tmpl-elementor-panel-header"> | |
| 53 | + <div id="elementor-panel-header-menu-button" class="elementor-header-button"> | |
| 54 | + <i class="elementor-icon eicon-menu-bar tooltip-target" aria-hidden="true" data-tooltip="<?php esc_attr_e( 'Menu', 'elementor' ); ?>"></i> | |
| 55 | + <span class="elementor-screen-only"><?php echo esc_html__( 'Menu', 'elementor' ); ?></span> | |
| 61 | 56 | </div> |
| 62 | - <select id="exit-to-preferences"></select> <!-- Adding options by JS --> | |
| 57 | + <div id="elementor-panel-header-title"></div> | |
| 58 | + <div id="elementor-panel-header-add-button" class="elementor-header-button"> | |
| 59 | + <i class="elementor-icon eicon-apps tooltip-target" aria-hidden="true" data-tooltip="<?php esc_attr_e( 'Widgets Panel', 'elementor' ); ?>"></i> | |
| 60 | + <span class="elementor-screen-only"><?php echo esc_html__( 'Widgets Panel', 'elementor' ); ?></span> | |
| 61 | + </div> | |
| 63 | 62 | </script> |
| 64 | 63 | |
| 65 | -<script type="text/template" id="tmpl-elementor-panel-header"> | |
| 66 | - <button id="elementor-panel-header-menu-button" class="elementor-header-button" aria-label="<?php echo esc_attr__( 'Menu', 'elementor' ); ?>"> | |
| 67 | - <i class="elementor-icon eicon-menu-bar tooltip-target" aria-hidden="true" data-tooltip="<?php echo esc_attr__( 'Menu', 'elementor' ); ?>"></i> | |
| 68 | - </button> | |
| 69 | - <h2 id="elementor-panel-header-title"></h2> | |
| 70 | - <# const extraClass = $e.components.get( 'document/elements' ).utils.allowAddingWidgets() ? '' : 'elementor-visibility-hidden'; #> | |
| 71 | - <button id="elementor-panel-header-add-button" class="elementor-header-button {{{ extraClass }}}" aria-label="<?php echo esc_attr__( 'Widgets Panel', 'elementor' ); ?>"> | |
| 72 | - <i class="elementor-icon eicon-apps tooltip-target" aria-hidden="true" data-tooltip="<?php echo esc_attr__( 'Widgets Panel', 'elementor' ); ?>"></i> | |
| 73 | - </button> | |
| 74 | -</script> | |
| 75 | - | |
| 76 | 64 | <script type="text/template" id="tmpl-elementor-panel-footer-content"> |
| 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 | |
| 78 | - printf( | |
| 79 | - /* translators: %s: Document title. */ | |
| 80 | - esc_attr__( '%s Settings', 'elementor' ), | |
| 81 | - esc_attr( $document::get_title() ) | |
| 82 | - ); ?>"> | |
| 65 | + <div id="elementor-panel-footer-settings" class="elementor-panel-footer-tool elementor-leave-open tooltip-target" data-tooltip="<?php esc_attr_e( 'Settings', 'elementor' ); ?>"> | |
| 83 | 66 | <i class="eicon-cog" aria-hidden="true"></i> |
| 84 | - </button> | |
| 85 | - <# if ( $e.components.get( 'document/elements' ).utils.showNavigator() ) { #> | |
| 86 | - <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' ); ?>"> | |
| 67 | + <span class="elementor-screen-only"><?php printf( esc_html__( '%s Settings', 'elementor' ), esc_html( $document::get_title() ) ); ?></span> | |
| 68 | + </div> | |
| 69 | + <div id="elementor-panel-footer-navigator" class="elementor-panel-footer-tool tooltip-target" data-tooltip="<?php esc_attr_e( 'Navigator', 'elementor' ); ?>"> | |
| 87 | 70 | <i class="eicon-navigator" aria-hidden="true"></i> |
| 88 | - </button> | |
| 89 | - <# } #> | |
| 90 | - <button id="elementor-panel-footer-history" class="elementor-panel-footer-tool elementor-leave-open tooltip-target" data-tooltip="<?php echo esc_attr__( 'History', 'elementor' ); ?>" aria-label="<?php echo esc_attr__( 'History', 'elementor' ); ?>"> | |
| 71 | + <span class="elementor-screen-only"><?php echo esc_html__( 'Navigator', 'elementor' ); ?></span> | |
| 72 | + </div> | |
| 73 | + <div id="elementor-panel-footer-history" class="elementor-panel-footer-tool elementor-leave-open tooltip-target" data-tooltip="<?php esc_attr_e( 'History', 'elementor' ); ?>"> | |
| 91 | 74 | <i class="eicon-history" aria-hidden="true"></i> |
| 92 | - </button> | |
| 93 | - <button id="elementor-panel-footer-responsive" class="elementor-panel-footer-tool elementor-toggle-state tooltip-target" data-tooltip="<?php echo esc_attr__( 'Responsive Mode', 'elementor' ); ?>" aria-label="<?php echo esc_attr__( 'Responsive Mode', 'elementor' ); ?>"> | |
| 94 | - <i class="eicon-device-responsive" aria-hidden="true"></i> | |
| 95 | - </button> | |
| 96 | - <button id="elementor-panel-footer-saver-preview" class="elementor-panel-footer-tool tooltip-target" data-tooltip="<?php echo esc_attr__( 'Preview Changes', 'elementor' ); ?>" aria-label="<?php echo esc_attr__( 'Preview Changes', 'elementor' ); ?>"> | |
| 75 | + <span class="elementor-screen-only"><?php echo esc_html__( 'History', 'elementor' ); ?></span> | |
| 76 | + </div> | |
| 77 | + <div id="elementor-panel-footer-responsive" class="elementor-panel-footer-tool elementor-toggle-state"> | |
| 78 | + <i class="eicon-device-responsive tooltip-target" aria-hidden="true" data-tooltip="<?php esc_attr_e( 'Responsive Mode', 'elementor' ); ?>"></i> | |
| 79 | + <span class="elementor-screen-only"> | |
| 80 | + <?php echo esc_html__( 'Responsive Mode', 'elementor' ); ?> | |
| 81 | + </span> | |
| 82 | + </div> | |
| 83 | + <div id="elementor-panel-footer-saver-preview" class="elementor-panel-footer-tool tooltip-target" data-tooltip="<?php esc_attr_e( 'Preview Changes', 'elementor' ); ?>"> | |
| 97 | 84 | <span id="elementor-panel-footer-saver-preview-label"> |
| 98 | 85 | <i class="eicon-preview-medium" aria-hidden="true"></i> |
| 86 | + <span class="elementor-screen-only"><?php echo esc_html__( 'Preview Changes', 'elementor' ); ?></span> | |
| 99 | 87 | </span> |
| 100 | - </button> | |
| 88 | + </div> | |
| 101 | 89 | <div id="elementor-panel-footer-saver-publish" class="elementor-panel-footer-tool"> |
| 102 | - <# const publishTitle = $e.components.get( 'document/elements' ).utils.getTitleForPublishButton(); #> | |
| 103 | - <button id="elementor-panel-saver-button-publish" class="elementor-button e-primary elementor-disabled" title="{{{ publishTitle }}}"> | |
| 90 | + <button id="elementor-panel-saver-button-publish" class="elementor-button elementor-button-success elementor-disabled"> | |
| 104 | 91 | <span class="elementor-state-icon"> |
| 105 | 92 | <i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i> |
| 106 | 93 | </span> |
| 107 | 94 | <span id="elementor-panel-saver-button-publish-label"> |
| @@ -109,10 +96,11 @@ | ||
| 109 | 96 | </span> |
| 110 | 97 | </button> |
| 111 | 98 | </div> |
| 112 | 99 | <div id="elementor-panel-footer-saver-options" class="elementor-panel-footer-tool elementor-toggle-state"> |
| 113 | - <button id="elementor-panel-saver-button-save-options" class="elementor-button e-primary tooltip-target elementor-disabled" data-tooltip="<?php echo esc_attr__( 'Save Options', 'elementor' ); ?>" data-tooltip-offset="7" aria-label="<?php echo esc_attr__( 'Save Options', 'elementor' ); ?>"> | |
| 114 | - <i class="eicon-chevron-right" aria-hidden="true"></i> | |
| 100 | + <button id="elementor-panel-saver-button-save-options" class="elementor-button elementor-button-success tooltip-target elementor-disabled" data-tooltip="<?php esc_attr_e( 'Save Options', 'elementor' ); ?>" data-tooltip-offset="7"> | |
| 101 | + <i class="eicon-caret-up" aria-hidden="true"></i> | |
| 102 | + <span class="elementor-screen-only"><?php echo esc_html__( 'Save Options', 'elementor' ); ?></span> | |
| 115 | 103 | </button> |
| 116 | 104 | <div class="elementor-panel-footer-sub-menu-wrapper"> |
| 117 | 105 | <p class="elementor-last-edited-wrapper"> |
| 118 | 106 | <span class="elementor-state-icon"> |
| @@ -129,14 +117,8 @@ | ||
| 129 | 117 | <div id="elementor-panel-footer-sub-menu-item-save-template" class="elementor-panel-footer-sub-menu-item"> |
| 130 | 118 | <i class="elementor-icon eicon-folder" aria-hidden="true"></i> |
| 131 | 119 | <span class="elementor-title"><?php echo esc_html__( 'Save as Template', 'elementor' ); ?></span> |
| 132 | 120 | </div> |
| 133 | - <# if ( $e.components.get( 'document/elements' ).utils.showCopyAndShareButton() ) { #> | |
| 134 | - <div id="elementor-panel-footer-sub-menu-item-copy-share-link" class="elementor-panel-footer-sub-menu-item"> | |
| 135 | - <i class="elementor-icon eicon-link" aria-hidden="true"></i> | |
| 136 | - <span class="elementor-title"><?php echo esc_html__( 'Copy and Share Link', 'elementor' ); ?></span> | |
| 137 | - </div> | |
| 138 | - <# } #> | |
| 139 | 121 | </div> |
| 140 | 122 | </div> |
| 141 | 123 | </div> |
| 142 | 124 | </script> |
| @@ -141,13 +123,13 @@ | ||
| 141 | 123 | </div> |
| 142 | 124 | </script> |
| 143 | 125 | |
| 144 | 126 | <script type="text/template" id="tmpl-elementor-mode-switcher-content"> |
| 145 | - <label for="elementor-mode-switcher-preview-input" id="elementor-mode-switcher-preview" title="<?php echo esc_attr__( 'Hide Panel', 'elementor' ); ?>"> | |
| 146 | - <i class="eicon eicon-angle-left" aria-hidden="true" tabindex="0"></i> | |
| 127 | + <input id="elementor-mode-switcher-preview-input" type="checkbox"> | |
| 128 | + <label for="elementor-mode-switcher-preview-input" id="elementor-mode-switcher-preview"> | |
| 129 | + <i class="eicon" aria-hidden="true" title="<?php esc_attr_e( 'Hide Panel', 'elementor' ); ?>"></i> | |
| 147 | 130 | <span class="elementor-screen-only"><?php echo esc_html__( 'Hide Panel', 'elementor' ); ?></span> |
| 148 | 131 | </label> |
| 149 | - <input id="elementor-mode-switcher-preview-input" type="checkbox"> | |
| 150 | 132 | </script> |
| 151 | 133 | |
| 152 | 134 | <script type="text/template" id="tmpl-editor-content"> |
| 153 | 135 | <div class="elementor-panel-navigation"> |
| @@ -156,18 +138,27 @@ | ||
| 156 | 138 | return; |
| 157 | 139 | } |
| 158 | 140 | $e.bc.ensureTab( 'panel/editor', tabSlug ); |
| 159 | 141 | #> |
| 160 | - <button class="elementor-component-tab elementor-panel-navigation-tab elementor-tab-control-{{ tabSlug }}" data-tab="{{ tabSlug }}"> | |
| 161 | - <span>{{{ tabTitle }}}</span> | |
| 162 | - </button> | |
| 142 | + <div class="elementor-component-tab elementor-panel-navigation-tab elementor-tab-control-{{ tabSlug }}" data-tab="{{ tabSlug }}"> | |
| 143 | + <a href="#">{{{ tabTitle }}}</a> | |
| 144 | + </div> | |
| 163 | 145 | <# } ); #> |
| 164 | 146 | </div> |
| 147 | + | |
| 148 | + <div class="e-panel-search-area e-panel-controls-search-area"> | |
| 149 | + <div class="e-panel-search-wrapper e-panel-controls-search-wrapper"> | |
| 150 | + <label for="elementor-panel-controls-search-input" class="screen-reader-text"><?php echo esc_html__( 'Search Control:', 'elementor' ); ?></label> | |
| 151 | + <input type="search" id="elementor-panel-controls-search-input" placeholder="<?php esc_attr_e( 'Search Control...', 'elementor' ); ?>" autocomplete="off"/> | |
| 152 | + <i class="eicon-search-bold" aria-hidden="true"></i> | |
| 153 | + </div> | |
| 154 | + </div> | |
| 155 | + | |
| 165 | 156 | <# if ( elementData.reload_preview ) { #> |
| 166 | 157 | <div class="elementor-update-preview"> |
| 167 | 158 | <div class="elementor-update-preview-title"><?php echo esc_html__( 'Update changes to page', 'elementor' ); ?></div> |
| 168 | 159 | <div class="elementor-update-preview-button-wrapper"> |
| 169 | - <button class="elementor-update-preview-button elementor-button"><?php echo esc_html__( 'Apply', 'elementor' ); ?></button> | |
| 160 | + <button class="elementor-update-preview-button elementor-button elementor-button-success"><?php echo esc_html__( 'Apply', 'elementor' ); ?></button> | |
| 170 | 161 | </div> |
| 171 | 162 | </div> |
| 172 | 163 | <# } #> |
| 173 | 164 | <div id="elementor-controls"></div> |
| @@ -174,42 +165,18 @@ | ||
| 174 | 165 | <# if ( elementData.help_url ) { #> |
| 175 | 166 | <div id="elementor-panel__editor__help"> |
| 176 | 167 | <a id="elementor-panel__editor__help__link" href="{{ elementData.help_url }}" target="_blank"> |
| 177 | 168 | <?php echo esc_html__( 'Need Help', 'elementor' ); ?> |
| 178 | - <i class="eicon-help-o" aria-hidden="true"></i> | |
| 169 | + <i class="eicon-help-o"></i> | |
| 179 | 170 | </a> |
| 180 | 171 | </div> |
| 181 | 172 | <# } #> |
| 182 | - | |
| 183 | - <# if ( elementData.upsale_data && elementData.upsale_data.condition ) { #> | |
| 184 | - <div class="elementor-nerd-box elementor-nerd-box--upsale"> | |
| 185 | - <# if ( elementData.upsale_data.image ) { #> | |
| 186 | - <img class="elementor-nerd-box-icon" src="{{ elementData.upsale_data.image }}" loading="lazy" alt="{{ elementData.upsale_data.image_alt }}" /> | |
| 187 | - <# } #> | |
| 188 | - <# if ( elementData.upsale_data.title ) { #> | |
| 189 | - <div class="elementor-nerd-box-title">{{{ elementData.upsale_data.title }}}</div> | |
| 190 | - <# } #> | |
| 191 | - <# if ( elementData.upsale_data.description ) { #> | |
| 192 | - <div class="elementor-nerd-box-message">{{{ elementData.upsale_data.description }}}</div> | |
| 193 | - <# } #> | |
| 194 | - <# if ( elementData.upsale_data.upgrade_url && elementData.upsale_data.upgrade_text ) { #> | |
| 195 | - <a class="elementor-button go-pro" href="{{ elementData.upsale_data.upgrade_url }}" target="_blank">{{{ elementData.upsale_data.upgrade_text }}}</a> | |
| 196 | - <# } #> | |
| 197 | - </div> | |
| 198 | - <# } #> | |
| 199 | 173 | </script> |
| 200 | 174 | |
| 201 | 175 | <script type="text/template" id="tmpl-elementor-panel-schemes-disabled"> |
| 202 | - <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' ); ?>" /> | |
| 203 | - <div class="elementor-nerd-box-title">{{{ '<?php echo esc_html__( '%s are disabled', 'elementor' ); // phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment ?>'.replace( '%s', disabledTitle ) }}}</div> | |
| 204 | - <div class="elementor-nerd-box-message"><?php | |
| 205 | - printf( | |
| 206 | - /* translators: %1$s Link open tag, %2$s: Link close tag. */ | |
| 207 | - esc_html__( 'You can enable it from the %1$sElementor settings page%2$s.', 'elementor' ), | |
| 208 | - '<a href="' . esc_url( Settings::get_url() ) . '" target="_blank">', | |
| 209 | - '</a>' | |
| 210 | - ); | |
| 211 | - ?></div> | |
| 176 | + <img class="elementor-nerd-box-icon" src="<?php Utils::print_unescaped_internal_string( ELEMENTOR_ASSETS_URL . 'images/information.svg' ); ?>" /> | |
| 177 | + <div class="elementor-nerd-box-title">{{{ '<?php echo esc_html__( '%s are disabled', 'elementor' ); ?>'.replace( '%s', disabledTitle ) }}}</div> | |
| 178 | + <div class="elementor-nerd-box-message"><?php printf( esc_html__( 'You can enable it from the <a href="%s" target="_blank">Elementor settings page</a>.', 'elementor' ), esc_url( Settings::get_url() ) ); ?></div> | |
| 212 | 179 | </script> |
| 213 | 180 | |
| 214 | 181 | <script type="text/template" id="tmpl-elementor-panel-scheme-color-item"> |
| 215 | 182 | <div class="elementor-panel-scheme-color-picker-placeholder"></div> |
| @@ -218,9 +185,9 @@ | ||
| 218 | 185 | |
| 219 | 186 | <script type="text/template" id="tmpl-elementor-panel-scheme-typography-item"> |
| 220 | 187 | <div class="elementor-panel-heading"> |
| 221 | 188 | <div class="elementor-panel-heading-toggle"> |
| 222 | - <i class="eicon-caret-right" aria-hidden="true"></i> | |
| 189 | + <i class="eicon" aria-hidden="true"></i> | |
| 223 | 190 | </div> |
| 224 | 191 | <div class="elementor-panel-heading-title">{{{ title }}}</div> |
| 225 | 192 | </div> |
| 226 | 193 | <div class="elementor-panel-scheme-typography-items elementor-panel-box-content"> |
| @@ -267,10 +234,17 @@ | ||
| 267 | 234 | <div class="elementor-control-responsive-switchers"> |
| 268 | 235 | <div class="elementor-control-responsive-switchers__holder"> |
| 269 | 236 | <# |
| 270 | 237 | const activeBreakpoints = elementor.config.responsive.activeBreakpoints, |
| 271 | - devicesForDisplay = elementor.breakpoints.getActiveBreakpointsList( { largeToSmall: true, withDesktop: true } ); | |
| 238 | + devicesForDisplay = Object.keys( activeBreakpoints ).reverse(); | |
| 272 | 239 | |
| 240 | + // Insert the 'desktop' device in the correct position. | |
| 241 | + if ( -1 !== devicesForDisplay.indexOf( 'widescreen' ) ) { | |
| 242 | + devicesForDisplay.splice( 1, 0, 'desktop' ); | |
| 243 | + } else { | |
| 244 | + devicesForDisplay.unshift( 'desktop' ); | |
| 245 | + } | |
| 246 | + | |
| 273 | 247 | var devices = responsive.devices || devicesForDisplay; |
| 274 | 248 | |
| 275 | 249 | _.each( devices, function( device ) { |
| 276 | 250 | // The 'Desktop' label is made accessible via the global config because it needs to be translated. |
| @@ -276,11 +250,11 @@ | ||
| 276 | 250 | // The 'Desktop' label is made accessible via the global config because it needs to be translated. |
| 277 | 251 | var deviceLabel = 'desktop' === device ? '<?php esc_html_e( 'Desktop', 'elementor' ); ?>' : activeBreakpoints[ device ].label, |
| 278 | 252 | tooltipDir = "<?php echo is_rtl() ? 'e' : 'w'; ?>"; |
| 279 | 253 | #> |
| 280 | - <button class="elementor-responsive-switcher tooltip-target elementor-responsive-switcher-{{ device }}" data-device="{{ device }}" data-tooltip="{{ deviceLabel }}" data-tooltip-pos="{{ tooltipDir }}" aria-label="{{ deviceLabel }}"> | |
| 281 | - <i class="{{ elementor.config.responsive.icons_map[ device ] }}" aria-hidden="true"></i> | |
| 282 | - </button> | |
| 254 | + <a class="elementor-responsive-switcher tooltip-target elementor-responsive-switcher-{{ device }}" data-device="{{ device }}" data-tooltip="{{ deviceLabel }}" data-tooltip-pos="{{ tooltipDir }}"> | |
| 255 | + <i class="{{ elementor.config.responsive.icons_map[ device ] }}"></i> | |
| 256 | + </a> | |
| 283 | 257 | <# } ); |
| 284 | 258 | #> |
| 285 | 259 | </div> |
| 286 | 260 | </div> |
| @@ -286,17 +260,16 @@ | ||
| 286 | 260 | </div> |
| 287 | 261 | </script> |
| 288 | 262 | |
| 289 | 263 | <script type="text/template" id="tmpl-elementor-control-dynamic-switcher"> |
| 290 | - <button class="elementor-control-dynamic-switcher elementor-control-unit-1" data-tooltip="<?php echo esc_attr__( 'Dynamic Tags', 'elementor' ); ?>" aria-label="<?php echo esc_attr__( 'Dynamic Tags', 'elementor' ); ?>"> | |
| 291 | - <i class="eicon-database" aria-hidden="true"></i> | |
| 292 | - </button> | |
| 264 | + <div class="elementor-control-dynamic-switcher elementor-control-unit-1" data-tooltip="<?php echo esc_html__( 'Dynamic Tags', 'elementor' ); ?>"> | |
| 265 | + <i class="eicon-database"></i> | |
| 266 | + </div> | |
| 293 | 267 | </script> |
| 294 | - | |
| 295 | 268 | <script type="text/template" id="tmpl-elementor-control-element-color-picker"> |
| 296 | - <button class="elementor-control-element-color-picker e-control-tool" data-tooltip="<?php echo esc_attr__( 'Color Sampler', 'elementor' ); ?>" aria-label="<?php echo esc_attr__( 'Color Sampler', 'elementor' ); ?>"> | |
| 297 | - <i class="eicon-eyedropper" aria-hidden="true"></i> | |
| 298 | - </button> | |
| 269 | + <div class="elementor-control-element-color-picker e-control-tool" data-tooltip="<?php echo esc_attr__( 'Color Sampler', 'elementor' ); ?>"> | |
| 270 | + <i class="eicon-eyedropper"></i> | |
| 271 | + </div> | |
| 299 | 272 | </script> |
| 300 | 273 | |
| 301 | 274 | <script type="text/template" id="tmpl-elementor-control-dynamic-cover"> |
| 302 | 275 | <div class="elementor-dynamic-cover__settings"> |
| @@ -317,10 +290,10 @@ | ||
| 317 | 290 | </div> |
| 318 | 291 | <div class="elementor-tags-list__teaser-text"> |
| 319 | 292 | <?php echo esc_html__( 'You’re missing out!', 'elementor' ); ?><br /> |
| 320 | 293 | <?php echo esc_html__( 'Get more dynamic capabilities by incorporating dozens of Elementor\'s native dynamic tags.', 'elementor' ); ?> |
| 321 | - <a href="{{{ promotionUrl }}}" class="elementor-tags-list__teaser-link" target="_blank"> | |
| 322 | - <?php echo esc_html__( 'Upgrade', 'elementor' ); ?> | |
| 294 | + <a href="{{{ elementor.config.dynamicPromotionURL }}}" class="elementor-tags-list__teaser-link" target="_blank"> | |
| 295 | + <?php echo esc_html__( 'See it in action', 'elementor' ); ?> | |
| 323 | 296 | </a> |
| 324 | 297 | </div> |
| 325 | 298 | </div> |
| 326 | 299 | </script> |