@@ -34,48 +34,48 @@ discard block |
||
34 | 34 | <tr> |
35 | 35 | <th id="details-<?php echo esc_attr($EVT_ID); ?>" scope="col" class="ee-ticket-selector-ticket-details-th"> |
36 | 36 | <?php |
37 | - echo apply_filters( |
|
38 | - 'FHEE__ticket_selector_chart_template__table_header_available_tickets', |
|
39 | - esc_html__('Details', 'event_espresso'), |
|
40 | - $EVT_ID |
|
41 | - ); |
|
42 | - ?> |
|
37 | + echo apply_filters( |
|
38 | + 'FHEE__ticket_selector_chart_template__table_header_available_tickets', |
|
39 | + esc_html__('Details', 'event_espresso'), |
|
40 | + $EVT_ID |
|
41 | + ); |
|
42 | + ?> |
|
43 | 43 | </th> |
44 | 44 | <?php if (apply_filters('FHEE__ticket_selector_chart_template__display_ticket_price_details', true)) { ?> |
45 | 45 | <th id="price-<?php echo esc_attr($EVT_ID); ?>" scope="col" class="ee-ticket-selector-ticket-price-th cntr"> |
46 | 46 | <?php |
47 | - /** |
|
48 | - * Filters the text printed for the header of the price column in the ticket selector table |
|
49 | - * |
|
50 | - * @since 4.7.2 |
|
51 | - * |
|
52 | - * @param string 'Price' The translatable text to display in the table header for price |
|
53 | - * @param int $EVT_ID The Event ID |
|
54 | - */ |
|
55 | - echo apply_filters( |
|
56 | - 'FHEE__ticket_selector_chart_template__table_header_price', |
|
57 | - esc_html__('Price', 'event_espresso'), |
|
58 | - $EVT_ID |
|
59 | - ); |
|
60 | - ?> |
|
47 | + /** |
|
48 | + * Filters the text printed for the header of the price column in the ticket selector table |
|
49 | + * |
|
50 | + * @since 4.7.2 |
|
51 | + * |
|
52 | + * @param string 'Price' The translatable text to display in the table header for price |
|
53 | + * @param int $EVT_ID The Event ID |
|
54 | + */ |
|
55 | + echo apply_filters( |
|
56 | + 'FHEE__ticket_selector_chart_template__table_header_price', |
|
57 | + esc_html__('Price', 'event_espresso'), |
|
58 | + $EVT_ID |
|
59 | + ); |
|
60 | + ?> |
|
61 | 61 | </th> |
62 | 62 | <?php } ?> |
63 | 63 | <th id="quantity-<?php echo esc_attr($EVT_ID); ?>" scope="col" class="ee-ticket-selector-ticket-qty-th cntr"> |
64 | 64 | <?php |
65 | - /** |
|
66 | - * Filters the text printed for the header of the quantity column in the ticket selector table |
|
67 | - * |
|
68 | - * @since 4.7.2 |
|
69 | - * |
|
70 | - * @param string 'Qty' The translatable text to display in the table header for the Quantity of tickets |
|
71 | - * @param int $EVT_ID The Event ID |
|
72 | - */ |
|
73 | - echo apply_filters( |
|
74 | - 'FHEE__ticket_selector_chart_template__table_header_qty', |
|
75 | - esc_html__('Qty', 'event_espresso'), |
|
76 | - $EVT_ID |
|
77 | - ); |
|
78 | - ?> |
|
65 | + /** |
|
66 | + * Filters the text printed for the header of the quantity column in the ticket selector table |
|
67 | + * |
|
68 | + * @since 4.7.2 |
|
69 | + * |
|
70 | + * @param string 'Qty' The translatable text to display in the table header for the Quantity of tickets |
|
71 | + * @param int $EVT_ID The Event ID |
|
72 | + */ |
|
73 | + echo apply_filters( |
|
74 | + 'FHEE__ticket_selector_chart_template__table_header_qty', |
|
75 | + esc_html__('Qty', 'event_espresso'), |
|
76 | + $EVT_ID |
|
77 | + ); |
|
78 | + ?> |
|
79 | 79 | </th> |
80 | 80 | </tr> |
81 | 81 | </thead> |
@@ -85,12 +85,12 @@ discard block |
||
85 | 85 | </table> |
86 | 86 | <?php |
87 | 87 | if ($taxable_tickets && apply_filters('FHEE__ticket_selector_chart_template__display_ticket_price_details', true)) { |
88 | - if ($prices_displayed_including_taxes) { |
|
89 | - $ticket_price_includes_taxes = esc_html__('* price includes taxes', 'event_espresso'); |
|
90 | - } else { |
|
91 | - $ticket_price_includes_taxes = esc_html__('* price does not include taxes', 'event_espresso'); |
|
92 | - } |
|
93 | - echo '<p class="small-text lt-grey-text" style="text-align:right; margin: -1em 0 1em;"> |
|
88 | + if ($prices_displayed_including_taxes) { |
|
89 | + $ticket_price_includes_taxes = esc_html__('* price includes taxes', 'event_espresso'); |
|
90 | + } else { |
|
91 | + $ticket_price_includes_taxes = esc_html__('* price does not include taxes', 'event_espresso'); |
|
92 | + } |
|
93 | + echo '<p class="small-text lt-grey-text" style="text-align:right; margin: -1em 0 1em;"> |
|
94 | 94 | ' . $ticket_price_includes_taxes . ' |
95 | 95 | </p>'; |
96 | 96 | } |
@@ -100,12 +100,12 @@ discard block |
||
100 | 100 | |
101 | 101 | <?php |
102 | 102 | if ($max_atndz > 0) { |
103 | - echo apply_filters( |
|
104 | - 'FHEE__ticket_selector_chart_template__maximum_tickets_purchased_footnote', |
|
105 | - esc_html('') |
|
106 | - ); |
|
103 | + echo apply_filters( |
|
104 | + 'FHEE__ticket_selector_chart_template__maximum_tickets_purchased_footnote', |
|
105 | + esc_html('') |
|
106 | + ); |
|
107 | 107 | } |
108 | 108 | if (! apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) { |
109 | - add_filter('FHEE__EE_Ticket_Selector__no_ticket_selector_submit', '__return_true'); |
|
109 | + add_filter('FHEE__EE_Ticket_Selector__no_ticket_selector_submit', '__return_true'); |
|
110 | 110 | } |
111 | 111 | do_action('AHEE__ticket_selector_chart__template__after_ticket_selector', $EVT_ID, $event); |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | $ticket_price_includes_taxes = esc_html__('* price does not include taxes', 'event_espresso'); |
92 | 92 | } |
93 | 93 | echo '<p class="small-text lt-grey-text" style="text-align:right; margin: -1em 0 1em;"> |
94 | - ' . $ticket_price_includes_taxes . ' |
|
94 | + ' . $ticket_price_includes_taxes.' |
|
95 | 95 | </p>'; |
96 | 96 | } |
97 | 97 | ?> |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | esc_html('') |
106 | 106 | ); |
107 | 107 | } |
108 | -if (! apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) { |
|
108 | +if ( ! apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) { |
|
109 | 109 | add_filter('FHEE__EE_Ticket_Selector__no_ticket_selector_submit', '__return_true'); |
110 | 110 | } |
111 | 111 | do_action('AHEE__ticket_selector_chart__template__after_ticket_selector', $EVT_ID, $event); |
@@ -18,14 +18,14 @@ discard block |
||
18 | 18 | /> |
19 | 19 | <?php |
20 | 20 | if ($ticket instanceof EE_Ticket) { |
21 | - do_action('AHEE__ticket_selector_chart__template__before_ticket_selector', $event); |
|
22 | - $ticket_description .= ! empty($ticket_description) |
|
23 | - ? '<br />' . $ticket_status_display |
|
24 | - : $ticket_status_display; |
|
25 | - if (strpos($ticket_description, '<div') === false) { |
|
26 | - $ticket_description = "<p>{$ticket_description}</p>"; |
|
27 | - } |
|
28 | - ?> |
|
21 | + do_action('AHEE__ticket_selector_chart__template__before_ticket_selector', $event); |
|
22 | + $ticket_description .= ! empty($ticket_description) |
|
23 | + ? '<br />' . $ticket_status_display |
|
24 | + : $ticket_status_display; |
|
25 | + if (strpos($ticket_description, '<div') === false) { |
|
26 | + $ticket_description = "<p>{$ticket_description}</p>"; |
|
27 | + } |
|
28 | + ?> |
|
29 | 29 | <div id="no-tkt-slctr-ticket-dv-<?php echo esc_attr($EVT_ID); ?>" class="no-tkt-slctr-ticket-dv"> |
30 | 30 | <div class="no-tkt-slctr-ticket-content-dv"> |
31 | 31 | <h5><?php echo esc_html($ticket->name()); ?></h5> |
@@ -34,5 +34,5 @@ discard block |
||
34 | 34 | <?php } ?> |
35 | 35 | </div><!-- .no-tkt-slctr-ticket-content-dv --> |
36 | 36 | <?php |
37 | - do_action('AHEE__ticket_selector_chart__template__after_ticket_selector', $EVT_ID, $event); |
|
37 | + do_action('AHEE__ticket_selector_chart__template__after_ticket_selector', $EVT_ID, $event); |
|
38 | 38 | } |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | if ($ticket instanceof EE_Ticket) { |
28 | 28 | do_action('AHEE__ticket_selector_chart__template__before_ticket_selector', $event); |
29 | 29 | $ticket_description .= ! empty($ticket_description) |
30 | - ? '<br />' . $ticket_status_display |
|
30 | + ? '<br />'.$ticket_status_display |
|
31 | 31 | : $ticket_status_display; |
32 | 32 | if (strpos($ticket_description, '<div') === false) { |
33 | 33 | $ticket_description = "<p>{$ticket_description}</p>"; |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | <div id="no-tkt-slctr-ticket-dv-<?php echo esc_attr($EVT_ID); ?>" class="no-tkt-slctr-ticket-dv"> |
37 | 37 | <div class="no-tkt-slctr-ticket-content-dv"> |
38 | 38 | <h5><?php echo esc_html($ticket->name()); ?></h5> |
39 | - <?php if (! empty($ticket_description)) { ?> |
|
39 | + <?php if ( ! empty($ticket_description)) { ?> |
|
40 | 40 | <?php echo wp_kses($ticket_description, AllowedTags::getAllowedTags()); ?> |
41 | 41 | <?php } ?> |
42 | 42 | </div><!-- .no-tkt-slctr-ticket-content-dv --> |
@@ -8,11 +8,11 @@ |
||
8 | 8 | <li class="ticket-registration"> |
9 | 9 | <table class="registration-details"> |
10 | 10 | <tr class="odd"> |
11 | - <th><?php _e('Attendee', 'event_espresso');?></th> |
|
11 | + <th><?php _e('Attendee', 'event_espresso'); ?></th> |
|
12 | 12 | <td>[FNAME] [LNAME] ([ATTENDEE_EMAIL])</td> |
13 | 13 | </tr> |
14 | 14 | <tr> |
15 | - <th><?php esc_html_e("Registration Code:", "event_espresso");?></th> |
|
15 | + <th><?php esc_html_e("Registration Code:", "event_espresso"); ?></th> |
|
16 | 16 | <td>[REGISTRATION_CODE] - <span class="[REGISTRATION_STATUS_ID]">[REGISTRATION_STATUS_LABEL]</span></td> |
17 | 17 | </tr> |
18 | 18 | <tr> |
@@ -17,39 +17,39 @@ discard block |
||
17 | 17 | <div class="sandbox-panel"> |
18 | 18 | <h2 class="section-title"><?php esc_html_e('PayPal Sandbox Mode', 'event_espresso'); ?></h2> |
19 | 19 | <h3 style="color:#ff0000;"><?php |
20 | - esc_html_e( |
|
21 | - 'Debug Mode Is Turned On. Payments will not be processed', |
|
22 | - 'event_espresso' |
|
23 | - ); ?></h3> |
|
20 | + esc_html_e( |
|
21 | + 'Debug Mode Is Turned On. Payments will not be processed', |
|
22 | + 'event_espresso' |
|
23 | + ); ?></h3> |
|
24 | 24 | |
25 | 25 | <p class="test-credit-cards-info-pg" style="margin-bottom:0;"> |
26 | 26 | <strong><?php esc_html_e('Testing Guidelines', 'event_espresso'); ?></strong> |
27 | 27 | </p> |
28 | 28 | <ul style="margin:1em 2em 1.5em; line-height:1.2em;"> |
29 | 29 | <li><?php |
30 | - esc_html_e( |
|
31 | - 'While testing, use the credit card number associated with your sandbox account.', |
|
32 | - 'event_espresso' |
|
33 | - ); ?></li> |
|
30 | + esc_html_e( |
|
31 | + 'While testing, use the credit card number associated with your sandbox account.', |
|
32 | + 'event_espresso' |
|
33 | + ); ?></li> |
|
34 | 34 | <li><?php |
35 | - printf( |
|
36 | - esc_html__( |
|
37 | - 'To find the sandbox account\'s credit card, go to %1$s, then "Dashboard", then under Sandbox click "Accounts", then click your account and click "Profile", then in the popup that appears click on the "Funding" tab. Your testing card is listed there.', |
|
38 | - 'event_espresso' |
|
39 | - ), |
|
40 | - '<a href="http://developer.paypal.com">developer.paypal.com</a>' |
|
41 | - ); ?></li> |
|
35 | + printf( |
|
36 | + esc_html__( |
|
37 | + 'To find the sandbox account\'s credit card, go to %1$s, then "Dashboard", then under Sandbox click "Accounts", then click your account and click "Profile", then in the popup that appears click on the "Funding" tab. Your testing card is listed there.', |
|
38 | + 'event_espresso' |
|
39 | + ), |
|
40 | + '<a href="http://developer.paypal.com">developer.paypal.com</a>' |
|
41 | + ); ?></li> |
|
42 | 42 | <li><?php |
43 | - esc_html_e('CVV2 should be 115', 'event_espresso'); ?></li> |
|
43 | + esc_html_e('CVV2 should be 115', 'event_espresso'); ?></li> |
|
44 | 44 | </ul> |
45 | 45 | |
46 | 46 | <p class="test-credit-cards-info-pg"> |
47 | 47 | <strong><?php esc_html_e('Credit Card Numbers Used for Testing', 'event_espresso'); ?></strong><br/> |
48 | 48 | <span class="small-text"><?php |
49 | - esc_html_e( |
|
50 | - 'Use the following credit card numbers for testing. Any other card number produces a general failure.', |
|
51 | - 'event_espresso' |
|
52 | - ); ?></span> |
|
49 | + esc_html_e( |
|
50 | + 'Use the following credit card numbers for testing. Any other card number produces a general failure.', |
|
51 | + 'event_espresso' |
|
52 | + ); ?></span> |
|
53 | 53 | </p> |
54 | 54 | |
55 | 55 | <div class="tbl-wrap"> |
@@ -73,18 +73,18 @@ discard block |
||
73 | 73 | <p class="test-credit-cards-info-pg"> |
74 | 74 | <strong><?php esc_html_e('Testing Result Code Responses', 'event_espresso'); ?></strong><br/> |
75 | 75 | <span class="small-text"><?php |
76 | - printf( |
|
77 | - esc_html__( |
|
78 | - 'You can use the amount of the transaction to generate a particular result code (see %s PayPal\'s documentation%s). The table below lists the general guidelines for specifying amounts. IMPORTANT: before you attempt any of these, ensure your sandbox PayPal account has %s "Negative Testing" set to on%s. Also be aware that you can generate AVS errors by using certain strings in your address field, and CVV errors using certain CVV values. See %s this PayPal doc %s', |
|
79 | - 'event_espresso' |
|
80 | - ), |
|
81 | - "<a href='https://developer.paypal.com/docs/classic/api/errorcodes/#id09C3GA00GR1' target='_blank'>", |
|
82 | - "</a>", |
|
83 | - "<a href='https://docs.google.com/a/eventespresso.com/file/d/0B5P8GXTvZgfMNXNkZ2s5VUlHTUk/edit?usp=drivesdk' target='_blank'>", |
|
84 | - "</a>", |
|
85 | - "<a href='https://cms.paypal.com/ca/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_testing_SBTestErrorConditions' target='_blank'>", |
|
86 | - "</a>" |
|
87 | - ); ?></span> |
|
76 | + printf( |
|
77 | + esc_html__( |
|
78 | + 'You can use the amount of the transaction to generate a particular result code (see %s PayPal\'s documentation%s). The table below lists the general guidelines for specifying amounts. IMPORTANT: before you attempt any of these, ensure your sandbox PayPal account has %s "Negative Testing" set to on%s. Also be aware that you can generate AVS errors by using certain strings in your address field, and CVV errors using certain CVV values. See %s this PayPal doc %s', |
|
79 | + 'event_espresso' |
|
80 | + ), |
|
81 | + "<a href='https://developer.paypal.com/docs/classic/api/errorcodes/#id09C3GA00GR1' target='_blank'>", |
|
82 | + "</a>", |
|
83 | + "<a href='https://docs.google.com/a/eventespresso.com/file/d/0B5P8GXTvZgfMNXNkZ2s5VUlHTUk/edit?usp=drivesdk' target='_blank'>", |
|
84 | + "</a>", |
|
85 | + "<a href='https://cms.paypal.com/ca/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_testing_SBTestErrorConditions' target='_blank'>", |
|
86 | + "</a>" |
|
87 | + ); ?></span> |
|
88 | 88 | </p> |
89 | 89 | |
90 | 90 | <div class="tbl-wrap"> |
@@ -18,9 +18,9 @@ |
||
18 | 18 | |
19 | 19 | <p> |
20 | 20 | <?php esc_html_e( |
21 | - 'Test Mode allows you to submit test transactions to the payment gateway. Transactions that are submitted while Test Mode is ON are NOT actually processed. The result of a transaction depends on the card number submitted, and the invoice amount. If you want a transaction to be approved, use one of the following card numbers.', |
|
22 | - 'event_espresso' |
|
23 | - ); ?> |
|
21 | + 'Test Mode allows you to submit test transactions to the payment gateway. Transactions that are submitted while Test Mode is ON are NOT actually processed. The result of a transaction depends on the card number submitted, and the invoice amount. If you want a transaction to be approved, use one of the following card numbers.', |
|
22 | + 'event_espresso' |
|
23 | + ); ?> |
|
24 | 24 | </p> |
25 | 25 | |
26 | 26 | <p> |
@@ -20,8 +20,11 @@ |
||
20 | 20 | ); |
21 | 21 | ?> |
22 | 22 | </p> |
23 | - <?php else : ?> |
|
24 | - <?php echo EEH_Form_Fields::select_input('PRT_ID', $price_types, $price->type(), 'id="PRT_ID"'); ?> |
|
23 | + <?php else { |
|
24 | + : ?> |
|
25 | + <?php echo EEH_Form_Fields::select_input('PRT_ID', $price_types, $price->type(), 'id="PRT_ID"'); |
|
26 | +} |
|
27 | +?> |
|
25 | 28 | <p class="description"> |
26 | 29 | <?php |
27 | 30 | esc_html_e( |
@@ -4,40 +4,40 @@ discard block |
||
4 | 4 | <tbody> |
5 | 5 | <tr valign="top"> |
6 | 6 | <th><label for="PRT_ID"><?php |
7 | - esc_html_e( |
|
8 | - 'Type', |
|
9 | - 'event_espresso' |
|
10 | - ); ?></label> <?php echo EEH_Template::get_help_tab_link('type_field_info'); ?></th> |
|
7 | + esc_html_e( |
|
8 | + 'Type', |
|
9 | + 'event_espresso' |
|
10 | + ); ?></label> <?php echo EEH_Template::get_help_tab_link('type_field_info'); ?></th> |
|
11 | 11 | <td> |
12 | 12 | <?php if ($price->type_obj() && $price->type_obj()->base_type() === 1) : ?> |
13 | 13 | <input type="hidden" name="PRT_ID" id="PRT_ID" value="<?php echo esc_attr($price->type()); ?>"/> |
14 | 14 | <p><strong><?php esc_html_e('Price', 'event_espresso'); ?></strong></p> |
15 | 15 | <p class="description"> |
16 | 16 | <?php |
17 | - esc_html_e( |
|
18 | - 'This is the default base price. Every new ticket created will start off with this base price.', |
|
19 | - 'event_espresso' |
|
20 | - ); |
|
21 | - ?> |
|
17 | + esc_html_e( |
|
18 | + 'This is the default base price. Every new ticket created will start off with this base price.', |
|
19 | + 'event_espresso' |
|
20 | + ); |
|
21 | + ?> |
|
22 | 22 | </p> |
23 | 23 | <?php else : ?> |
24 | 24 | <?php echo EEH_Form_Fields::select_input('PRT_ID', $price_types, $price->type(), 'id="PRT_ID"'); ?> |
25 | 25 | <p class="description"> |
26 | 26 | <?php |
27 | - esc_html_e( |
|
28 | - 'Price Modifier. Default items will apply to ALL new events you create.', |
|
29 | - 'event_espresso' |
|
30 | - ); |
|
31 | - ?></p> |
|
27 | + esc_html_e( |
|
28 | + 'Price Modifier. Default items will apply to ALL new events you create.', |
|
29 | + 'event_espresso' |
|
30 | + ); |
|
31 | + ?></p> |
|
32 | 32 | <?php endif; ?> |
33 | 33 | </td> |
34 | 34 | </tr> |
35 | 35 | <tr valign="top"> |
36 | 36 | <th><label for="PRC_name"><?php |
37 | - esc_html_e( |
|
38 | - 'Name', |
|
39 | - 'event_espresso' |
|
40 | - ); ?></label> <?php echo EEH_Template::get_help_tab_link('name_field_info'); ?></th> |
|
37 | + esc_html_e( |
|
38 | + 'Name', |
|
39 | + 'event_espresso' |
|
40 | + ); ?></label> <?php echo EEH_Template::get_help_tab_link('name_field_info'); ?></th> |
|
41 | 41 | <td> |
42 | 42 | <input class="regular-text" type="text" id="PRC_name" name="PRC_name" |
43 | 43 | value="<?php $price->f('PRC_name'); ?>"/> |
@@ -45,22 +45,22 @@ discard block |
||
45 | 45 | </tr> |
46 | 46 | <tr valign="top"> |
47 | 47 | <th><label for="PRC_desc"><?php |
48 | - esc_html_e( |
|
49 | - 'Description', |
|
50 | - 'event_espresso' |
|
51 | - ); ?></label> <?php echo EEH_Template::get_help_tab_link('description_field_info'); ?></th> |
|
48 | + esc_html_e( |
|
49 | + 'Description', |
|
50 | + 'event_espresso' |
|
51 | + ); ?></label> <?php echo EEH_Template::get_help_tab_link('description_field_info'); ?></th> |
|
52 | 52 | <td> |
53 | 53 | <textarea class="regular-text" id="PRC_desc" name="PRC_desc" rows="5"><?php |
54 | - echo esc_textarea($price->get_f('PRC_desc')); |
|
55 | - ?></textarea><br/> |
|
54 | + echo esc_textarea($price->get_f('PRC_desc')); |
|
55 | + ?></textarea><br/> |
|
56 | 56 | </td> |
57 | 57 | </tr> |
58 | 58 | <tr valign="top"> |
59 | 59 | <th><label for="PRC_amount"><?php |
60 | - esc_html_e( |
|
61 | - 'Amount', |
|
62 | - 'event_espresso' |
|
63 | - ); ?><?php echo EEH_Template::get_help_tab_link('amount_field_info'); ?></label></th> |
|
60 | + esc_html_e( |
|
61 | + 'Amount', |
|
62 | + 'event_espresso' |
|
63 | + ); ?><?php echo EEH_Template::get_help_tab_link('amount_field_info'); ?></label></th> |
|
64 | 64 | <td> |
65 | 65 | <input class="small-text ee-numeric" type="text" id="PRC_amount" name="PRC_amount" |
66 | 66 | value="<?php echo esc_attr($price->amount()); ?>"/> |
@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | public function extra_news_box_content($content) |
42 | 42 | { |
43 | - echo '<h3 style="margin:0">' . esc_html__('From the Forums', 'event_espresso') . '</h3>'; |
|
43 | + echo '<h3 style="margin:0">'.esc_html__('From the Forums', 'event_espresso').'</h3>'; |
|
44 | 44 | echo '<div id="ee_forum_posts_content">'; |
45 | 45 | $url = 'https://eventespresso.com/forum/event-espresso-support/feed/'; |
46 | 46 | EE_Admin_Page::cached_rss_display('ee_forum_posts_content', $url); |
@@ -14,42 +14,42 @@ |
||
14 | 14 | */ |
15 | 15 | class Global_EE_Caf_Hooks |
16 | 16 | { |
17 | - public function __construct() |
|
18 | - { |
|
19 | - $this->_do_hooks(); |
|
20 | - } |
|
17 | + public function __construct() |
|
18 | + { |
|
19 | + $this->_do_hooks(); |
|
20 | + } |
|
21 | 21 | |
22 | 22 | |
23 | - private function _do_hooks() |
|
24 | - { |
|
25 | - add_filter('FHEE_show_sponsors_meta_box', '__return_false', 10); |
|
26 | - add_filter('FHEE_show_ratings_request_meta_box', '__return_false', 10); |
|
27 | - add_filter( |
|
28 | - 'FHEE__EE_Admin_Page_Core__load_global_scripts_styles__loader_containers', |
|
29 | - array($this, 'forums_lazy_loading'), |
|
30 | - 10 |
|
31 | - ); |
|
32 | - add_action( |
|
33 | - 'AHEE__EE_Admin_Page__espresso_news_post_box__after_content', |
|
34 | - array($this, 'extra_news_box_content'), |
|
35 | - 10 |
|
36 | - ); |
|
37 | - } |
|
23 | + private function _do_hooks() |
|
24 | + { |
|
25 | + add_filter('FHEE_show_sponsors_meta_box', '__return_false', 10); |
|
26 | + add_filter('FHEE_show_ratings_request_meta_box', '__return_false', 10); |
|
27 | + add_filter( |
|
28 | + 'FHEE__EE_Admin_Page_Core__load_global_scripts_styles__loader_containers', |
|
29 | + array($this, 'forums_lazy_loading'), |
|
30 | + 10 |
|
31 | + ); |
|
32 | + add_action( |
|
33 | + 'AHEE__EE_Admin_Page__espresso_news_post_box__after_content', |
|
34 | + array($this, 'extra_news_box_content'), |
|
35 | + 10 |
|
36 | + ); |
|
37 | + } |
|
38 | 38 | |
39 | 39 | |
40 | - public function extra_news_box_content($content) |
|
41 | - { |
|
42 | - echo '<h3 style="margin:0">' . esc_html__('From the Forums', 'event_espresso') . '</h3>'; |
|
43 | - echo '<div id="ee_forum_posts_content">'; |
|
44 | - $url = 'https://eventespresso.com/forum/event-espresso-support/feed/'; |
|
45 | - EE_Admin_Page::cached_rss_display('ee_forum_posts_content', $url); |
|
46 | - echo '</div>'; |
|
47 | - } |
|
40 | + public function extra_news_box_content($content) |
|
41 | + { |
|
42 | + echo '<h3 style="margin:0">' . esc_html__('From the Forums', 'event_espresso') . '</h3>'; |
|
43 | + echo '<div id="ee_forum_posts_content">'; |
|
44 | + $url = 'https://eventespresso.com/forum/event-espresso-support/feed/'; |
|
45 | + EE_Admin_Page::cached_rss_display('ee_forum_posts_content', $url); |
|
46 | + echo '</div>'; |
|
47 | + } |
|
48 | 48 | |
49 | 49 | |
50 | - public function forums_lazy_loading($ids) |
|
51 | - { |
|
52 | - $ids[] = 'ee_forum_posts_content'; |
|
53 | - return $ids; |
|
54 | - } |
|
50 | + public function forums_lazy_loading($ids) |
|
51 | + { |
|
52 | + $ids[] = 'ee_forum_posts_content'; |
|
53 | + return $ids; |
|
54 | + } |
|
55 | 55 | } |
@@ -2,29 +2,29 @@ discard block |
||
2 | 2 | <h2 class="about-headline-callout"><?php esc_html_e('Welcome to Event Espresso 4!', 'event_espresso'); ?></h2> |
3 | 3 | <p> |
4 | 4 | <?php printf( |
5 | - esc_html__( |
|
6 | - 'Manage your events from your WordPress dashboard. Reduce your admin, reduce your costs, make your life easier! This is the Caffeinated/Regular version of Event Espresso, but we also have a hosted version called %sEvent Smart%s for customers that want to cut back on their hosting and security expenses.', |
|
7 | - 'event_espresso' |
|
8 | - ), |
|
9 | - '<a href="https://eventsmart.com//?utm_source=ee4_decaf&utm_medium=link&utm_campaign=espresso_about_tab&utm_content=EE4+Caffeinated">', |
|
10 | - '</a>' |
|
11 | - ); ?> |
|
5 | + esc_html__( |
|
6 | + 'Manage your events from your WordPress dashboard. Reduce your admin, reduce your costs, make your life easier! This is the Caffeinated/Regular version of Event Espresso, but we also have a hosted version called %sEvent Smart%s for customers that want to cut back on their hosting and security expenses.', |
|
7 | + 'event_espresso' |
|
8 | + ), |
|
9 | + '<a href="https://eventsmart.com//?utm_source=ee4_decaf&utm_medium=link&utm_campaign=espresso_about_tab&utm_content=EE4+Caffeinated">', |
|
10 | + '</a>' |
|
11 | + ); ?> |
|
12 | 12 | </p> |
13 | 13 | <h2> |
14 | 14 | <?php esc_html_e( |
15 | - 'Powering 40,000+ event websites; $100 million in ticket sales per year!', |
|
16 | - 'event_espresso' |
|
17 | - ); ?> |
|
15 | + 'Powering 40,000+ event websites; $100 million in ticket sales per year!', |
|
16 | + 'event_espresso' |
|
17 | + ); ?> |
|
18 | 18 | </h2> |
19 | 19 | <p> |
20 | 20 | <?php printf( |
21 | - esc_html__( |
|
22 | - 'Event Espresso is a %sWordPress event manager%s which makes it easy for you to register attendees for classes, workshops, events, trainings, conferences or concerts, all from your WordPress website. Event Espresso events are created from the WordPress admin area. You can create signup forms to collect information about your attendees, accept payments, and create reports. The lite version of the plugin provides everything that you need to manage your event using WordPress.', |
|
23 | - 'event_espresso' |
|
24 | - ), |
|
25 | - '<a href="https://eventespresso.com/?utm_source=wordpress_org&utm_medium=link&utm_campaign=espresso_about_tab&utm_content=EE4+Decaf" rel="nofollow">', |
|
26 | - '</a>' |
|
27 | - ); ?> |
|
21 | + esc_html__( |
|
22 | + 'Event Espresso is a %sWordPress event manager%s which makes it easy for you to register attendees for classes, workshops, events, trainings, conferences or concerts, all from your WordPress website. Event Espresso events are created from the WordPress admin area. You can create signup forms to collect information about your attendees, accept payments, and create reports. The lite version of the plugin provides everything that you need to manage your event using WordPress.', |
|
23 | + 'event_espresso' |
|
24 | + ), |
|
25 | + '<a href="https://eventespresso.com/?utm_source=wordpress_org&utm_medium=link&utm_campaign=espresso_about_tab&utm_content=EE4+Decaf" rel="nofollow">', |
|
26 | + '</a>' |
|
27 | + ); ?> |
|
28 | 28 | </p> |
29 | 29 | </div> |
30 | 30 | <div class="feature-section has-3-columns is-fullwidth three-col"> |
@@ -33,10 +33,10 @@ discard block |
||
33 | 33 | <h3><?php esc_html_e('Optimized aesthetic', 'event_espresso'); ?></h3> |
34 | 34 | <p> |
35 | 35 | <?php |
36 | - esc_html_e( |
|
37 | - 'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.', |
|
38 | - 'event_espresso' |
|
39 | - ); ?> |
|
36 | + esc_html_e( |
|
37 | + 'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.', |
|
38 | + 'event_espresso' |
|
39 | + ); ?> |
|
40 | 40 | </p> |
41 | 41 | </div> |
42 | 42 | <div class="column col"> |
@@ -44,9 +44,9 @@ discard block |
||
44 | 44 | <h3><?php esc_html_e('Integrated management', 'event_espresso'); ?></h3> |
45 | 45 | <p> |
46 | 46 | <?php esc_html_e( |
47 | - 'We’ve made it easier to know who your customers are and how they’ve done business with you over time.', |
|
48 | - 'event_espresso' |
|
49 | - ); ?> |
|
47 | + 'We’ve made it easier to know who your customers are and how they’ve done business with you over time.', |
|
48 | + 'event_espresso' |
|
49 | + ); ?> |
|
50 | 50 | </p> |
51 | 51 | </div> |
52 | 52 | <div class="column col last-feature"> |
@@ -54,9 +54,9 @@ discard block |
||
54 | 54 | <h3><?php esc_html_e('Easy bookkeeping', 'event_espresso'); ?></h3> |
55 | 55 | <p> |
56 | 56 | <?php esc_html_e( |
57 | - 'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.', |
|
58 | - 'event_espresso' |
|
59 | - ); ?> |
|
57 | + 'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.', |
|
58 | + 'event_espresso' |
|
59 | + ); ?> |
|
60 | 60 | </p> |
61 | 61 | </div> |
62 | 62 | </div> |
@@ -68,16 +68,16 @@ discard block |
||
68 | 68 | <h3><?php esc_html_e('Higher customer retention', 'event_espresso'); ?></h3> |
69 | 69 | <p> |
70 | 70 | <?php esc_html_e( |
71 | - 'The Event Espresso 4 registration process is faster than ever. With quick ticket selections, single page check-out, and customizable notifications! Registration that can scale to your business needs.', |
|
72 | - 'event_espresso' |
|
73 | - ); ?> |
|
71 | + 'The Event Espresso 4 registration process is faster than ever. With quick ticket selections, single page check-out, and customizable notifications! Registration that can scale to your business needs.', |
|
72 | + 'event_espresso' |
|
73 | + ); ?> |
|
74 | 74 | </p> |
75 | 75 | <h4><?php esc_html_e('Ticket selection boxes on any post page or post', 'event_espresso'); ?></h4> |
76 | 76 | <p> |
77 | 77 | <?php esc_html_e( |
78 | - 'Customers can easily register for classes, events, or conferences, in just a few simple steps. No matter how you use it, Event Espresso 4 will adapt to a multitude of different ticketing and pricing scenarios.', |
|
79 | - 'event_espresso' |
|
80 | - ); ?> |
|
78 | + 'Customers can easily register for classes, events, or conferences, in just a few simple steps. No matter how you use it, Event Espresso 4 will adapt to a multitude of different ticketing and pricing scenarios.', |
|
79 | + 'event_espresso' |
|
80 | + ); ?> |
|
81 | 81 | </p> |
82 | 82 | </div> |
83 | 83 | <div class="column col last-feature about-colors-img"> |
@@ -90,22 +90,22 @@ discard block |
||
90 | 90 | <h3><?php esc_html_e('Refined event management', 'event_espresso'); ?></h3> |
91 | 91 | <p> |
92 | 92 | <?php esc_html_e( |
93 | - 'The new event management screen lets you survey your events at a glance. Want more information? Click to view more. Quickly add/edit prices, dates, or information in any event.', |
|
94 | - 'event_espresso' |
|
95 | - ); ?> |
|
93 | + 'The new event management screen lets you survey your events at a glance. Want more information? Click to view more. Quickly add/edit prices, dates, or information in any event.', |
|
94 | + 'event_espresso' |
|
95 | + ); ?> |
|
96 | 96 | </p> |
97 | 97 | <h4><?php esc_html_e('Smoother price types, taxes, and price modifiers', 'event_espresso'); ?></h4> |
98 | 98 | <p> |
99 | 99 | <?php esc_html_e( |
100 | - 'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket', |
|
101 | - 'event_espresso' |
|
102 | - ); ?>. |
|
100 | + 'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket', |
|
101 | + 'event_espresso' |
|
102 | + ); ?>. |
|
103 | 103 | </p> |
104 | 104 | <p> |
105 | 105 | <?php esc_html_e( |
106 | - 'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.', |
|
107 | - 'event_espresso' |
|
108 | - ); ?> |
|
106 | + 'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.', |
|
107 | + 'event_espresso' |
|
108 | + ); ?> |
|
109 | 109 | </p> |
110 | 110 | </div> |
111 | 111 | <div class="column col last-feature about-themes-img"> |
@@ -117,46 +117,46 @@ discard block |
||
117 | 117 | |
118 | 118 | <h2 class="about-headline-callout"> |
119 | 119 | <?php esc_html_e( |
120 | - 'People Like You Manage Event Registration with WordPress', |
|
121 | - 'event_espresso' |
|
122 | - ); ?> |
|
120 | + 'People Like You Manage Event Registration with WordPress', |
|
121 | + 'event_espresso' |
|
122 | + ); ?> |
|
123 | 123 | </h2> |
124 | 124 | <div class="feature-section has-2-columns is-fullwidth two-col"> |
125 | 125 | <div class="column col"> |
126 | 126 | <p> |
127 | 127 | <?php printf( |
128 | - esc_html__( |
|
129 | - 'Trusted by thousands, Event Espresso is the best WordPress event online registration and ticketing manager plugin–and the best supported with full-time support. Turn your existing blog or website into a %sfully-featured event management website%s and a new way to make money. With Event Espresso you get it all; everything from custom registration forms and emails, seating limits, multiple price options, and discount codes to printable tickets.', |
|
130 | - 'event_espresso' |
|
131 | - ), |
|
132 | - '<strong>', |
|
133 | - '</strong>' |
|
134 | - ); ?> |
|
128 | + esc_html__( |
|
129 | + 'Trusted by thousands, Event Espresso is the best WordPress event online registration and ticketing manager plugin–and the best supported with full-time support. Turn your existing blog or website into a %sfully-featured event management website%s and a new way to make money. With Event Espresso you get it all; everything from custom registration forms and emails, seating limits, multiple price options, and discount codes to printable tickets.', |
|
130 | + 'event_espresso' |
|
131 | + ), |
|
132 | + '<strong>', |
|
133 | + '</strong>' |
|
134 | + ); ?> |
|
135 | 135 | </p> |
136 | 136 | <p> |
137 | 137 | <?php esc_html_e( |
138 | - 'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.', |
|
139 | - 'event_espresso' |
|
140 | - ); ?> |
|
138 | + 'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.', |
|
139 | + 'event_espresso' |
|
140 | + ); ?> |
|
141 | 141 | </p> |
142 | 142 | </div> |
143 | 143 | <div class="column col"> |
144 | 144 | <p> |
145 | 145 | <?php printf( |
146 | - esc_html__( |
|
147 | - 'Our online event registration software can %smake your organization more profitable and efficient%s by helping you save money on registration and ticketing fees, reduce the countless hours of time you spend manually processing registrations, create a “green” and paperless event registration process and you will be open for business to accept registrations and payment 24/7.', |
|
148 | - 'event_espresso' |
|
149 | - ), |
|
150 | - '<strong>', |
|
151 | - '</strong>' |
|
152 | - ); ?> |
|
146 | + esc_html__( |
|
147 | + 'Our online event registration software can %smake your organization more profitable and efficient%s by helping you save money on registration and ticketing fees, reduce the countless hours of time you spend manually processing registrations, create a “green” and paperless event registration process and you will be open for business to accept registrations and payment 24/7.', |
|
148 | + 'event_espresso' |
|
149 | + ), |
|
150 | + '<strong>', |
|
151 | + '</strong>' |
|
152 | + ); ?> |
|
153 | 153 | </p> |
154 | 154 | <p> |
155 | 155 | <?php |
156 | - esc_html_e( |
|
157 | - 'If you\'re doing event registration and ticketing any other way, then you’re wasting time and money. We offer packages and prices to fit any budget, so get started with your online event registration and ticketing management system today.', |
|
158 | - 'event_espresso' |
|
159 | - ); ?> |
|
156 | + esc_html_e( |
|
157 | + 'If you\'re doing event registration and ticketing any other way, then you’re wasting time and money. We offer packages and prices to fit any budget, so get started with your online event registration and ticketing management system today.', |
|
158 | + 'event_espresso' |
|
159 | + ); ?> |
|
160 | 160 | </p> |
161 | 161 | </div> |
162 | 162 | </div> |
@@ -165,28 +165,28 @@ discard block |
||
165 | 165 | <div class="column col"> |
166 | 166 | <h3> |
167 | 167 | <?php esc_html_e( |
168 | - 'Turn your blog into a complete event registration and management system', |
|
169 | - 'event_espresso' |
|
170 | - ); ?> |
|
168 | + 'Turn your blog into a complete event registration and management system', |
|
169 | + 'event_espresso' |
|
170 | + ); ?> |
|
171 | 171 | </h3> |
172 | 172 | <p> |
173 | 173 | <?php esc_html_e( |
174 | - 'Create a beautiful event page with ticket selection, venue details, and an integrated single page checkout system. With WordPress, Event Espresso, and Espresso Arabica 2014 (based on the "Twenty Fourteen" theme by WordPress), your events will certainly sell out faster than ever!', |
|
175 | - 'event_espresso' |
|
176 | - ); ?> |
|
174 | + 'Create a beautiful event page with ticket selection, venue details, and an integrated single page checkout system. With WordPress, Event Espresso, and Espresso Arabica 2014 (based on the "Twenty Fourteen" theme by WordPress), your events will certainly sell out faster than ever!', |
|
175 | + 'event_espresso' |
|
176 | + ); ?> |
|
177 | 177 | </p> |
178 | 178 | <p> |
179 | 179 | <?php esc_html_e( |
180 | - 'With a striking design that does not compromise the simplicity of WordPress and Event Espresso 4, Espresso Arabica 2014 will be the best event theme on the market.', |
|
181 | - 'event_espresso' |
|
182 | - ); ?> |
|
180 | + 'With a striking design that does not compromise the simplicity of WordPress and Event Espresso 4, Espresso Arabica 2014 will be the best event theme on the market.', |
|
181 | + 'event_espresso' |
|
182 | + ); ?> |
|
183 | 183 | </p> |
184 | 184 | <p> |
185 | 185 | <?php echo sprintf( |
186 | - esc_html__('%sLearn more >>%s', 'event_espresso'), |
|
187 | - '<a href="https://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">', |
|
188 | - '</a>' |
|
189 | - ); ?> |
|
186 | + esc_html__('%sLearn more >>%s', 'event_espresso'), |
|
187 | + '<a href="https://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">', |
|
188 | + '</a>' |
|
189 | + ); ?> |
|
190 | 190 | </p> |
191 | 191 | </div> |
192 | 192 | <div class="column col"> |
@@ -202,10 +202,10 @@ discard block |
||
202 | 202 | <div class="feature-section has-1-column is-fullwidth is-wide one-col"> |
203 | 203 | <div class="column col"> |
204 | 204 | <p><?php |
205 | - esc_html_e( |
|
206 | - 'We’ve made it super easy to integrate Event Espresso with almost any properly coded WordPress theme, including many of the thousands of themes available on WordPress.org. The image below shows the same Event Espresso ticketing page across three diffrent WordPress themes.', |
|
207 | - 'event_espresso' |
|
208 | - ); ?></p> |
|
205 | + esc_html_e( |
|
206 | + 'We’ve made it super easy to integrate Event Espresso with almost any properly coded WordPress theme, including many of the thousands of themes available on WordPress.org. The image below shows the same Event Espresso ticketing page across three diffrent WordPress themes.', |
|
207 | + 'event_espresso' |
|
208 | + ); ?></p> |
|
209 | 209 | <p> |
210 | 210 | <img class="about-overview-img" |
211 | 211 | src="<?php echo EEH_Template::getScreenshotUrl('multiple-themes'); ?>" |
@@ -9,7 +9,7 @@ |
||
9 | 9 | style='position:relative; top:5px; margin:0 0 0 10px; font-size:.9em; cursor:pointer;'> |
10 | 10 | <img alt='<?php esc_attr_e('clone', 'event_espresso'); ?>' |
11 | 11 | height='16' |
12 | - src='<?php echo esc_url_raw(EE_IMAGES_URL . 'clone-trooper-16x16.png'); ?>' |
|
12 | + src='<?php echo esc_url_raw(EE_IMAGES_URL.'clone-trooper-16x16.png'); ?>' |
|
13 | 13 | width='16' |
14 | 14 | /> |
15 | 15 | </a> |