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 __( 'Elementor', 'elementor' ) . ' | ' . get_the_title(); ?></title>
<?php wp_head(); ?>
<script>
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>';
</script>
</head>
<body class="<?php echo 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 __( '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 echo sprintf( $notice['message'], $notice['action_url'] ); ?></div>
<div id="elementor-notice-bar__action"><a href="<?php echo $notice['action_url']; ?>" target="_blank"><?php echo $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 __( 'Close', 'elementor' ); ?></span>
</div>
<div class="elementor-add-new-section">
<div class="elementor-add-section-area-button elementor-add-section-button" title="<?php echo __( 'Add New Section', 'elementor' ); ?>">
<i class="eicon-plus"></i>
</div>
<div class="elementor-add-section-area-button elementor-add-template-button" title="<?php echo __( 'Add Template', 'elementor' ); ?>">
<i class="eicon-folder"></i>
</div>
<div class="elementor-add-section-drag-title"><?php echo __( 'Drag widget here', 'elementor' ); ?></div>
</div>
<div class="elementor-select-preset">
<div class="elementor-select-preset-title"><?php echo __( '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 __( '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 __( 'Actions', 'elementor' ); ?></h3>
</div>
<div class="elementor-hotkeys__list">
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( 'Go To', 'elementor' ); ?></h3>
</div>
<div class="elementor-hotkeys__list">
<div class="elementor-hotkeys__item">
<div class="elementor-hotkeys__item--label"><?php echo __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( 'Skip', 'elementor' ); ?></span>
<# } #>
<i class="eicon-close" aria-hidden="true" title="<?php echo __( 'Close', 'elementor' ); ?>"></i>
<span class="elementor-screen-only"><?php echo __( '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 __( '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 __( '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'; ?>" />
<div class="elementor-nerd-box-title"><?php echo __( 'Easy Navigation is Here!', 'elementor' ); ?></div>
<div class="elementor-nerd-box-message"><?php echo __( '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,59 @@
<?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 __( 'Elements', 'elementor' ); ?></div>
<div class="elementor-component-tab elementor-panel-navigation-tab" data-tab="global"><?php echo __( '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'; ?>" />
<div class="elementor-nerd-box-message"><?php echo __( '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' ); ?>"><?php echo __( '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-element-search">
<label for="elementor-panel-elements-search-input" class="screen-reader-text"><?php echo __( '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'; ?>" />
<div class="elementor-nerd-box-title"><?php echo __( 'Meet Our Global Widget', 'elementor' ); ?></div>
<div class="elementor-nerd-box-message"><?php echo __( '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' ); ?>"><?php echo __( 'Go Pro', 'elementor' ); ?></a>
</div>
</script>

View File

@@ -0,0 +1,274 @@
<?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 __( '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 __( '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 __( '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( __( '%s Settings', 'elementor' ), $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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 echo ELEMENTOR_ASSETS_URL . 'images/information.svg'; ?>" />
<div class="elementor-nerd-box-title">{{{ '<?php echo __( '%s are disabled', 'elementor' ); ?>'.replace( '%s', disabledTitle ) }}}</div>
<div class="elementor-nerd-box-message"><?php printf( __( 'You can enable it from the <a href="%s" target="_blank">Elementor settings page</a>.', 'elementor' ), Settings::get_url() ); ?></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 $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 $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 __( '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 $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">
<#
var devices = responsive.devices || [ 'desktop', 'tablet', 'mobile' ];
_.each( devices, function( device ) {
var deviceLabel = device.charAt(0).toUpperCase() + device.slice(1),
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="eicon-device-{{ 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 __( 'Dynamic Tags', 'elementor' ); ?>">
<i class="eicon-database"></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 __( 'Elementor Dynamic Content', 'elementor' ); ?>
</div>
<div class="elementor-tags-list__teaser-text">
<?php echo __( 'Youre missing out!', 'elementor' ); ?><br />
<?php echo __( 'Get more dynamic capabilities by incorporating dozens of Elementor\'s native dynamic tags.', 'elementor' ); ?>
<a href="{{{ elementor.config.dynamicPromotionURL }}}" class="elementor-tags-list__teaser-link" target="_blank">
<?php echo __( '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 __( '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 __( '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 __( 'Remove', 'elementor' ); ?></span>
</div>
<# } #>
</div>
<div class="elementor-repeater-row-controls"></div>
</script>

View File

@@ -0,0 +1,58 @@
<?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.
$breakpoints = Plugin::$instance->breakpoints->get_active_breakpoints();
$breakpoints['desktop'] = [];
$breakpoint_label = __( 'Settings added to %1$s device will apply to %2$spx screens and down', 'elementor' );
?>
<script type="text/template" id="tmpl-elementor-templates-responsive-bar">
<div class="e-responsive-bar__col"></div>
<div class="e-responsive-bar__col">
<div class="e-responsive-bar-switcher">
<?php foreach ( $breakpoints as $name => $breakpoint ) {
if ( 'desktop' === $name ) {
$tooltip_label = __( 'Settings added to Base device will apply to all breakpoints unless edited', 'elementor' );
} else {
$tooltip_label = sprintf( $breakpoint_label, $breakpoint->get_label(), $breakpoint->get_value() );
}
printf( '<label
class="e-responsive-bar-switcher__option e-responsive-bar-switcher__option-%1$s"
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="eicon-device-%1$s" aria-hidden="true"></i>
<span class="screen-reader-text">%2$s</span>
</label>', $name, $tooltip_label );
} ?>
</div>
</div>
<div class="e-responsive-bar__col">
<button class="e-responsive-bar__close-button e-responsive-bar__button"
data-tooltip="<?php echo __( 'Exit', 'elementor' ); ?>">
<span class="elementor-screen-only"><?php echo __( 'Close', 'elementor' ); ?></span>
<i class="eicon-close" aria-hidden="true"></i>
</button>
<button class="e-responsive-bar__settings-button e-responsive-bar__button"
data-tooltip="<?php echo __( 'Manage Breakpoints', 'elementor' ); ?>">
<span class="elementor-screen-only"><?php echo __( 'Settings', 'elementor' ); ?></span>
<i class="eicon-cog" aria-hidden="true"></i>
</button>
<div class="e-flex e-align-items-center e-responsive-bar__size-inputs-wrapper">
<label for="viewport_width">W</label>
<input type="number" id="viewport_width" class="e-responsive-bar__input-size e-responsive-bar__input-width" autocomplete="off">
<label for="viewport_height">H</label>
<input type="number" id="viewport_height" class="e-responsive-bar__input-size e-responsive-bar__input-height" autocomplete="off">
</div>
</div>
</script>

View File

@@ -0,0 +1,291 @@
<?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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( 'Creation Date', 'elementor' ); ?></label>
</div>
<div class="elementor-template-library-local-column-5">
<div class="elementor-template-library-order-label"><?php echo __( '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 echo ELEMENTOR_ASSETS_URL . 'images/information.svg'; ?>" />
<div class="elementor-excerpt"><?php echo __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( '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 __( 'Save', 'elementor' ); ?>
</button>
</form>
<div class="elementor-template-library-blank-footer">
<?php echo __( '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 __( '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 __( 'Import Template to Your Library', 'elementor' ); ?></div>
<div class="elementor-template-library-blank-message"><?php echo __( 'Drag & drop your .JSON or .zip template file', 'elementor' ); ?></div>
<div id="elementor-template-library-import-form-or"><?php echo __( '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 __( '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 __( '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 __( '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 echo 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 __( '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 __( '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' ); ?>
<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 echo $image; ?>" class="elementor-template-library-connect__background-image" src="<?php echo $base_images_url . $image; ?>.png" draggable="false"/>
<?php endforeach; ?>
</script>