File manager - Edit - /home/theblueo/tv/fb4e3b/admin-templates.tar
Back
new-template.php 0000666 00000007217 15214144166 0007676 0 ustar 00 <?php namespace Elementor; use Elementor\Core\Base\Document; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } $document_types = Plugin::$instance->documents->get_document_types(); $types = []; $selected = get_query_var( 'elementor_library_type' ); foreach ( $document_types as $document_type ) { if ( $document_type::get_property( 'show_in_library' ) ) { /** * @var Document $instance */ $instance = new $document_type(); $types[ $instance->get_name() ] = $document_type::get_title(); } } /** * Create new template library dialog types. * * Filters the dialog types when printing new template dialog. * * @since 2.0.0 * * @param array $types Types data. * @param Document $document_types Document types. */ $types = apply_filters( 'elementor/template-library/create_new_dialog_types', $types, $document_types ); ?> <script type="text/template" id="tmpl-elementor-new-template"> <div id="elementor-new-template__description"> <div id="elementor-new-template__description__title"><?php echo __( 'Templates Help You <span>Work Efficiently</span>', 'elementor' ); ?></div> <div id="elementor-new-template__description__content"><?php echo __( 'Use templates to create the different pieces of your site, and reuse them with one click whenever needed.', 'elementor' ); ?></div> <?php /* <div id="elementor-new-template__take_a_tour"> <i class="eicon-play-o"></i> <a href="#"><?php echo __( 'Take The Video Tour', 'elementor' ); ?></a> </div> */ ?> </div> <form id="elementor-new-template__form" action="<?php esc_url( admin_url( '/edit.php' ) ); ?>"> <input type="hidden" name="post_type" value="elementor_library"> <input type="hidden" name="action" value="elementor_new_post"> <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce( 'elementor_action_new_post' ); ?>"> <div id="elementor-new-template__form__title"><?php echo __( 'Choose Template Type', 'elementor' ); ?></div> <div id="elementor-new-template__form__template-type__wrapper" class="elementor-form-field"> <label for="elementor-new-template__form__template-type" class="elementor-form-field__label"><?php echo __( 'Select the type of template you want to work on', 'elementor' ); ?></label> <div class="elementor-form-field__select__wrapper"> <select id="elementor-new-template__form__template-type" class="elementor-form-field__select" name="template_type" required> <option value=""><?php echo __( 'Select', 'elementor' ); ?>...</option> <?php foreach ( $types as $value => $type_title ) { printf( '<option value="%1$s" %2$s>%3$s</option>', $value, selected( $selected, $value, false ), $type_title ); } ?> </select> </div> </div> <?php /** * Template library dialog fields. * * Fires after Elementor template library dialog fields are displayed. * * @since 2.0.0 */ do_action( 'elementor/template-library/create_new_dialog_fields' ); ?> <div id="elementor-new-template__form__post-title__wrapper" class="elementor-form-field"> <label for="elementor-new-template__form__post-title" class="elementor-form-field__label"> <?php echo __( 'Name your template', 'elementor' ); ?> </label> <div class="elementor-form-field__text__wrapper"> <input type="text" placeholder="<?php echo esc_attr__( 'Enter template name (optional)', 'elementor' ); ?>" id="elementor-new-template__form__post-title" class="elementor-form-field__text" name="post_data[post_title]"> </div> </div> <button id="elementor-new-template__form__submit" class="elementor-button elementor-button-success"><?php echo __( 'Create Template', 'elementor' ); ?></button> </form> </script> beta-tester.php 0000666 00000003577 15214144166 0007520 0 ustar 00 <?php namespace Elementor; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } $user = wp_get_current_user(); $ajax = Plugin::$instance->common->get_component( 'ajax' ); $beta_tester_email = $user->user_email; /** * Print beta tester dialog. * * Display a dialog box to suggest the user to opt-in to the beta testers newsletter. * * Fired by `admin_footer` filter. * * @since 2.6.0 * @access public */ ?> <script type="text/template" id="tmpl-elementor-beta-tester"> <form id="elementor-beta-tester-form" method="post"> <input type="hidden" name="_nonce" value="<?php echo $ajax->create_nonce(); ?>"> <input type="hidden" name="action" value="elementor_beta_tester_signup" /> <div id="elementor-beta-tester-form__caption"><?php echo __( 'Get Beta Updates', 'elementor' ); ?></div> <div id="elementor-beta-tester-form__description"><?php echo __( 'As a beta tester, you’ll receive an update that includes a testing version of Elementor and its content directly to your Email', 'elementor' ); ?></div> <div id="elementor-beta-tester-form__input-wrapper"> <input id="elementor-beta-tester-form__email" name="beta_tester_email" type="email" placeholder="<?php echo __( 'Your Email', 'elementor' ); ?>" required value="<?php echo $beta_tester_email; ?>" /> <button id="elementor-beta-tester-form__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 __( 'Sign Up', 'elementor' ); ?> </button> </div> <div id="elementor-beta-tester-form__terms"> <?php echo sprintf( __( 'By clicking Sign Up, you agree to Elementor\'s <a href="%1$s">Terms of Service</a> and <a href="%2$s">Privacy Policy</a>', 'elementor' ), Beta_Testers::NEWSLETTER_TERMS_URL, Beta_Testers::NEWSLETTER_PRIVACY_URL ); ?> </div> </form> </script>
| ver. 1.4 |
Github
|
.
| PHP 7.0.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings