| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; // Exit if accessed directly. |
| 4 |
} |
| 5 |
|
| 6 |
?> |
| 7 |
<script type="text/template" id="tmpl-elementor-panel-history-page"> |
| 8 |
<div id="elementor-panel-elements-navigation" class="elementor-panel-navigation"> |
| 9 |
<button class="elementor-component-tab elementor-panel-navigation-tab" data-tab="actions"><?php echo esc_html__( 'Actions', 'elementor' ); ?></button> |
| 10 |
<button class="elementor-component-tab elementor-panel-navigation-tab" data-tab="revisions"><?php echo esc_html__( 'Revisions', 'elementor' ); ?></button> |
| 11 |
</div> |
| 12 |
<div id="elementor-panel-history-content"></div> |
| 13 |
</script> |
| 14 |
|
| 15 |
<script type="text/template" id="tmpl-elementor-panel-history-tab"> |
| 16 |
<div id="elementor-history-list"></div> |
| 17 |
<div class="elementor-history-revisions-message"><?php echo esc_html__( 'Switch to Revisions tab for older versions', 'elementor' ); ?></div> |
| 18 |
</script> |
| 19 |
|
| 20 |
<script type="text/template" id="tmpl-elementor-panel-history-no-items"> |
| 21 |
<img class="elementor-nerd-box-icon" src="<?php |
| 22 |
// PHPCS - Safe Elementor SVG |
| 23 |
echo ELEMENTOR_ASSETS_URL . 'images/information.svg'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" loading="lazy" alt="<?php echo esc_attr__( 'Elementor', 'elementor' ); ?>" /> |
| 24 |
<div class="elementor-nerd-box-title"><?php echo esc_html__( 'No History Yet', 'elementor' ); ?></div> |
| 25 |
<div class="elementor-nerd-box-message"><?php echo esc_html__( 'Once you start working, you\'ll be able to redo / undo any action you make in the editor.', 'elementor' ); ?></div> |
| 26 |
</script> |
| 27 |
|
| 28 |
<script type="text/template" id="tmpl-elementor-panel-history-item"> |
| 29 |
<div class="elementor-history-item__details"> |
| 30 |
<span class="elementor-history-item__title">{{{ title }}}</span> |
| 31 |
<span class="elementor-history-item__subtitle">{{{ subTitle }}}</span> |
| 32 |
<span class="elementor-history-item__action">{{{ action }}}</span> |
| 33 |
</div> |
| 34 |
<div class="elementor-history-item__icon"> |
| 35 |
<span class="eicon" aria-hidden="true"></span> |
| 36 |
</div> |
| 37 |
</script> |
| 38 |
|