@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | -if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) { |
|
3 | - exit( 'No direct script access allowed' ); |
|
2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) { |
|
3 | + exit('No direct script access allowed'); |
|
4 | 4 | } |
5 | 5 | |
6 | 6 | /** |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @since 4.9.0 |
13 | 13 | * @author Darren Ethier |
14 | 14 | */ |
15 | -interface EEI_Query_Filter { |
|
15 | +interface EEI_Query_Filter { |
|
16 | 16 | |
17 | 17 | |
18 | 18 | /** |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | -if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) { |
|
3 | - exit( 'No direct script access allowed' ); |
|
2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) { |
|
3 | + exit('No direct script access allowed'); |
|
4 | 4 | } |
5 | 5 | /** |
6 | 6 | * Class EE_Line_Item_Filter_Base |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | * @param \EEI_Line_Item $line_item |
25 | 25 | * @return \EEI_Line_Item |
26 | 26 | */ |
27 | - public function process( EEI_Line_Item $line_item ) { |
|
27 | + public function process(EEI_Line_Item $line_item) { |
|
28 | 28 | return $line_item; |
29 | 29 | } |
30 | 30 |
@@ -1,37 +1,37 @@ |
||
1 | 1 | |
2 | 2 | <h4 id="reg-page-totals-hdr" class=""> |
3 | - <span class="drk-grey-text"><?php _e('Registrations:', 'event_espresso'); ?></span> <?php echo $reg_count;?> |
|
3 | + <span class="drk-grey-text"><?php _e('Registrations:', 'event_espresso'); ?></span> <?php echo $reg_count; ?> |
|
4 | 4 | </h4> |
5 | 5 | |
6 | 6 | <div class="spco-payment-info-dv"> |
7 | 7 | <table id="spco-payment-info-table"> |
8 | 8 | <thead> |
9 | 9 | <tr> |
10 | - <th scope="col" width=""><?php _e('Name and Description', 'event_espresso');?></th> |
|
11 | - <th scope="col" width="15%" class="jst-cntr"><?php _e('Price', 'event_espresso');?></th> |
|
12 | - <th scope="col" width="5%" class="jst-cntr"><?php _e( 'Qty', 'event_espresso' ); ?></th> |
|
13 | - <th scope="col" width="15%" class="jst-cntr"><?php _e('Total', 'event_espresso');?></th> |
|
14 | - <?php do_action( 'AHEE__registration_page_payment_options__payment_info_table_thead_row_end' ); ?> |
|
10 | + <th scope="col" width=""><?php _e('Name and Description', 'event_espresso'); ?></th> |
|
11 | + <th scope="col" width="15%" class="jst-cntr"><?php _e('Price', 'event_espresso'); ?></th> |
|
12 | + <th scope="col" width="5%" class="jst-cntr"><?php _e('Qty', 'event_espresso'); ?></th> |
|
13 | + <th scope="col" width="15%" class="jst-cntr"><?php _e('Total', 'event_espresso'); ?></th> |
|
14 | + <?php do_action('AHEE__registration_page_payment_options__payment_info_table_thead_row_end'); ?> |
|
15 | 15 | </tr> |
16 | 16 | </thead> |
17 | 17 | <tbody> |
18 | - <?php echo $transaction_details;?> |
|
19 | - <?php do_action( 'AHEE__registration_page_payment_options__payment_info_table_tbody_end' ); ?> |
|
18 | + <?php echo $transaction_details; ?> |
|
19 | + <?php do_action('AHEE__registration_page_payment_options__payment_info_table_tbody_end'); ?> |
|
20 | 20 | </tbody> |
21 | 21 | </table> |
22 | 22 | </div> |
23 | 23 | <div class="clear-float"> </div> |
24 | 24 | |
25 | - <?php echo $before_payment_options; ?> |
|
25 | + <?php echo $before_payment_options; ?> |
|
26 | 26 | |
27 | 27 | <div id="methods-of-payment"> |
28 | 28 | <?php echo $payment_options; ?> |
29 | - <a id="reg-page-select-other-method-of-payment-lnk" class="hidden smaller-text right" rel=""><?php echo apply_filters( 'FHEE__registration_page_payment_options__select_other_method_of_payment_lnk', __( 'select a different method of payment:', 'event_espresso' )); ?></a> |
|
29 | + <a id="reg-page-select-other-method-of-payment-lnk" class="hidden smaller-text right" rel=""><?php echo apply_filters('FHEE__registration_page_payment_options__select_other_method_of_payment_lnk', __('select a different method of payment:', 'event_espresso')); ?></a> |
|
30 | 30 | </div> |
31 | 31 | <!-- end #methods-of-payment --> |
32 | 32 | |
33 | - <?php echo $after_payment_options; ?> |
|
33 | + <?php echo $after_payment_options; ?> |
|
34 | 34 | |
35 | - <?php echo $default_hidden_inputs; ?> |
|
36 | - <?php echo $extra_hidden_inputs; ?> |
|
35 | + <?php echo $default_hidden_inputs; ?> |
|
36 | + <?php echo $extra_hidden_inputs; ?> |
|
37 | 37 |
@@ -1,43 +1,43 @@ |
||
1 | 1 | <?php //echo '<h1>' . __FILE__ . '</h1>'; ?> |
2 | 2 | <?php global $post; ?> |
3 | 3 | <div class="venue-content"> |
4 | -<?php if ( apply_filters( 'FHEE__content_espresso_venues_details_template__display_entry_meta', TRUE )): ?> |
|
4 | +<?php if (apply_filters('FHEE__content_espresso_venues_details_template__display_entry_meta', TRUE)): ?> |
|
5 | 5 | <div class="entry-meta"> |
6 | - <span class="tags-links"><?php espresso_venue_categories( $post->ID, TRUE, TRUE ); ?></span> |
|
6 | + <span class="tags-links"><?php espresso_venue_categories($post->ID, TRUE, TRUE); ?></span> |
|
7 | 7 | <?php |
8 | - if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : |
|
8 | + if ( ! post_password_required() && (comments_open() || get_comments_number())) : |
|
9 | 9 | ?> |
10 | - <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'event_espresso' ), __( '1 Comment', 'event_espresso' ), __( '% Comments', 'event_espresso' ) ); ?></span> |
|
10 | + <span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'event_espresso'), __('1 Comment', 'event_espresso'), __('% Comments', 'event_espresso')); ?></span> |
|
11 | 11 | <?php |
12 | 12 | endif; |
13 | 13 | |
14 | - edit_post_link( __( 'Edit', 'event_espresso' ), '<span class="edit-link">', '</span>' ); |
|
14 | + edit_post_link(__('Edit', 'event_espresso'), '<span class="edit-link">', '</span>'); |
|
15 | 15 | ?> |
16 | 16 | </div> |
17 | 17 | <?php endif; ?> |
18 | 18 | |
19 | 19 | <h3 class="event-venues-h3 ee-event-h3"> |
20 | - <?php _e( 'Details', 'event_espresso' ); ?> |
|
20 | + <?php _e('Details', 'event_espresso'); ?> |
|
21 | 21 | </h3> |
22 | 22 | |
23 | - <?php if ( $venue_phone = espresso_venue_phone( $post->ID, FALSE )) : ?> |
|
23 | + <?php if ($venue_phone = espresso_venue_phone($post->ID, FALSE)) : ?> |
|
24 | 24 | <p> |
25 | - <span class="small-text"><strong><?php _e( 'Venue Phone:', 'event_espresso' ); ?> </strong></span><?php echo $venue_phone; ?> |
|
25 | + <span class="small-text"><strong><?php _e('Venue Phone:', 'event_espresso'); ?> </strong></span><?php echo $venue_phone; ?> |
|
26 | 26 | </p> |
27 | 27 | <?php endif; ?> |
28 | - <?php if ( $venue_website = espresso_venue_website( $post->ID, FALSE )) : ?> |
|
28 | + <?php if ($venue_website = espresso_venue_website($post->ID, FALSE)) : ?> |
|
29 | 29 | <p> |
30 | - <span class="small-text"><strong><?php _e( 'Venue Website:', 'event_espresso' ); ?> </strong></span><?php echo $venue_website; ?> |
|
30 | + <span class="small-text"><strong><?php _e('Venue Website:', 'event_espresso'); ?> </strong></span><?php echo $venue_website; ?> |
|
31 | 31 | </p> |
32 | 32 | <?php endif; ?> |
33 | 33 | <?php |
34 | - do_action( 'AHEE__content_espresso_venues_details_template__before_the_content', $post ); |
|
35 | - if ( is_archive() && has_excerpt( $post->ID )) { |
|
34 | + do_action('AHEE__content_espresso_venues_details_template__before_the_content', $post); |
|
35 | + if (is_archive() && has_excerpt($post->ID)) { |
|
36 | 36 | the_excerpt(); |
37 | 37 | } else { |
38 | 38 | the_content(); |
39 | 39 | } |
40 | - do_action( 'AHEE__content_espresso_venues_details_template__after_the_content', $post ); |
|
40 | + do_action('AHEE__content_espresso_venues_details_template__after_the_content', $post); |
|
41 | 41 | ?> |
42 | 42 | </div> |
43 | 43 | <!-- .venue-content --> |
@@ -3,5 +3,5 @@ |
||
3 | 3 | <?php _e('A venue is the place or location that is hosting your event. This setting is optional which means that you are not required to select a venue for your event.', 'event_espresso'); ?> |
4 | 4 | </p> |
5 | 5 | <p> |
6 | -<?php echo sprintf(__('Venues can be managed through the %sVenues page%s.', 'event_espresso'),'<a href="admin.php?page=espresso_venues">','</a>'); ?> |
|
6 | +<?php echo sprintf(__('Venues can be managed through the %sVenues page%s.', 'event_espresso'), '<a href="admin.php?page=espresso_venues">', '</a>'); ?> |
|
7 | 7 | </p> |
8 | 8 | \ No newline at end of file |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php do_action( 'AHEE__event_tickets_metabox_main__before_content' ); ?> |
|
1 | +<?php do_action('AHEE__event_tickets_metabox_main__before_content'); ?> |
|
2 | 2 | <div id="event-and-ticket-form-content"> |
3 | 3 | <h4 class="event-tickets-datetimes-title"><?php _e('Event Datetime', 'event_espresso'); ?></h4><?php echo $event_datetime_help_link; ?> |
4 | 4 | <div class="event-datetimes-container"> |
@@ -29,11 +29,11 @@ discard block |
||
29 | 29 | </td> |
30 | 30 | <td class="event-datetime-column reg-limit-column"> |
31 | 31 | <?php |
32 | - $reg_limit = $time->get_pretty('DTT_reg_limit','input'); |
|
32 | + $reg_limit = $time->get_pretty('DTT_reg_limit', 'input'); |
|
33 | 33 | ?> |
34 | 34 | <input type="text" name="edit_event_datetimes[1][DTT_reg_limit]" id="event-datetime-DTT_reg_limit-1" class="ee-small-text-inp ee-inp-right event-datetime-DTT_reg_limit" value="<?php echo $reg_limit; ?>"> |
35 | 35 | </td> |
36 | - <td class="datetime-tickets-sold"><?php printf( __('Tickets Sold: %s', 'event_espresso'), $time->get('DTT_sold') ); ?></td> |
|
36 | + <td class="datetime-tickets-sold"><?php printf(__('Tickets Sold: %s', 'event_espresso'), $time->get('DTT_sold')); ?></td> |
|
37 | 37 | </tr> |
38 | 38 | </tbody> |
39 | 39 | </table> |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | <div style="clear:both"></div> |
72 | 72 | </div> <!-- end #event-and-ticket-form-content --> |
73 | 73 | |
74 | -<?php do_action( 'AHEE__event_tickets_metabox_main__after_content' ); ?> |
|
74 | +<?php do_action('AHEE__event_tickets_metabox_main__after_content'); ?> |
|
75 | 75 | |
76 | 76 | <table id="new-ticket-row-form" class="hidden"> |
77 | 77 | <tbody><?php echo $ticket_js_structure; ?></tbody> |
@@ -6,41 +6,41 @@ |
||
6 | 6 | <ul> |
7 | 7 | <li> |
8 | 8 | <strong><?php _e('Registration Checkout Page', 'event_espresso'); ?></strong><br /> |
9 | -<?php printf( __('This page displays all your events and is required. It is important that this page always contain the %s shortcode. It is not required to be in your navigation menu.', 'event_espresso'), '<strong>[ESPRESSO_CHECKOUT]</strong>' ); ?> |
|
9 | +<?php printf(__('This page displays all your events and is required. It is important that this page always contain the %s shortcode. It is not required to be in your navigation menu.', 'event_espresso'), '<strong>[ESPRESSO_CHECKOUT]</strong>'); ?> |
|
10 | 10 | </li> |
11 | 11 | <li> |
12 | 12 | <strong><?php _e('Transactions Page', 'event_espresso'); ?></strong><br /> |
13 | -<?php printf( __('This page processes the payments and is required. It should only contain the %s shortcode. No other content should be added and it should be hidden from your navigation menu.', 'event_espresso'), '<strong>[ESPRESSO_TXN_PAGE]</strong>' ); ?> |
|
13 | +<?php printf(__('This page processes the payments and is required. It should only contain the %s shortcode. No other content should be added and it should be hidden from your navigation menu.', 'event_espresso'), '<strong>[ESPRESSO_TXN_PAGE]</strong>'); ?> |
|
14 | 14 | </li> |
15 | 15 | <li> |
16 | 16 | <strong><?php _e('Thank You Page', 'event_espresso'); ?></strong><br /> |
17 | -<?php printf( __('This page is displayed after a successful transaction and is required. It should contain the %s shortcode. Additionally, you may customize this page by adding extra content to the page. It should be hidden from your navigation menu.', 'event_espresso'), '<strong>[ESPRESSO_THANK_YOU]</strong>' ); ?> |
|
17 | +<?php printf(__('This page is displayed after a successful transaction and is required. It should contain the %s shortcode. Additionally, you may customize this page by adding extra content to the page. It should be hidden from your navigation menu.', 'event_espresso'), '<strong>[ESPRESSO_THANK_YOU]</strong>'); ?> |
|
18 | 18 | </li> |
19 | 19 | <li> |
20 | 20 | <strong><?php _e('Cancel / Return Page', 'event_espresso'); ?></strong><br /> |
21 | -<?php printf( __('This page is displayed after an unsuccessful transaction and is required. It should contain the %s shortcode. Additionally, you may customize this page by adding extra content to the page. It should be hidden from your navigation menu.', 'event_espresso'), '<strong>[ESPRESSO_CANCELLED]</strong>' ); ?> |
|
21 | +<?php printf(__('This page is displayed after an unsuccessful transaction and is required. It should contain the %s shortcode. Additionally, you may customize this page by adding extra content to the page. It should be hidden from your navigation menu.', 'event_espresso'), '<strong>[ESPRESSO_CANCELLED]</strong>'); ?> |
|
22 | 22 | </li> |
23 | 23 | <li> |
24 | 24 | <strong><?php _e('Event List', 'event_espresso'); ?></strong><br /> |
25 | -<?php printf(__('If you would like to style the look of your events archive page, then follow the WordPress instructions for %1$screating a custom template for archive pages%2$s.', 'event_espresso'), '<a href="http://codex.wordpress.org/Post_Type_Templates">','</a>'); ?> |
|
25 | +<?php printf(__('If you would like to style the look of your events archive page, then follow the WordPress instructions for %1$screating a custom template for archive pages%2$s.', 'event_espresso'), '<a href="http://codex.wordpress.org/Post_Type_Templates">', '</a>'); ?> |
|
26 | 26 | <ul> |
27 | 27 | <li style="list-style-type: circle;"> |
28 | -<?php printf( __('Build a template for your events - create a theme template named %1$s Then place it in your theme\'s root directory. For the default WordPress Twenty Thirteen theme, this location will be %2$s.', 'event_espresso'), '<strong>archive-espresso_events.php</strong>','wp-content/themes/twenty-fourteen' ); ?> |
|
28 | +<?php printf(__('Build a template for your events - create a theme template named %1$s Then place it in your theme\'s root directory. For the default WordPress Twenty Thirteen theme, this location will be %2$s.', 'event_espresso'), '<strong>archive-espresso_events.php</strong>', 'wp-content/themes/twenty-fourteen'); ?> |
|
29 | 29 | </li> |
30 | 30 | <li style="list-style-type: circle;"> |
31 | -<?php printf( __('Build a template for a single event - create a theme template named %1$s Then place it in your theme\'s root directory. For the default WordPress Twenty Thirteen theme, this location will be %2$s.', 'event_espresso'), '<strong>single-espresso_events.php</strong>','wp-content/themes/twenty-fourteen' ); ?> |
|
31 | +<?php printf(__('Build a template for a single event - create a theme template named %1$s Then place it in your theme\'s root directory. For the default WordPress Twenty Thirteen theme, this location will be %2$s.', 'event_espresso'), '<strong>single-espresso_events.php</strong>', 'wp-content/themes/twenty-fourteen'); ?> |
|
32 | 32 | </li> |
33 | 33 | </ul> |
34 | 34 | </li> |
35 | 35 | <li> |
36 | 36 | <strong><?php _e('Venue List', 'event_espresso'); ?></strong><br /> |
37 | -<?php printf(__('If you would like to style the look of your venues archive page, then follow the WordPress instructions for %1$screating a custom template for archive pages%2$s.', 'event_espresso'), '<a href="http://codex.wordpress.org/Post_Type_Templates">','</a>'); ?> |
|
37 | +<?php printf(__('If you would like to style the look of your venues archive page, then follow the WordPress instructions for %1$screating a custom template for archive pages%2$s.', 'event_espresso'), '<a href="http://codex.wordpress.org/Post_Type_Templates">', '</a>'); ?> |
|
38 | 38 | <ul> |
39 | 39 | <li style="list-style-type: circle;"> |
40 | -<?php printf( __('Build a template for your events - create a theme template named %1$s Then place it in your theme\'s root directory. For the default WordPress Twenty Thirteen theme, this location will be %2$s.', 'event_espresso'), '<strong>archive-espresso_venues.php</strong>','wp-content/themes/twenty-fourteen' ); ?> |
|
40 | +<?php printf(__('Build a template for your events - create a theme template named %1$s Then place it in your theme\'s root directory. For the default WordPress Twenty Thirteen theme, this location will be %2$s.', 'event_espresso'), '<strong>archive-espresso_venues.php</strong>', 'wp-content/themes/twenty-fourteen'); ?> |
|
41 | 41 | </li> |
42 | 42 | <li style="list-style-type: circle;"> |
43 | -<?php printf( __('Build a template for a single event - create a theme template named %1$s Then place it in your theme\'s root directory. For the default WordPress Twenty Thirteen theme, this location will be %2$s.', 'event_espresso'), '<strong>single-espresso_venues.php</strong>','wp-content/themes/twenty-fourteen' ); ?> |
|
43 | +<?php printf(__('Build a template for a single event - create a theme template named %1$s Then place it in your theme\'s root directory. For the default WordPress Twenty Thirteen theme, this location will be %2$s.', 'event_espresso'), '<strong>single-espresso_venues.php</strong>', 'wp-content/themes/twenty-fourteen'); ?> |
|
44 | 44 | </li> |
45 | 45 | </ul> |
46 | 46 | </li> |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | </strong> |
25 | 25 | <?php echo EEH_Template::get_help_tab_link('registration_page_info'); ?> |
26 | 26 | <br /> |
27 | - <?php echo General_Settings_Admin_Page::edit_view_links( $reg_page_id );?> |
|
27 | + <?php echo General_Settings_Admin_Page::edit_view_links($reg_page_id); ?> |
|
28 | 28 | </label> |
29 | 29 | </th> |
30 | 30 | <td> |
@@ -32,10 +32,10 @@ discard block |
||
32 | 32 | <option value="0"> |
33 | 33 | <?php _e('Main Page', 'event_espresso'); ?> |
34 | 34 | </option> |
35 | - <?php General_Settings_Admin_Page::page_settings_dropdown( $reg_page_id ); ?> |
|
35 | + <?php General_Settings_Admin_Page::page_settings_dropdown($reg_page_id); ?> |
|
36 | 36 | </select> |
37 | 37 | <span> |
38 | - <?php echo General_Settings_Admin_Page::page_and_shortcode_status( $reg_page_obj, '[ESPRESSO_CHECKOUT]' ); ?> |
|
38 | + <?php echo General_Settings_Admin_Page::page_and_shortcode_status($reg_page_obj, '[ESPRESSO_CHECKOUT]'); ?> |
|
39 | 39 | </span> |
40 | 40 | <br /> |
41 | 41 | <p class="description"> |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | <?php echo EEH_Template::get_help_tab_link('notify_url_info'); ?> |
60 | 60 | <br /> |
61 | 61 | <span class="lt-grey-text"><?php _e('Notify URL (processes payments)', 'event_espresso'); ?></span><br/> |
62 | - <?php echo General_Settings_Admin_Page::edit_view_links( $txn_page_id );?> |
|
62 | + <?php echo General_Settings_Admin_Page::edit_view_links($txn_page_id); ?> |
|
63 | 63 | </label> |
64 | 64 | </th> |
65 | 65 | <td> |
@@ -67,16 +67,16 @@ discard block |
||
67 | 67 | <option value="0"> |
68 | 68 | <?php _e('Main Page', 'event_espresso'); ?> |
69 | 69 | </option> |
70 | - <?php General_Settings_Admin_Page::page_settings_dropdown( $txn_page_id ); ?> |
|
70 | + <?php General_Settings_Admin_Page::page_settings_dropdown($txn_page_id); ?> |
|
71 | 71 | </select> |
72 | 72 | <span> |
73 | - <?php echo General_Settings_Admin_Page::page_and_shortcode_status( $txn_page_obj, '[ESPRESSO_TXN_PAGE]' ); ?> |
|
73 | + <?php echo General_Settings_Admin_Page::page_and_shortcode_status($txn_page_obj, '[ESPRESSO_TXN_PAGE]'); ?> |
|
74 | 74 | </span> |
75 | 75 | <br /> |
76 | 76 | <p class="description"> |
77 | 77 | <?php |
78 | 78 | echo sprintf( |
79 | - __( 'This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain the %s shortcode.', 'event_espresso' ), |
|
79 | + __('This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain the %s shortcode.', 'event_espresso'), |
|
80 | 80 | '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_TXN_PAGE]</span>' |
81 | 81 | ); |
82 | 82 | ?> |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | </strong> |
94 | 94 | <?php echo EEH_Template::get_help_tab_link('return_url_info'); ?> |
95 | 95 | <br /> |
96 | - <?php echo General_Settings_Admin_Page::edit_view_links( $thank_you_page_id );?> |
|
96 | + <?php echo General_Settings_Admin_Page::edit_view_links($thank_you_page_id); ?> |
|
97 | 97 | </label> |
98 | 98 | </th> |
99 | 99 | <td> |
@@ -101,16 +101,16 @@ discard block |
||
101 | 101 | <option value="0"> |
102 | 102 | <?php _e('Main Page', 'event_espresso'); ?> |
103 | 103 | </option> |
104 | - <?php General_Settings_Admin_Page::page_settings_dropdown( $thank_you_page_id ); ?> |
|
104 | + <?php General_Settings_Admin_Page::page_settings_dropdown($thank_you_page_id); ?> |
|
105 | 105 | </select> |
106 | 106 | <span> |
107 | - <?php echo General_Settings_Admin_Page::page_and_shortcode_status( $thank_you_page_obj, '[ESPRESSO_THANK_YOU]' ); ?> |
|
107 | + <?php echo General_Settings_Admin_Page::page_and_shortcode_status($thank_you_page_obj, '[ESPRESSO_THANK_YOU]'); ?> |
|
108 | 108 | </span> |
109 | 109 | <br /> |
110 | 110 | <p class="description"> |
111 | 111 | <?php |
112 | 112 | echo sprintf( |
113 | - __( 'This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain the %s shortcode.', 'event_espresso' ), |
|
113 | + __('This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain the %s shortcode.', 'event_espresso'), |
|
114 | 114 | '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_THANK_YOU]</span>' |
115 | 115 | ); |
116 | 116 | ?> |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | </strong> |
128 | 128 | <?php echo EEH_Template::get_help_tab_link('cancel_return_info'); ?> |
129 | 129 | <br /> |
130 | - <?php echo General_Settings_Admin_Page::edit_view_links( $cancel_page_id );?> |
|
130 | + <?php echo General_Settings_Admin_Page::edit_view_links($cancel_page_id); ?> |
|
131 | 131 | </label> |
132 | 132 | </th> |
133 | 133 | <td> |
@@ -135,16 +135,16 @@ discard block |
||
135 | 135 | <option value="0"> |
136 | 136 | <?php _e('Main Page', 'event_espresso'); ?> |
137 | 137 | </option> |
138 | - <?php General_Settings_Admin_Page::page_settings_dropdown( $cancel_page_id ); ?> |
|
138 | + <?php General_Settings_Admin_Page::page_settings_dropdown($cancel_page_id); ?> |
|
139 | 139 | </select> |
140 | 140 | <span> |
141 | - <?php echo General_Settings_Admin_Page::page_and_shortcode_status( $cancel_page_obj, '[ESPRESSO_CANCELLED]' ); ?> |
|
141 | + <?php echo General_Settings_Admin_Page::page_and_shortcode_status($cancel_page_obj, '[ESPRESSO_CANCELLED]'); ?> |
|
142 | 142 | </span> |
143 | 143 | <br /> |
144 | 144 | <p class="description"> |
145 | 145 | <?php |
146 | 146 | echo sprintf( |
147 | - __( 'This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain a "cancelled transaction" message and the %s shortcode.', 'event_espresso' ), |
|
147 | + __('This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain a "cancelled transaction" message and the %s shortcode.', 'event_espresso'), |
|
148 | 148 | '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_CANCELLED]</span>' |
149 | 149 | ); |
150 | 150 | ?> |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | </strong> |
162 | 162 | <?php echo EEH_Template::get_help_tab_link('event_list_cpt_info'); ?> |
163 | 163 | <br /> |
164 | - <a href='<?php echo get_post_type_archive_link('espresso_events') ?>'><?php _e('View', 'event_espresso');?></a> |
|
164 | + <a href='<?php echo get_post_type_archive_link('espresso_events') ?>'><?php _e('View', 'event_espresso'); ?></a> |
|
165 | 165 | </label> |
166 | 166 | </th> |
167 | 167 | <td> |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | <?php echo __('Events are custom post types and use WordPress\' normal archive pages for displaying events.', 'event_espresso') ?> |
170 | 170 | </p> |
171 | 171 | <p class="description"> |
172 | - <?php printf(__('If you would still like your events on a page like in Event Espresso 3.1 or earlier, simply create a page and place a shortcode to display them on the page, as described %s here %s', 'event_espresso'),'<a href="admin.php?page=espresso_support">','</a>') ?> |
|
172 | + <?php printf(__('If you would still like your events on a page like in Event Espresso 3.1 or earlier, simply create a page and place a shortcode to display them on the page, as described %s here %s', 'event_espresso'), '<a href="admin.php?page=espresso_support">', '</a>') ?> |
|
173 | 173 | </p> |
174 | 174 | <br/><br/> |
175 | 175 | </td> |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | </strong> |
184 | 184 | <?php echo EEH_Template::get_help_tab_link('venue_list_cpt_info'); ?> |
185 | 185 | <br /> |
186 | - <a href='<?php echo get_post_type_archive_link('espresso_venues') ?>'><?php _e('View', 'event_espresso');?></a> |
|
186 | + <a href='<?php echo get_post_type_archive_link('espresso_venues') ?>'><?php _e('View', 'event_espresso'); ?></a> |
|
187 | 187 | </label> |
188 | 188 | </th> |
189 | 189 | <td> |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | <?php echo __('Venues are custom post types and use WordPress\' normal archive pages for displaying events.', 'event_espresso') ?> |
192 | 192 | </p> |
193 | 193 | <p class="description"> |
194 | - <?php printf(__('If you would still like your venues on a page like in Event Espresso 3.1 or earlier, simply create a page and place a shortcode to display them on the page, as described %s here %s', 'event_espresso'),'<a href="admin.php?page=espresso_support">','</a>') ?> |
|
194 | + <?php printf(__('If you would still like your venues on a page like in Event Espresso 3.1 or earlier, simply create a page and place a shortcode to display them on the page, as described %s here %s', 'event_espresso'), '<a href="admin.php?page=espresso_support">', '</a>') ?> |
|
195 | 195 | </p> |
196 | 196 | </td> |
197 | 197 | </tr> |
@@ -7,14 +7,14 @@ |
||
7 | 7 | * @type string $fieldname The name of the field the chooser is associated with. |
8 | 8 | * @type string $linked_input_id The name of the input that the shortcode gets inserted to. |
9 | 9 | */ |
10 | -if ( ! empty( $shortcodes ) ) : ?> |
|
10 | +if ( ! empty($shortcodes)) : ?> |
|
11 | 11 | <span class="ee-messages-shortcodes-chooser js-open-list-trigger dashicons dashicons-menu"> |
12 | 12 | <ul id="ee_shortcode_chooser_<?php echo $fieldname; ?>" class="ee_shortcode_chooser_container hidden"> |
13 | - <?php foreach( $shortcodes as $shortcode => $label ) : ?> |
|
13 | + <?php foreach ($shortcodes as $shortcode => $label) : ?> |
|
14 | 14 | <li> |
15 | - <span class="js-shortcode-selection" data-value="<?php echo esc_attr( $shortcode ); ?>" data-linked-input-id="<?php echo esc_attr( $linked_input_id ); ?>"><?php echo $shortcode; ?></span> |
|
15 | + <span class="js-shortcode-selection" data-value="<?php echo esc_attr($shortcode); ?>" data-linked-input-id="<?php echo esc_attr($linked_input_id); ?>"><?php echo $shortcode; ?></span> |
|
16 | 16 | </li> |
17 | 17 | <?php endforeach; ?> |
18 | 18 | </ul> |
19 | 19 | </span> |
20 | -<?php endif ; ?> |
|
21 | 20 | \ No newline at end of file |
21 | +<?php endif; ?> |
|
22 | 22 | \ No newline at end of file |