| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | use Elementor\Core\Base\Document; |
| 5 | 5 | use Elementor\TemplateLibrary\Forms\New_Template_Form; |
| 6 | 6 | |
| 7 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 8 | - exit; // Exit if accessed directly. | |
| 8 | + exit; // Exit if accessed directly | |
| 9 | 9 | } |
| 10 | 10 | $new_template_control_form = new New_Template_Form( [ 'id' => 'form' ] ); |
| 11 | 11 | $document_types = Plugin::$instance->documents->get_document_types(); |
| 12 | 12 | |
| @@ -111,8 +111,8 @@ | ||
| 111 | 111 | <div class="elementor-form-field__text__wrapper"> |
| 112 | 112 | <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]"> |
| 113 | 113 | </div> |
| 114 | 114 | </div> |
| 115 | - <button id="elementor-new-template__form__submit" class="elementor-button e-primary"><?php echo esc_html__( 'Create Template', 'elementor' ); ?></button> | |
| 116 | - <a id="elementor-new-template__form__lock_button" class="elementor-button e-accent e-hidden" target="_blank"><?php // Will be filled from js. ?></a> | |
| 115 | + <button id="elementor-new-template__form__submit" class="elementor-button elementor-button-success"><?php echo esc_html__( 'Create Template', 'elementor' ); ?></button> | |
| 116 | + <a id="elementor-new-template__form__lock_button" class="elementor-button elementor-button-brand e-hidden" target="_blank"><?php // Will be filled from js. ?></a> | |
| 117 | 117 | </form> |
| 118 | 118 | </script> |