@@ -21,11 +21,11 @@ |
||
21 | 21 | <?php echo wp_kses($nav_tabs, AllowedTags::getWithFormTags()); ?> |
22 | 22 | |
23 | 23 | <?php |
24 | - do_action('AHEE__admin_wrapper__template__before_admin_page_content'); |
|
25 | - echo wp_kses($before_admin_page_content, AllowedTags::getWithFormTags()); |
|
26 | - echo wp_kses($admin_page_content, AllowedTags::getWithFullTags()); |
|
27 | - echo wp_kses($after_admin_page_content, AllowedTags::getWithFormTags()); |
|
28 | - do_action('AHEE__admin_wrapper__template__after_admin_page_content'); |
|
29 | - ?> |
|
24 | + do_action('AHEE__admin_wrapper__template__before_admin_page_content'); |
|
25 | + echo wp_kses($before_admin_page_content, AllowedTags::getWithFormTags()); |
|
26 | + echo wp_kses($admin_page_content, AllowedTags::getWithFullTags()); |
|
27 | + echo wp_kses($after_admin_page_content, AllowedTags::getWithFormTags()); |
|
28 | + do_action('AHEE__admin_wrapper__template__after_admin_page_content'); |
|
29 | + ?> |
|
30 | 30 | |
31 | 31 | </div> |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | do_action('add_meta_boxes', (string) $post_type, $post); |
15 | 15 | ?> |
16 | 16 | |
17 | -<?php if (! empty($admin_page_header)) : ?> |
|
17 | +<?php if ( ! empty($admin_page_header)) : ?> |
|
18 | 18 | <div id="admin-page-header"> |
19 | 19 | <?php echo wp_kses($admin_page_header, AllowedTags::getWithFormTags()); ?> |
20 | 20 | </div> |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | <!-- admin-page-header --> |
24 | 24 | <div id="post-body" class="metabox-holder columns-2"> |
25 | 25 | |
26 | - <?php if (! empty($post_body_content)) : ?> |
|
26 | + <?php if ( ! empty($post_body_content)) : ?> |
|
27 | 27 | <div id="post-body-content"> |
28 | 28 | <?php echo wp_kses($post_body_content, AllowedTags::getWithFullTags()); ?> |
29 | 29 | </div> |
@@ -19,13 +19,13 @@ discard block |
||
19 | 19 | <input type="hidden" id="ee-msg-current-context" name="MTP_context" value="<?php echo esc_attr($context); ?>" /> |
20 | 20 | <!-- if this is not a global template then let's show the name and description fields --> |
21 | 21 | <?php |
22 | - if (! $MTP->is_global()) : ?> |
|
22 | + if (! $MTP->is_global()) : ?> |
|
23 | 23 | <div class="non-global-mtp-fields"> |
24 | 24 | <p> |
25 | 25 | <?php esc_html_e( |
26 | - 'This is a custom template. Custom Templates have an editable name and description to help you differentiate between templates.', |
|
27 | - 'event_espresso' |
|
28 | - ); ?> |
|
26 | + 'This is a custom template. Custom Templates have an editable name and description to help you differentiate between templates.', |
|
27 | + 'event_espresso' |
|
28 | + ); ?> |
|
29 | 29 | </p> |
30 | 30 | <div id="titlediv"> |
31 | 31 | <div id="titlewrap"> |
@@ -56,8 +56,8 @@ discard block |
||
56 | 56 | </p> |
57 | 57 | </div> |
58 | 58 | <?php |
59 | - else : |
|
60 | - ?> |
|
59 | + else : |
|
60 | + ?> |
|
61 | 61 | <input type="hidden" name="ee_msg_non_global_fields[MTP_name]" value="<?php echo esc_attr($MTP->name()); ?>"> |
62 | 62 | <input type="hidden" |
63 | 63 | name="ee_msg_non_global_fields[MTP_description]" |
@@ -66,18 +66,18 @@ discard block |
||
66 | 66 | <?php endif; ?> |
67 | 67 | <!-- we need to loop through the template_fields so we know our structure --> |
68 | 68 | <?php |
69 | - if (isset($template_fields) && ! empty($template_fields) && ! is_wp_error($template_fields)) { |
|
70 | - echo wp_kses($template_fields, AllowedTags::getWithFullTags()); |
|
71 | - } else { |
|
72 | - ?> |
|
69 | + if (isset($template_fields) && ! empty($template_fields) && ! is_wp_error($template_fields)) { |
|
70 | + echo wp_kses($template_fields, AllowedTags::getWithFullTags()); |
|
71 | + } else { |
|
72 | + ?> |
|
73 | 73 | <p> |
74 | 74 | <?php esc_html_e( |
75 | - 'Something has gone wrong, there are no template fields to output.', |
|
76 | - 'event_espresso' |
|
77 | - ); ?> |
|
75 | + 'Something has gone wrong, there are no template fields to output.', |
|
76 | + 'event_espresso' |
|
77 | + ); ?> |
|
78 | 78 | </p> |
79 | 79 | <?php |
80 | - } |
|
80 | + } |
|
81 | 81 | |
82 | - ?> |
|
82 | + ?> |
|
83 | 83 | </div> <!-- end #admin-primary-mbox-dv --> |