first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
global $wp_version;
$body_classes = [
'elementor-editor-active',
'wp-version-' . str_replace( '.', '-', $wp_version ),
];
if ( is_rtl() ) {
$body_classes[] = 'rtl';
}
if ( ! Plugin::$instance->role_manager->user_can( 'design' ) ) {
$body_classes[] = 'elementor-editor-content-only';
}
$notice = Plugin::$instance->editor->notice_bar->get_notice();
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><?php echo esc_html__( 'Elementor', 'elementor' ) . ' | ' . esc_html( get_the_title() ); ?></title>
<?php wp_head(); ?>
<script>
var ajaxurl = '<?php Utils::print_unescaped_internal_string( admin_url( 'admin-ajax.php', 'relative' ) ); ?>';
</script>
</head>
<body class="<?php echo esc_attr( implode( ' ', $body_classes ) ); ?>">
<div id="elementor-editor-wrapper">
<div id="elementor-panel" class="elementor-panel"></div>
<div id="elementor-preview">
<div id="elementor-loading">
<div class="elementor-loader-wrapper">
<div class="elementor-loader">
<div class="elementor-loader-boxes">
<div class="elementor-loader-box"></div>
<div class="elementor-loader-box"></div>
<div class="elementor-loader-box"></div>
<div class="elementor-loader-box"></div>
</div>
</div>
<div class="elementor-loading-title"><?php echo esc_html__( 'Loading', 'elementor' ); ?></div>
</div>
</div>
<div id="elementor-responsive-bar"></div>
<div id="elementor-preview-responsive-wrapper" class="elementor-device-desktop elementor-device-rotate-portrait">
<div id="elementor-preview-loading">
<i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i>
</div>
<?php if ( $notice ) { ?>
<div id="elementor-notice-bar">
<i class="eicon-elementor-square"></i>
<div id="elementor-notice-bar__message"><?php Utils::print_unescaped_internal_string( sprintf( $notice['message'], $notice['action_url'] ) ); ?></div>
<div id="elementor-notice-bar__action"><a href="<?php Utils::print_unescaped_internal_string( $notice['action_url'] ); ?>" target="_blank"><?php Utils::print_unescaped_internal_string( $notice['action_title'] ); ?></a></div>
<i id="elementor-notice-bar__close" class="eicon-close"></i>
</div>
<?php } // IFrame will be created here by the Javascript later. ?>
</div>
</div>
<div id="elementor-navigator"></div>
</div>
<?php
wp_footer();
/** This action is documented in wp-admin/admin-footer.php */
do_action( 'admin_print_footer_scripts' );
?>
</body>
</html>

View File

@@ -0,0 +1,49 @@
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<script type="text/template" id="tmpl-elementor-empty-preview">
<div class="elementor-first-add">
<div class="elementor-icon eicon-plus"></div>
</div>
</script>
<script type="text/template" id="tmpl-elementor-add-section">
<div class="elementor-add-section-inner">
<div class="elementor-add-section-close">
<i class="eicon-close" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Close', 'elementor' ); ?></span>
</div>
<div class="elementor-add-new-section">
<div class="elementor-add-section-area-button elementor-add-section-button" title="<?php echo esc_html__( 'Add New Section', 'elementor' ); ?>">
<i class="eicon-plus"></i>
</div>
<div class="elementor-add-section-area-button elementor-add-template-button" title="<?php echo esc_html__( 'Add Template', 'elementor' ); ?>">
<i class="eicon-folder"></i>
</div>
<div class="elementor-add-section-drag-title"><?php echo esc_html__( 'Drag widget here', 'elementor' ); ?></div>
</div>
<div class="elementor-select-preset">
<div class="elementor-select-preset-title"><?php echo esc_html__( 'Select your Structure', 'elementor' ); ?></div>
<ul class="elementor-select-preset-list">
<#
var structures = [ 10, 20, 30, 40, 21, 22, 31, 32, 33, 50, 60, 34 ];
_.each( structures, function( structure ) {
var preset = elementor.presetsFactory.getPresetByStructure( structure ); #>
<li class="elementor-preset elementor-column elementor-col-16" data-structure="{{ structure }}">
{{{ elementor.presetsFactory.getPresetSVG( preset.preset ).outerHTML }}}
</li>
<# } ); #>
</ul>
</div>
</div>
</script>
<script type="text/template" id="tmpl-elementor-tag-controls-stack-empty">
<?php echo esc_html__( 'This tag has no settings.', 'elementor' ); ?>
</script>

View File

@@ -0,0 +1,159 @@
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<script type="text/template" id="tmpl-elementor-hotkeys">
<# var ctrlLabel = environment.mac ? 'Cmd' : 'Ctrl'; #>
<div id="elementor-hotkeys__content">
<div id="elementor-hotkeys__actions" class="elementor-hotkeys__col">
<div class="elementor-hotkeys__header">
<h3><?php echo esc_html__( 'Actions', 'elementor' ); ?></h3>
</div>
<div class="elementor-hotkeys__list">
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Undo', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>Z</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Redo', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>Shift</span>
<span>Z</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Copy', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>C</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Paste', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>V</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Paste Style', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>Shift</span>
<span>V</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Delete', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>Delete</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Duplicate', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>D</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Save', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>S</span>
</div>
</div>
</div>
</div>
<div id="elementor-hotkeys__navigation" class="elementor-hotkeys__col">
<div class="elementor-hotkeys__header">
<h3><?php echo esc_html__( 'Go To', 'elementor' ); ?></h3>
</div>
<div class="elementor-hotkeys__list">
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Finder', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>E</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Show / Hide Panel', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>P</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Responsive Mode', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>Shift</span>
<span>M</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'History', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>Shift</span>
<span>H</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Navigator', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>I</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Template Library', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>{{{ ctrlLabel }}}</span>
<span>Shift</span>
<span>L</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Keyboard Shortcuts', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>Shift</span>
<span>?</span>
</div>
</div>
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo esc_html__( 'Quit', 'elementor' ); ?></div>
<div class="elementor-hotkeys__item--shortcut">
<span>Esc</span>
</div>
</div>
</div>
</div>
</div>
</script>

View File

@@ -0,0 +1,28 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<script type="text/template" id="tmpl-elementor-templates-modal__header">
<div class="elementor-templates-modal__header__logo-area"></div>
<div class="elementor-templates-modal__header__menu-area"></div>
<div class="elementor-templates-modal__header__items-area">
<# if ( closeType ) { #>
<div class="elementor-templates-modal__header__close elementor-templates-modal__header__close--{{{ closeType }}} elementor-templates-modal__header__item">
<# if ( 'skip' === closeType ) { #>
<span><?php echo esc_html__( 'Skip', 'elementor' ); ?></span>
<# } #>
<i class="eicon-close" aria-hidden="true" title="<?php echo esc_html__( 'Close', 'elementor' ); ?>"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Close', 'elementor' ); ?></span>
</div>
<# } #>
<div id="elementor-template-library-header-tools"></div>
</div>
</script>
<script type="text/template" id="tmpl-elementor-templates-modal__header__logo">
<span class="elementor-templates-modal__header__logo__icon-wrapper e-logo-wrapper">
<i class="eicon-elementor"></i>
</span>
<span class="elementor-templates-modal__header__logo__title">{{{ title }}}</span>
</script>

View File

@@ -0,0 +1,53 @@
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<script type="text/template" id="tmpl-elementor-navigator">
<div id="elementor-navigator__header">
<i id="elementor-navigator__toggle-all" class="eicon-expand" data-elementor-action="expand"></i>
<div id="elementor-navigator__header__title"><?php echo esc_html__( 'Navigator', 'elementor' ); ?></div>
<i id="elementor-navigator__close" class="eicon-close"></i>
</div>
<div id="elementor-navigator__elements"></div>
<div id="elementor-navigator__footer">
<i class="eicon-ellipsis-h"></i>
</div>
</script>
<script type="text/template" id="tmpl-elementor-navigator__elements">
<# if ( obj.elType ) { #>
<div class="elementor-navigator__item">
<div class="elementor-navigator__element__list-toggle">
<i class="eicon-sort-down"></i>
</div>
<#
if ( icon ) { #>
<div class="elementor-navigator__element__element-type">
<i class="{{{ icon }}}"></i>
</div>
<# } #>
<div class="elementor-navigator__element__title">
<span class="elementor-navigator__element__title__text">{{{ title }}}</span>
</div>
<div class="elementor-navigator__element__toggle">
<i class="eicon-preview-medium"></i>
</div>
<div class="elementor-navigator__element__indicators"></div>
</div>
<# } #>
<div class="elementor-navigator__elements"></div>
</script>
<script type="text/template" id="tmpl-elementor-navigator__elements--empty">
<div class="elementor-empty-view__title"><?php echo esc_html__( 'Empty', 'elementor' ); ?></div>
</script>
<script type="text/template" id="tmpl-elementor-navigator__root--empty">
<img class="elementor-nerd-box-icon" src="<?php echo ELEMENTOR_ASSETS_URL . 'images/information.svg'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" />
<div class="elementor-nerd-box-title"><?php echo esc_html__( 'Easy Navigation is Here!', 'elementor' ); ?></div>
<div class="elementor-nerd-box-message"><?php echo esc_html__( 'Once you fill your page with content, this window will give you an overview display of all the page elements. This way, you can easily move around any section, column, or widget.', 'elementor' ); ?></div>
</script>

View File

@@ -0,0 +1,65 @@
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<script type="text/template" id="tmpl-elementor-panel-elements">
<div id="elementor-panel-elements-navigation" class="elementor-panel-navigation">
<div class="elementor-component-tab elementor-panel-navigation-tab" data-tab="categories"><?php echo esc_html__( 'Elements', 'elementor' ); ?></div>
<div class="elementor-component-tab elementor-panel-navigation-tab" data-tab="global"><?php echo esc_html__( 'Global', 'elementor' ); ?></div>
</div>
<div id="elementor-panel-elements-search-area"></div>
<div id="elementor-panel-elements-wrapper"></div>
</script>
<script type="text/template" id="tmpl-elementor-panel-categories">
<div id="elementor-panel-categories"></div>
<div id="elementor-panel-get-pro-elements" class="elementor-nerd-box">
<img class="elementor-nerd-box-icon" src="<?php echo ELEMENTOR_ASSETS_URL . 'images/go-pro.svg'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" />
<div class="elementor-nerd-box-message"><?php echo esc_html__( 'Get more with Elementor Pro', 'elementor' ); ?></div>
<a class="elementor-button elementor-button-default elementor-nerd-box-link" target="_blank" href="<?php echo Utils::get_pro_link( 'https://elementor.com/pro/?utm_source=panel-widgets&utm_campaign=gopro&utm_medium=wp-dash' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>"><?php echo esc_html__( 'Go Pro', 'elementor' ); ?></a>
</div>
</script>
<script type="text/template" id="tmpl-elementor-panel-elements-category">
<div class="elementor-panel-category-title">{{{ title }}}</div>
<div class="elementor-panel-category-items elementor-responsive-panel"></div>
</script>
<script type="text/template" id="tmpl-elementor-panel-elements-category-empty">
<div class="elementor-panel-category-items-empty elementor-panel-alert elementor-panel-alert-info">
<?php echo esc_html__( 'For easy access, favorite the widgets you use most often by right clicking > Add to Favorites.', 'elementor' ); ?>
</div>
</script>
<script type="text/template" id="tmpl-elementor-panel-element-search">
<label for="elementor-panel-elements-search-input" class="screen-reader-text"><?php echo esc_html__( 'Search Widget:', 'elementor' ); ?></label>
<input type="search" id="elementor-panel-elements-search-input" placeholder="<?php esc_attr_e( 'Search Widget...', 'elementor' ); ?>" autocomplete="off"/>
<i class="eicon-search-bold" aria-hidden="true"></i>
</script>
<script type="text/template" id="tmpl-elementor-element-library-element">
<div class="elementor-element">
<# if ( false === obj.editable ) { #>
<i class="eicon-lock"></i>
<# } #>
<div class="icon">
<i class="{{ icon }}" aria-hidden="true"></i>
</div>
<div class="elementor-element-title-wrapper">
<div class="title">{{{ title }}}</div>
</div>
</div>
</script>
<script type="text/template" id="tmpl-elementor-panel-global">
<div class="elementor-nerd-box">
<img class="elementor-nerd-box-icon" src="<?php echo ELEMENTOR_ASSETS_URL . 'images/information.svg'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" />
<div class="elementor-nerd-box-title"><?php echo esc_html__( 'Meet Our Global Widget', 'elementor' ); ?></div>
<div class="elementor-nerd-box-message"><?php echo esc_html__( 'With this feature, you can save a widget as global, then add it to multiple areas. All areas will be editable from one single place.', 'elementor' ); ?></div>
<a class="elementor-button elementor-button-default elementor-nerd-box-link" target="_blank" href="<?php echo Utils::get_pro_link( 'https://elementor.com/pro/?utm_source=panel-global&utm_campaign=gopro&utm_medium=wp-dash' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>"><?php echo esc_html__( 'Go Pro', 'elementor' ); ?></a>
</div>
</script>

View File

@@ -0,0 +1,290 @@
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
$document = Plugin::$instance->documents->get( Plugin::$instance->editor->get_post_id() );
?>
<script type="text/template" id="tmpl-elementor-panel">
<div id="elementor-mode-switcher"></div>
<div id="elementor-panel-state-loading">
<i class="eicon-loading eicon-animation-spin"></i>
</div>
<header id="elementor-panel-header-wrapper"></header>
<main id="elementor-panel-content-wrapper"></main>
<footer id="elementor-panel-footer">
<div class="elementor-panel-container"></div>
</footer>
</script>
<script type="text/template" id="tmpl-elementor-panel-menu">
<div id="elementor-panel-page-menu-content"></div>
<# if ( elementor.config.document.panel.needHelpUrl ) { #>
<div id="elementor-panel__editor__help">
<a id="elementor-panel__editor__help__link" href="{{{ elementor.config.document.panel.needHelpUrl }}}" target="_blank">
<?php echo esc_html__( 'Need Help', 'elementor' ); ?>
<i class="eicon-help-o"></i>
</a>
</div>
<# } #>
</script>
<script type="text/template" id="tmpl-elementor-panel-menu-group">
<div class="elementor-panel-menu-group-title">{{{ title }}}</div>
<div class="elementor-panel-menu-items"></div>
</script>
<script type="text/template" id="tmpl-elementor-panel-menu-item">
<div class="elementor-panel-menu-item-icon">
<i class="{{ icon }}"></i>
</div>
<# if ( 'undefined' === typeof type || 'link' !== type ) { #>
<div class="elementor-panel-menu-item-title">{{{ title }}}</div>
<# } else {
let target = ( 'undefined' !== typeof newTab && newTab ) ? '_blank' : '_self';
#>
<a href="{{ link }}" target="{{ target }}"><div class="elementor-panel-menu-item-title">{{{ title }}}</div></a>
<# } #>
</script>
<script type="text/template" id="tmpl-elementor-panel-header">
<div id="elementor-panel-header-menu-button" class="elementor-header-button">
<i class="elementor-icon eicon-menu-bar tooltip-target" aria-hidden="true" data-tooltip="<?php esc_attr_e( 'Menu', 'elementor' ); ?>"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Menu', 'elementor' ); ?></span>
</div>
<div id="elementor-panel-header-title"></div>
<div id="elementor-panel-header-add-button" class="elementor-header-button">
<i class="elementor-icon eicon-apps tooltip-target" aria-hidden="true" data-tooltip="<?php esc_attr_e( 'Widgets Panel', 'elementor' ); ?>"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Widgets Panel', 'elementor' ); ?></span>
</div>
</script>
<script type="text/template" id="tmpl-elementor-panel-footer-content">
<div id="elementor-panel-footer-settings" class="elementor-panel-footer-tool elementor-leave-open tooltip-target" data-tooltip="<?php esc_attr_e( 'Settings', 'elementor' ); ?>">
<i class="eicon-cog" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php printf( esc_html__( '%s Settings', 'elementor' ), esc_html( $document::get_title() ) ); ?></span>
</div>
<div id="elementor-panel-footer-navigator" class="elementor-panel-footer-tool tooltip-target" data-tooltip="<?php esc_attr_e( 'Navigator', 'elementor' ); ?>">
<i class="eicon-navigator" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Navigator', 'elementor' ); ?></span>
</div>
<div id="elementor-panel-footer-history" class="elementor-panel-footer-tool elementor-leave-open tooltip-target" data-tooltip="<?php esc_attr_e( 'History', 'elementor' ); ?>">
<i class="eicon-history" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'History', 'elementor' ); ?></span>
</div>
<div id="elementor-panel-footer-responsive" class="elementor-panel-footer-tool elementor-toggle-state">
<i class="eicon-device-responsive tooltip-target" aria-hidden="true" data-tooltip="<?php esc_attr_e( 'Responsive Mode', 'elementor' ); ?>"></i>
<span class="elementor-screen-only">
<?php echo esc_html__( 'Responsive Mode', 'elementor' ); ?>
</span>
</div>
<div id="elementor-panel-footer-saver-preview" class="elementor-panel-footer-tool tooltip-target" data-tooltip="<?php esc_attr_e( 'Preview Changes', 'elementor' ); ?>">
<span id="elementor-panel-footer-saver-preview-label">
<i class="eicon-preview-medium" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Preview Changes', 'elementor' ); ?></span>
</span>
</div>
<div id="elementor-panel-footer-saver-publish" class="elementor-panel-footer-tool">
<button id="elementor-panel-saver-button-publish" class="elementor-button elementor-button-success elementor-disabled">
<span class="elementor-state-icon">
<i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i>
</span>
<span id="elementor-panel-saver-button-publish-label">
<?php echo esc_html__( 'Publish', 'elementor' ); ?>
</span>
</button>
</div>
<div id="elementor-panel-footer-saver-options" class="elementor-panel-footer-tool elementor-toggle-state">
<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">
<i class="eicon-caret-up" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Save Options', 'elementor' ); ?></span>
</button>
<div class="elementor-panel-footer-sub-menu-wrapper">
<p class="elementor-last-edited-wrapper">
<span class="elementor-state-icon">
<i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i>
</span>
<span class="elementor-last-edited">
</span>
</p>
<div class="elementor-panel-footer-sub-menu">
<div id="elementor-panel-footer-sub-menu-item-save-draft" class="elementor-panel-footer-sub-menu-item elementor-disabled">
<i class="elementor-icon eicon-save" aria-hidden="true"></i>
<span class="elementor-title"><?php echo esc_html__( 'Save Draft', 'elementor' ); ?></span>
</div>
<div id="elementor-panel-footer-sub-menu-item-save-template" class="elementor-panel-footer-sub-menu-item">
<i class="elementor-icon eicon-folder" aria-hidden="true"></i>
<span class="elementor-title"><?php echo esc_html__( 'Save as Template', 'elementor' ); ?></span>
</div>
</div>
</div>
</div>
</script>
<script type="text/template" id="tmpl-elementor-mode-switcher-content">
<input id="elementor-mode-switcher-preview-input" type="checkbox">
<label for="elementor-mode-switcher-preview-input" id="elementor-mode-switcher-preview">
<i class="eicon" aria-hidden="true" title="<?php esc_attr_e( 'Hide Panel', 'elementor' ); ?>"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Hide Panel', 'elementor' ); ?></span>
</label>
</script>
<script type="text/template" id="tmpl-editor-content">
<div class="elementor-panel-navigation">
<# _.each( elementData.tabs_controls, function( tabTitle, tabSlug ) {
if ( 'content' !== tabSlug && ! elementor.userCan( 'design' ) ) {
return;
}
$e.bc.ensureTab( 'panel/editor', tabSlug );
#>
<div class="elementor-component-tab elementor-panel-navigation-tab elementor-tab-control-{{ tabSlug }}" data-tab="{{ tabSlug }}">
<a href="#">{{{ tabTitle }}}</a>
</div>
<# } ); #>
</div>
<# if ( elementData.reload_preview ) { #>
<div class="elementor-update-preview">
<div class="elementor-update-preview-title"><?php echo esc_html__( 'Update changes to page', 'elementor' ); ?></div>
<div class="elementor-update-preview-button-wrapper">
<button class="elementor-update-preview-button elementor-button elementor-button-success"><?php echo esc_html__( 'Apply', 'elementor' ); ?></button>
</div>
</div>
<# } #>
<div id="elementor-controls"></div>
<# if ( elementData.help_url ) { #>
<div id="elementor-panel__editor__help">
<a id="elementor-panel__editor__help__link" href="{{ elementData.help_url }}" target="_blank">
<?php echo esc_html__( 'Need Help', 'elementor' ); ?>
<i class="eicon-help-o"></i>
</a>
</div>
<# } #>
</script>
<script type="text/template" id="tmpl-elementor-panel-schemes-disabled">
<img class="elementor-nerd-box-icon" src="<?php Utils::print_unescaped_internal_string( ELEMENTOR_ASSETS_URL . 'images/information.svg' ); ?>" />
<div class="elementor-nerd-box-title">{{{ '<?php echo esc_html__( '%s are disabled', 'elementor' ); // phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment ?>'.replace( '%s', disabledTitle ) }}}</div>
<div class="elementor-nerd-box-message"><?php
printf(
/* translators: %1$s Link open tag, %2$s: Link close tag. */
esc_html__( 'You can enable it from the %1$sElementor settings page%2$s.', 'elementor' ),
'<a href="' . esc_url( Settings::get_url() ) . '" target="_blank">',
'</a>'
);
?></div>
</script>
<script type="text/template" id="tmpl-elementor-panel-scheme-color-item">
<div class="elementor-panel-scheme-color-picker-placeholder"></div>
<div class="elementor-panel-scheme-color-title">{{{ title }}}</div>
</script>
<script type="text/template" id="tmpl-elementor-panel-scheme-typography-item">
<div class="elementor-panel-heading">
<div class="elementor-panel-heading-toggle">
<i class="eicon" aria-hidden="true"></i>
</div>
<div class="elementor-panel-heading-title">{{{ title }}}</div>
</div>
<div class="elementor-panel-scheme-typography-items elementor-panel-box-content">
<?php
$scheme_fields_keys = Group_Control_Typography::get_scheme_fields_keys();
$typography_group = Plugin::$instance->controls_manager->get_control_groups( 'typography' );
$typography_fields = $typography_group->get_fields();
$scheme_fields = array_intersect_key( $typography_fields, array_flip( $scheme_fields_keys ) );
foreach ( $scheme_fields as $option_name => $option ) :
?>
<div class="elementor-panel-scheme-typography-item elementor-control elementor-control-type-select">
<div class="elementor-panel-scheme-item-title elementor-control-title"><?php echo esc_html( $option['label'] ); ?></div>
<div class="elementor-panel-scheme-typography-item-value elementor-control-input-wrapper">
<?php if ( 'select' === $option['type'] ) : ?>
<select name="<?php echo esc_attr( $option_name ); ?>" class="elementor-panel-scheme-typography-item-field">
<?php foreach ( $option['options'] as $field_key => $field_value ) : ?>
<option value="<?php echo esc_attr( $field_key ); ?>"><?php echo esc_html( $field_value ); ?></option>
<?php endforeach; ?>
</select>
<?php elseif ( 'font' === $option['type'] ) : ?>
<select name="<?php echo esc_attr( $option_name ); ?>" class="elementor-panel-scheme-typography-item-field">
<option value=""><?php echo esc_html__( 'Default', 'elementor' ); ?></option>
<?php foreach ( Fonts::get_font_groups() as $group_type => $group_label ) : ?>
<optgroup label="<?php echo esc_attr( $group_label ); ?>">
<?php foreach ( Fonts::get_fonts_by_groups( [ $group_type ] ) as $font_title => $font_type ) : ?>
<option value="<?php echo esc_attr( $font_title ); ?>"><?php echo esc_html( $font_title ); ?></option>
<?php endforeach; ?>
</optgroup>
<?php endforeach; ?>
</select>
<?php elseif ( 'text' === $option['type'] ) : ?>
<input name="<?php echo esc_attr( $option_name ); ?>" class="elementor-panel-scheme-typography-item-field" />
<?php endif; ?>
</div>
</div>
<?php endforeach; ?>
</div>
</script>
<script type="text/template" id="tmpl-elementor-control-responsive-switchers">
<div class="elementor-control-responsive-switchers">
<div class="elementor-control-responsive-switchers__holder">
<#
const activeBreakpoints = elementor.config.responsive.activeBreakpoints,
devicesForDisplay = elementor.breakpoints.getActiveBreakpointsList( { largeToSmall: true, withDesktop: true } );
var devices = responsive.devices || devicesForDisplay;
_.each( devices, function( device ) {
// The 'Desktop' label is made accessible via the global config because it needs to be translated.
var deviceLabel = 'desktop' === device ? '<?php esc_html_e( 'Desktop', 'elementor' ); ?>' : activeBreakpoints[ device ].label,
tooltipDir = "<?php echo is_rtl() ? 'e' : 'w'; ?>";
#>
<a class="elementor-responsive-switcher tooltip-target elementor-responsive-switcher-{{ device }}" data-device="{{ device }}" data-tooltip="{{ deviceLabel }}" data-tooltip-pos="{{ tooltipDir }}">
<i class="{{ elementor.config.responsive.icons_map[ device ] }}"></i>
</a>
<# } );
#>
</div>
</div>
</script>
<script type="text/template" id="tmpl-elementor-control-dynamic-switcher">
<div class="elementor-control-dynamic-switcher elementor-control-unit-1" data-tooltip="<?php echo esc_html__( 'Dynamic Tags', 'elementor' ); ?>">
<i class="eicon-database"></i>
</div>
</script>
<script type="text/template" id="tmpl-elementor-control-element-color-picker">
<div class="elementor-control-element-color-picker e-control-tool" data-tooltip="<?php echo esc_attr__( 'Color Sampler', 'elementor' ); ?>">
<i class="eicon-eyedropper"></i>
</div>
</script>
<script type="text/template" id="tmpl-elementor-control-dynamic-cover">
<div class="elementor-dynamic-cover__settings">
<i class="eicon-{{ hasSettings ? 'wrench' : 'database' }}"></i>
</div>
<div class="elementor-dynamic-cover__title" title="{{{ title + ' ' + content }}}">{{{ title + ' ' + content }}}</div>
<# if ( isRemovable ) { #>
<div class="elementor-dynamic-cover__remove">
<i class="eicon-close-circle"></i>
</div>
<# } #>
</script>
<script type="text/template" id="tmpl-elementor-dynamic-tags-promo">
<div class="elementor-tags-list__teaser">
<div class="elementor-tags-list__group-title elementor-tags-list__teaser-title">
<i class="eicon-info-circle"></i><?php echo esc_html__( 'Elementor Dynamic Content', 'elementor' ); ?>
</div>
<div class="elementor-tags-list__teaser-text">
<?php echo esc_html__( 'Youre missing out!', 'elementor' ); ?><br />
<?php echo esc_html__( 'Get more dynamic capabilities by incorporating dozens of Elementor\'s native dynamic tags.', 'elementor' ); ?>
<a href="{{{ promotionUrl }}}" class="elementor-tags-list__teaser-link" target="_blank">
<?php echo esc_html__( 'See it in action', 'elementor' ); ?>
</a>
</div>
</div>
</script>

View File

@@ -0,0 +1,32 @@
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<script type="text/template" id="tmpl-elementor-repeater-row">
<div class="elementor-repeater-row-tools">
<# if ( itemActions.drag_n_drop ) { #>
<div class="elementor-repeater-row-handle-sortable">
<i class="eicon-ellipsis-v" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Drag & Drop', 'elementor' ); ?></span>
</div>
<# } #>
<div class="elementor-repeater-row-item-title"></div>
<# if ( itemActions.duplicate ) { #>
<div class="elementor-repeater-row-tool elementor-repeater-tool-duplicate">
<i class="eicon-copy" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Duplicate', 'elementor' ); ?></span>
</div>
<# }
if ( itemActions.remove ) { #>
<div class="elementor-repeater-row-tool elementor-repeater-tool-remove">
<i class="eicon-close" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Remove', 'elementor' ); ?></span>
</div>
<# } #>
</div>
<div class="elementor-repeater-row-controls"></div>
</script>

View File

@@ -0,0 +1,70 @@
<?php
namespace Elementor;
use Elementor\Core\Breakpoints\Breakpoint;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
// TODO: Use API data instead of this static array, once it is available.
$active_breakpoints = Plugin::$instance->breakpoints->get_active_breakpoints();
$active_devices = Plugin::$instance->breakpoints->get_active_devices_list( [ 'reverse' => true ] );
$breakpoint_classes_map = array_intersect_key( Plugin::$instance->breakpoints->get_responsive_icons_classes_map(), array_flip( $active_devices ) );
/* translators: %1$s: Device Name */
$breakpoint_label = esc_html__( '%1$s <br> Settings added for the %1$s device will apply to %2$spx screens and down', 'elementor' );
?>
<script type="text/template" id="tmpl-elementor-templates-responsive-bar">
<div id="e-responsive-bar__center">
<div id="e-responsive-bar-switcher" class="e-responsive-bar--pipe">
<?php foreach ( $active_devices as $device_key ) {
if ( 'desktop' === $device_key ) {
$tooltip_label = esc_html__( 'Desktop <br> Settings added for the base device will apply to all breakpoints unless edited', 'elementor' );
} elseif ( 'widescreen' === $device_key ) {
$tooltip_label = esc_html__( 'Widescreen <br> Settings added for the Widescreen device will apply to screen sizes %dpx and up', 'elementor' );
$tooltip_label = sprintf( $tooltip_label, $active_breakpoints[ $device_key ]->get_value() );
} else {
$tooltip_label = sprintf( $breakpoint_label, $active_breakpoints[ $device_key ]->get_label(), $active_breakpoints[ $device_key ]->get_value() );
}
printf( '<label
id="e-responsive-bar-switcher__option-%1$s"
class="e-responsive-bar-switcher__option"
for="e-responsive-bar-switch-%1$s"
data-tooltip="%2$s">
<input type="radio" name="breakpoint" id="e-responsive-bar-switch-%1$s" value="%1$s">
<i class="%3$s" aria-hidden="true"></i>
<span class="screen-reader-text">%2$s</span>
</label>', esc_attr( $device_key ), esc_attr( $tooltip_label ), esc_attr( $breakpoint_classes_map[ $device_key ] ) );
} ?>
</div>
<div id="e-responsive-bar-scale">
<div id="e-responsive-bar-scale__minus"></div>
<div id="e-responsive-bar-scale__value-wrapper"><span id="e-responsive-bar-scale__value">100</span>%</div>
<div id="e-responsive-bar-scale__plus"><i class="eicon-plus" aria-hidden="true"></i></div>
<div id="e-responsive-bar-scale__reset"><i class="eicon-undo" aria-hidden="true"></i></div>
</div>
</div>
<div id="e-responsive-bar__end">
<div id="e-responsive-bar__size-inputs-wrapper" class="e-flex e-align-items-center">
<label for="e-responsive-bar__input-width">W</label>
<input type="number" id="e-responsive-bar__input-width" class="e-responsive-bar__input-size" autocomplete="off">
<label for="e-responsive-bar__input-height">H</label>
<input type="number" id="e-responsive-bar__input-height" class="e-responsive-bar__input-size" autocomplete="off">
</div>
<button id="e-responsive-bar__settings-button" class="e-responsive-bar__button e-responsive-bar--pipe"
data-tooltip="<?php echo esc_html__( 'Manage Breakpoints', 'elementor' ); ?>">
<span class="elementor-screen-only"><?php echo esc_html__( 'Settings', 'elementor' ); ?></span>
<i class="eicon-cog" aria-hidden="true"></i>
</button>
<button id="e-responsive-bar__close-button" class="e-responsive-bar__button"
data-tooltip="<?php echo esc_html__( 'Close', 'elementor' ); ?>">
<span class="elementor-screen-only"><?php echo esc_html__( 'Close', 'elementor' ); ?></span>
<i class="eicon-close" aria-hidden="true"></i>
</button>
</div>
</script>

View File

@@ -0,0 +1,300 @@
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<script type="text/template" id="tmpl-elementor-template-library-header-actions">
<div id="elementor-template-library-header-import" class="elementor-templates-modal__header__item">
<i class="eicon-upload-circle-o" aria-hidden="true" title="<?php esc_attr_e( 'Import Template', 'elementor' ); ?>"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Import Template', 'elementor' ); ?></span>
</div>
<div id="elementor-template-library-header-sync" class="elementor-templates-modal__header__item">
<i class="eicon-sync" aria-hidden="true" title="<?php esc_attr_e( 'Sync Library', 'elementor' ); ?>"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Sync Library', 'elementor' ); ?></span>
</div>
<div id="elementor-template-library-header-save" class="elementor-templates-modal__header__item">
<i class="eicon-save-o" aria-hidden="true" title="<?php esc_attr_e( 'Save', 'elementor' ); ?>"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Save', 'elementor' ); ?></span>
</div>
</script>
<script type="text/template" id="tmpl-elementor-template-library-header-menu">
<# jQuery.each( tabs, ( tab, args ) => { #>
<div class="elementor-component-tab elementor-template-library-menu-item" data-tab="{{{ tab }}}">{{{ args.title }}}</div>
<# } ); #>
</script>
<script type="text/template" id="tmpl-elementor-template-library-header-preview">
<div id="elementor-template-library-header-preview-insert-wrapper" class="elementor-templates-modal__header__item">
{{{ elementor.templates.layout.getTemplateActionButton( obj ) }}}
</div>
</script>
<script type="text/template" id="tmpl-elementor-template-library-header-back">
<i class="eicon-" aria-hidden="true"></i>
<span><?php echo esc_html__( 'Back to Library', 'elementor' ); ?></span>
</script>
<script type="text/template" id="tmpl-elementor-template-library-loading">
<div class="elementor-loader-wrapper">
<div class="elementor-loader">
<div class="elementor-loader-boxes">
<div class="elementor-loader-box"></div>
<div class="elementor-loader-box"></div>
<div class="elementor-loader-box"></div>
<div class="elementor-loader-box"></div>
</div>
</div>
<div class="elementor-loading-title"><?php echo esc_html__( 'Loading', 'elementor' ); ?></div>
</div>
</script>
<script type="text/template" id="tmpl-elementor-template-library-templates">
<#
var activeSource = elementor.templates.getFilter('source');
#>
<div id="elementor-template-library-toolbar">
<# if ( 'remote' === activeSource ) {
var activeType = elementor.templates.getFilter('type');
#>
<div id="elementor-template-library-filter-toolbar-remote" class="elementor-template-library-filter-toolbar">
<# if ( 'page' === activeType ) { #>
<div id="elementor-template-library-order">
<input type="radio" id="elementor-template-library-order-new" class="elementor-template-library-order-input" name="elementor-template-library-order" value="date">
<label for="elementor-template-library-order-new" class="elementor-template-library-order-label"><?php echo esc_html__( 'New', 'elementor' ); ?></label>
<input type="radio" id="elementor-template-library-order-trend" class="elementor-template-library-order-input" name="elementor-template-library-order" value="trendIndex">
<label for="elementor-template-library-order-trend" class="elementor-template-library-order-label"><?php echo esc_html__( 'Trend', 'elementor' ); ?></label>
<input type="radio" id="elementor-template-library-order-popular" class="elementor-template-library-order-input" name="elementor-template-library-order" value="popularityIndex">
<label for="elementor-template-library-order-popular" class="elementor-template-library-order-label"><?php echo esc_html__( 'Popular', 'elementor' ); ?></label>
</div>
<# } else {
var config = elementor.templates.getConfig( activeType );
if ( config.categories ) { #>
<div id="elementor-template-library-filter">
<select id="elementor-template-library-filter-subtype" class="elementor-template-library-filter-select" data-elementor-filter="subtype">
<option></option>
<# config.categories.forEach( function( category ) {
var selected = category === elementor.templates.getFilter( 'subtype' ) ? ' selected' : '';
#>
<option value="{{ category }}"{{{ selected }}}>{{{ category }}}</option>
<# } ); #>
</select>
</div>
<# }
} #>
<div id="elementor-template-library-my-favorites">
<# var checked = elementor.templates.getFilter( 'favorite' ) ? ' checked' : ''; #>
<input id="elementor-template-library-filter-my-favorites" type="checkbox"{{{ checked }}}>
<label id="elementor-template-library-filter-my-favorites-label" for="elementor-template-library-filter-my-favorites">
<i class="eicon" aria-hidden="true"></i>
<?php echo esc_html__( 'My Favorites', 'elementor' ); ?>
</label>
</div>
</div>
<# } else { #>
<div id="elementor-template-library-filter-toolbar-local" class="elementor-template-library-filter-toolbar"></div>
<# } #>
<div id="elementor-template-library-filter-text-wrapper">
<label for="elementor-template-library-filter-text" class="elementor-screen-only"><?php echo esc_html__( 'Search Templates:', 'elementor' ); ?></label>
<input id="elementor-template-library-filter-text" placeholder="<?php echo esc_attr__( 'Search', 'elementor' ); ?>">
<i class="eicon-search"></i>
</div>
</div>
<# if ( 'local' === activeSource ) { #>
<div id="elementor-template-library-order-toolbar-local">
<div class="elementor-template-library-local-column-1">
<input type="radio" id="elementor-template-library-order-local-title" class="elementor-template-library-order-input" name="elementor-template-library-order-local" value="title" data-default-ordering-direction="asc">
<label for="elementor-template-library-order-local-title" class="elementor-template-library-order-label"><?php echo esc_html__( 'Name', 'elementor' ); ?></label>
</div>
<div class="elementor-template-library-local-column-2">
<input type="radio" id="elementor-template-library-order-local-type" class="elementor-template-library-order-input" name="elementor-template-library-order-local" value="type" data-default-ordering-direction="asc">
<label for="elementor-template-library-order-local-type" class="elementor-template-library-order-label"><?php echo esc_html__( 'Type', 'elementor' ); ?></label>
</div>
<div class="elementor-template-library-local-column-3">
<input type="radio" id="elementor-template-library-order-local-author" class="elementor-template-library-order-input" name="elementor-template-library-order-local" value="author" data-default-ordering-direction="asc">
<label for="elementor-template-library-order-local-author" class="elementor-template-library-order-label"><?php echo esc_html__( 'Created By', 'elementor' ); ?></label>
</div>
<div class="elementor-template-library-local-column-4">
<input type="radio" id="elementor-template-library-order-local-date" class="elementor-template-library-order-input" name="elementor-template-library-order-local" value="date">
<label for="elementor-template-library-order-local-date" class="elementor-template-library-order-label"><?php echo esc_html__( 'Creation Date', 'elementor' ); ?></label>
</div>
<div class="elementor-template-library-local-column-5">
<div class="elementor-template-library-order-label"><?php echo esc_html__( 'Actions', 'elementor' ); ?></div>
</div>
</div>
<# } #>
<div id="elementor-template-library-templates-container"></div>
<# if ( 'remote' === activeSource ) { #>
<div id="elementor-template-library-footer-banner">
<img class="elementor-nerd-box-icon" src="<?php
Utils::print_unescaped_internal_string( ELEMENTOR_ASSETS_URL . 'images/information.svg' );
?>" />
<div class="elementor-excerpt"><?php echo esc_html__( 'Stay tuned! More awesome templates coming real soon.', 'elementor' ); ?></div>
</div>
<# } #>
</script>
<script type="text/template" id="tmpl-elementor-template-library-template-remote">
<div class="elementor-template-library-template-body">
<?php // 'lp' stands for Landing Pages Library type. ?>
<# if ( 'page' === type || 'lp' === type ) { #>
<div class="elementor-template-library-template-screenshot" style="background-image: url({{ thumbnail }});"></div>
<# } else { #>
<img src="{{ thumbnail }}">
<# } #>
<div class="elementor-template-library-template-preview">
<i class="eicon-zoom-in-bold" aria-hidden="true"></i>
</div>
</div>
<div class="elementor-template-library-template-footer">
{{{ elementor.templates.layout.getTemplateActionButton( obj ) }}}
<div class="elementor-template-library-template-name">{{{ title }}} - {{{ type }}}</div>
<div class="elementor-template-library-favorite">
<input id="elementor-template-library-template-{{ template_id }}-favorite-input" class="elementor-template-library-template-favorite-input" type="checkbox"{{ favorite ? " checked" : "" }}>
<label for="elementor-template-library-template-{{ template_id }}-favorite-input" class="elementor-template-library-template-favorite-label">
<i class="eicon-heart-o" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Favorite', 'elementor' ); ?></span>
</label>
</div>
</div>
</script>
<script type="text/template" id="tmpl-elementor-template-library-template-local">
<div class="elementor-template-library-template-name elementor-template-library-local-column-1">{{ title }}</div>
<div class="elementor-template-library-template-meta elementor-template-library-template-type elementor-template-library-local-column-2">{{{ elementor.translate( type ) }}}</div>
<div class="elementor-template-library-template-meta elementor-template-library-template-author elementor-template-library-local-column-3">{{{ author }}}</div>
<div class="elementor-template-library-template-meta elementor-template-library-template-date elementor-template-library-local-column-4">{{{ human_date }}}</div>
<div class="elementor-template-library-template-controls elementor-template-library-local-column-5">
<div class="elementor-template-library-template-preview">
<i class="eicon-preview-medium" aria-hidden="true"></i>
<span class="elementor-template-library-template-control-title"><?php echo esc_html__( 'Preview', 'elementor' ); ?></span>
</div>
<button class="elementor-template-library-template-action elementor-template-library-template-insert elementor-button elementor-button-success">
<i class="eicon-file-download" aria-hidden="true"></i>
<span class="elementor-button-title"><?php echo esc_html__( 'Insert', 'elementor' ); ?></span>
</button>
<div class="elementor-template-library-template-more-toggle">
<i class="eicon-ellipsis-h" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'More actions', 'elementor' ); ?></span>
</div>
<div class="elementor-template-library-template-more">
<div class="elementor-template-library-template-delete">
<i class="eicon-trash-o" aria-hidden="true"></i>
<span class="elementor-template-library-template-control-title"><?php echo esc_html__( 'Delete', 'elementor' ); ?></span>
</div>
<div class="elementor-template-library-template-export">
<a href="{{ export_link }}">
<i class="eicon-sign-out" aria-hidden="true"></i>
<span class="elementor-template-library-template-control-title"><?php echo esc_html__( 'Export', 'elementor' ); ?></span>
</a>
</div>
</div>
</div>
</script>
<script type="text/template" id="tmpl-elementor-template-library-insert-button">
<a class="elementor-template-library-template-action elementor-template-library-template-insert elementor-button">
<i class="eicon-file-download" aria-hidden="true"></i>
<span class="elementor-button-title"><?php echo esc_html__( 'Insert', 'elementor' ); ?></span>
</a>
</script>
<script type="text/template" id="tmpl-elementor-template-library-upgrade-plan-button">
<a
class="elementor-template-library-template-action elementor-button elementor-go-pro"
href="{{{ promotionLink }}}"
target="_blank"
>
<i class="eicon-external-link-square" aria-hidden="true"></i>
<span class="elementor-button-title">{{{ promotionText }}}</span>
</a>
</script>
<script type="text/template" id="tmpl-elementor-template-library-save-template">
<div class="elementor-template-library-blank-icon">
<i class="eicon-library-save" aria-hidden="true"></i>
<span class="elementor-screen-only"><?php echo esc_html__( 'Save', 'elementor' ); ?></span>
</div>
<div class="elementor-template-library-blank-title">{{{ title }}}</div>
<div class="elementor-template-library-blank-message">{{{ description }}}</div>
<form id="elementor-template-library-save-template-form">
<input type="hidden" name="post_id" value="<?php echo get_the_ID(); ?>">
<input id="elementor-template-library-save-template-name" name="title" placeholder="<?php echo esc_attr__( 'Enter Template Name', 'elementor' ); ?>" required>
<button id="elementor-template-library-save-template-submit" class="elementor-button elementor-button-success">
<span class="elementor-state-icon">
<i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i>
</span>
<?php echo esc_html__( 'Save', 'elementor' ); ?>
</button>
</form>
<div class="elementor-template-library-blank-footer">
<?php echo esc_html__( 'Want to learn more about the Elementor library?', 'elementor' ); ?>
<a class="elementor-template-library-blank-footer-link" href="https://go.elementor.com/docs-library/" target="_blank"><?php echo esc_html__( 'Click here', 'elementor' ); ?></a>
</div>
</script>
<script type="text/template" id="tmpl-elementor-template-library-import">
<form id="elementor-template-library-import-form">
<div class="elementor-template-library-blank-icon">
<i class="eicon-library-upload" aria-hidden="true"></i>
</div>
<div class="elementor-template-library-blank-title"><?php echo esc_html__( 'Import Template to Your Library', 'elementor' ); ?></div>
<div class="elementor-template-library-blank-message"><?php echo esc_html__( 'Drag & drop your .JSON or .zip template file', 'elementor' ); ?></div>
<div id="elementor-template-library-import-form-or"><?php echo esc_html__( 'or', 'elementor' ); ?></div>
<label for="elementor-template-library-import-form-input" id="elementor-template-library-import-form-label" class="elementor-button elementor-button-success"><?php echo esc_html__( 'Select File', 'elementor' ); ?></label>
<input id="elementor-template-library-import-form-input" type="file" name="file" accept=".json,.zip" required/>
<div class="elementor-template-library-blank-footer">
<?php echo esc_html__( 'Want to learn more about the Elementor library?', 'elementor' ); ?>
<a class="elementor-template-library-blank-footer-link" href="https://go.elementor.com/docs-library/" target="_blank"><?php echo esc_html__( 'Click here', 'elementor' ); ?></a>
</div>
</form>
</script>
<script type="text/template" id="tmpl-elementor-template-library-templates-empty">
<div class="elementor-template-library-blank-icon">
<img src="<?php Utils::print_unescaped_internal_string( ELEMENTOR_ASSETS_URL . 'images/no-search-results.svg' ); ?>" class="elementor-template-library-no-results" />
</div>
<div class="elementor-template-library-blank-title"></div>
<div class="elementor-template-library-blank-message"></div>
<div class="elementor-template-library-blank-footer">
<?php echo esc_html__( 'Want to learn more about the Elementor library?', 'elementor' ); ?>
<a class="elementor-template-library-blank-footer-link" href="https://go.elementor.com/docs-library/" target="_blank"><?php echo esc_html__( 'Click here', 'elementor' ); ?></a>
</div>
</script>
<script type="text/template" id="tmpl-elementor-template-library-preview">
<iframe></iframe>
</script>
<script type="text/template" id="tmpl-elementor-template-library-connect">
<div id="elementor-template-library-connect-logo" class="e-logo-wrapper">
<i class="eicon-elementor" aria-hidden="true"></i>
</div>
<div class="elementor-template-library-blank-title">
{{{ title }}}
</div>
<div class="elementor-template-library-blank-message">
{{{ message }}}
</div>
<?php
$url = Plugin::$instance->common->get_component( 'connect' )->get_app( 'library' )->get_admin_url( 'authorize', [
'utm_source' => 'template-library',
'utm_medium' => 'wp-dash',
'utm_campaign' => 'library-connect',
'utm_content' => '%%template_type%%', // will be replaced in the frontend
] );
?>
<a id="elementor-template-library-connect__button" class="elementor-button elementor-button-success" href="<?php echo esc_attr( $url ); ?>">
{{{ button }}}
</a>
<?php
$base_images_url = $this->get_assets_base_url() . '/assets/images/library-connect/';
$images = [ 'left-1', 'left-2', 'right-1', 'right-2' ];
foreach ( $images as $image ) : ?>
<img id="elementor-template-library-connect__background-image-<?php Utils::print_unescaped_internal_string( $image ); ?>" class="elementor-template-library-connect__background-image" src="<?php Utils::print_unescaped_internal_string( $base_images_url . $image ); ?>.png" draggable="false"/>
<?php endforeach; ?>
</script>