@@ -1,31 +1,31 @@ |
||
1 | 1 | <h2><?php esc_html_e('What are Message Types?', 'event_espresso'); ?></h2> |
2 | 2 | <p> |
3 | 3 | <?php printf( |
4 | - esc_html__( |
|
5 | - 'Message Types are the %1$skinds%2$s of messages that get delivered. Think of them as the "type" of package that is being delivered by the messenger. For example, Event Espresso comes with two Message Types attached to the Email messenger: Registration Confirmation (which is triggered by frontend event registrations), and Payment Confirmation (which is triggered by frontend payments).', |
|
6 | - 'event_espresso' |
|
7 | - ), |
|
8 | - '<em>', |
|
9 | - '</em>' |
|
10 | - ); ?></p> |
|
4 | + esc_html__( |
|
5 | + 'Message Types are the %1$skinds%2$s of messages that get delivered. Think of them as the "type" of package that is being delivered by the messenger. For example, Event Espresso comes with two Message Types attached to the Email messenger: Registration Confirmation (which is triggered by frontend event registrations), and Payment Confirmation (which is triggered by frontend payments).', |
|
6 | + 'event_espresso' |
|
7 | + ), |
|
8 | + '<em>', |
|
9 | + '</em>' |
|
10 | + ); ?></p> |
|
11 | 11 | <p> |
12 | 12 | <?php esc_html_e( |
13 | - 'Future iterations of Event Espresso 4.0 (premium versions), will include more and more different message types that can be attached to the various messengers that are available', |
|
14 | - 'event_espresso' |
|
15 | - ); ?></p> |
|
13 | + 'Future iterations of Event Espresso 4.0 (premium versions), will include more and more different message types that can be attached to the various messengers that are available', |
|
14 | + 'event_espresso' |
|
15 | + ); ?></p> |
|
16 | 16 | |
17 | 17 | <h3><?php esc_html_e('Contexts', 'event_espresso'); ?></h3> |
18 | 18 | <p> |
19 | 19 | <?php printf( |
20 | - esc_html__( |
|
21 | - 'Each message type (or %1$skind%1$s of message remember!) has different contexts for messages created for that message type. Contexts are dynamic but generally speaking they tend to represent recipients. So for example, Registration Confirmation message type has three types of recipients for every time a registration confirmation is triggered: Event Administrator, Primary Registrant, and Registrant (which may be multiple messages if there are more than one attendee per event). Whereas the Payment Message Type only has two recipients (Event Administrator, Primary Registrant [the one making the payment]).', |
|
22 | - 'event_espresso' |
|
23 | - ), |
|
24 | - '<em>', |
|
25 | - '</em>' |
|
26 | - ); ?></p> |
|
20 | + esc_html__( |
|
21 | + 'Each message type (or %1$skind%1$s of message remember!) has different contexts for messages created for that message type. Contexts are dynamic but generally speaking they tend to represent recipients. So for example, Registration Confirmation message type has three types of recipients for every time a registration confirmation is triggered: Event Administrator, Primary Registrant, and Registrant (which may be multiple messages if there are more than one attendee per event). Whereas the Payment Message Type only has two recipients (Event Administrator, Primary Registrant [the one making the payment]).', |
|
22 | + 'event_espresso' |
|
23 | + ), |
|
24 | + '<em>', |
|
25 | + '</em>' |
|
26 | + ); ?></p> |
|
27 | 27 | <p> |
28 | 28 | <?php esc_html_e( |
29 | - 'You will most likely never see the word "context" in any of the Messages system labelling because they are dynamic per message type. Usually, contexts will be labelled "Recipients" but there may be cases down the road where a message type might use contexts to represent something totally different', |
|
30 | - 'event_espresso' |
|
31 | - ); ?></p> |
|
32 | 29 | \ No newline at end of file |
30 | + 'You will most likely never see the word "context" in any of the Messages system labelling because they are dynamic per message type. Usually, contexts will be labelled "Recipients" but there may be cases down the road where a message type might use contexts to represent something totally different', |
|
31 | + 'event_espresso' |
|
32 | + ); ?></p> |
|
33 | 33 | \ No newline at end of file |
@@ -5,15 +5,15 @@ discard block |
||
5 | 5 | </h2> |
6 | 6 | <p class="ee-attention"> |
7 | 7 | <?php |
8 | - echo sprintf( |
|
9 | - __( |
|
10 | - 'The following shortcodes and page settings are required for Event Espresso to function properly. These shortcodes should not be replaced with any other shortcodes. Please view %sthis page%s for a list of optional shortcodes you can use on other pages.', |
|
11 | - 'event_espresso' |
|
12 | - ), |
|
13 | - '<a href="admin.php?page=espresso_support">', |
|
14 | - '</a>' |
|
15 | - ); |
|
16 | - ?> |
|
8 | + echo sprintf( |
|
9 | + __( |
|
10 | + 'The following shortcodes and page settings are required for Event Espresso to function properly. These shortcodes should not be replaced with any other shortcodes. Please view %sthis page%s for a list of optional shortcodes you can use on other pages.', |
|
11 | + 'event_espresso' |
|
12 | + ), |
|
13 | + '<a href="admin.php?page=espresso_support">', |
|
14 | + '</a>' |
|
15 | + ); |
|
16 | + ?> |
|
17 | 17 | </p> |
18 | 18 | |
19 | 19 | <table class="form-table"> |
@@ -39,21 +39,21 @@ discard block |
||
39 | 39 | </select> |
40 | 40 | <span> |
41 | 41 | <?php echo General_Settings_Admin_Page::page_and_shortcode_status( |
42 | - $reg_page_obj, |
|
43 | - '[ESPRESSO_CHECKOUT]' |
|
44 | - ); ?> |
|
42 | + $reg_page_obj, |
|
43 | + '[ESPRESSO_CHECKOUT]' |
|
44 | + ); ?> |
|
45 | 45 | </span> |
46 | 46 | <br/> |
47 | 47 | <p class="description"> |
48 | 48 | <?php |
49 | - echo sprintf( |
|
50 | - __( |
|
51 | - 'This page can be hidden from navigation if desired, but should always contain the %s shortcode.', |
|
52 | - 'event_espresso' |
|
53 | - ), |
|
54 | - '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_CHECKOUT]</span>' |
|
55 | - ); |
|
56 | - ?> |
|
49 | + echo sprintf( |
|
50 | + __( |
|
51 | + 'This page can be hidden from navigation if desired, but should always contain the %s shortcode.', |
|
52 | + 'event_espresso' |
|
53 | + ), |
|
54 | + '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_CHECKOUT]</span>' |
|
55 | + ); |
|
56 | + ?> |
|
57 | 57 | </p> |
58 | 58 | <br/><br/> |
59 | 59 | </td> |
@@ -69,9 +69,9 @@ discard block |
||
69 | 69 | <br/> |
70 | 70 | <span class="lt-grey-text"> |
71 | 71 | <?php _e( |
72 | - 'Notify URL (processes payments)', |
|
73 | - 'event_espresso' |
|
74 | - ); ?></span><br/> |
|
72 | + 'Notify URL (processes payments)', |
|
73 | + 'event_espresso' |
|
74 | + ); ?></span><br/> |
|
75 | 75 | <?php echo General_Settings_Admin_Page::edit_view_links($txn_page_id); ?> |
76 | 76 | </label> |
77 | 77 | </th> |
@@ -84,21 +84,21 @@ discard block |
||
84 | 84 | </select> |
85 | 85 | <span> |
86 | 86 | <?php echo General_Settings_Admin_Page::page_and_shortcode_status( |
87 | - $txn_page_obj, |
|
88 | - '[ESPRESSO_TXN_PAGE]' |
|
89 | - ); ?> |
|
87 | + $txn_page_obj, |
|
88 | + '[ESPRESSO_TXN_PAGE]' |
|
89 | + ); ?> |
|
90 | 90 | </span> |
91 | 91 | <br/> |
92 | 92 | <p class="description"> |
93 | 93 | <?php |
94 | - echo sprintf( |
|
95 | - __( |
|
96 | - 'This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain the %s shortcode.', |
|
97 | - 'event_espresso' |
|
98 | - ), |
|
99 | - '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_TXN_PAGE]</span>' |
|
100 | - ); |
|
101 | - ?> |
|
94 | + echo sprintf( |
|
95 | + __( |
|
96 | + 'This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain the %s shortcode.', |
|
97 | + 'event_espresso' |
|
98 | + ), |
|
99 | + '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_TXN_PAGE]</span>' |
|
100 | + ); |
|
101 | + ?> |
|
102 | 102 | </p> |
103 | 103 | <br/><br/> |
104 | 104 | </td> |
@@ -124,21 +124,21 @@ discard block |
||
124 | 124 | </select> |
125 | 125 | <span> |
126 | 126 | <?php echo General_Settings_Admin_Page::page_and_shortcode_status( |
127 | - $thank_you_page_obj, |
|
128 | - '[ESPRESSO_THANK_YOU]' |
|
129 | - ); ?> |
|
127 | + $thank_you_page_obj, |
|
128 | + '[ESPRESSO_THANK_YOU]' |
|
129 | + ); ?> |
|
130 | 130 | </span> |
131 | 131 | <br/> |
132 | 132 | <p class="description"> |
133 | 133 | <?php |
134 | - echo sprintf( |
|
135 | - __( |
|
136 | - 'This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain the %s shortcode.', |
|
137 | - 'event_espresso' |
|
138 | - ), |
|
139 | - '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_THANK_YOU]</span>' |
|
140 | - ); |
|
141 | - ?> |
|
134 | + echo sprintf( |
|
135 | + __( |
|
136 | + 'This page should be hidden from your navigation, but still viewable to the public (not password protected), and should always contain the %s shortcode.', |
|
137 | + 'event_espresso' |
|
138 | + ), |
|
139 | + '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_THANK_YOU]</span>' |
|
140 | + ); |
|
141 | + ?> |
|
142 | 142 | </p> |
143 | 143 | <br/><br/> |
144 | 144 | </td> |
@@ -164,21 +164,21 @@ discard block |
||
164 | 164 | </select> |
165 | 165 | <span> |
166 | 166 | <?php echo General_Settings_Admin_Page::page_and_shortcode_status( |
167 | - $cancel_page_obj, |
|
168 | - '[ESPRESSO_CANCELLED]' |
|
169 | - ); ?> |
|
167 | + $cancel_page_obj, |
|
168 | + '[ESPRESSO_CANCELLED]' |
|
169 | + ); ?> |
|
170 | 170 | </span> |
171 | 171 | <br/> |
172 | 172 | <p class="description"> |
173 | 173 | <?php |
174 | - echo sprintf( |
|
175 | - __( |
|
176 | - '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.', |
|
177 | - 'event_espresso' |
|
178 | - ), |
|
179 | - '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_CANCELLED]</span>' |
|
180 | - ); |
|
181 | - ?> |
|
174 | + echo sprintf( |
|
175 | + __( |
|
176 | + '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.', |
|
177 | + 'event_espresso' |
|
178 | + ), |
|
179 | + '<span class="highlight" style="padding:3px;margin:0;">[ESPRESSO_CANCELLED]</span>' |
|
180 | + ); |
|
181 | + ?> |
|
182 | 182 | </p> |
183 | 183 | <br/><br/> |
184 | 184 | </td> |
@@ -194,27 +194,27 @@ discard block |
||
194 | 194 | <br/> |
195 | 195 | <a href='<?php echo get_post_type_archive_link('espresso_events') ?>'> |
196 | 196 | <?php _e( |
197 | - 'View', |
|
198 | - 'event_espresso' |
|
199 | - ); ?></a> |
|
197 | + 'View', |
|
198 | + 'event_espresso' |
|
199 | + ); ?></a> |
|
200 | 200 | </label> |
201 | 201 | </th> |
202 | 202 | <td> |
203 | 203 | <p class="description"> |
204 | 204 | <?php echo __( |
205 | - 'Events are custom post types and use WordPress\' normal archive pages for displaying events.', |
|
206 | - 'event_espresso' |
|
207 | - ) ?> |
|
205 | + 'Events are custom post types and use WordPress\' normal archive pages for displaying events.', |
|
206 | + 'event_espresso' |
|
207 | + ) ?> |
|
208 | 208 | </p> |
209 | 209 | <p class="description"> |
210 | 210 | <?php printf( |
211 | - __( |
|
212 | - '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', |
|
213 | - 'event_espresso' |
|
214 | - ), |
|
215 | - '<a href="admin.php?page=espresso_support">', |
|
216 | - '</a>' |
|
217 | - ) ?> |
|
211 | + __( |
|
212 | + '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', |
|
213 | + 'event_espresso' |
|
214 | + ), |
|
215 | + '<a href="admin.php?page=espresso_support">', |
|
216 | + '</a>' |
|
217 | + ) ?> |
|
218 | 218 | </p> |
219 | 219 | <br/><br/> |
220 | 220 | </td> |
@@ -230,27 +230,27 @@ discard block |
||
230 | 230 | <br/> |
231 | 231 | <a href='<?php echo get_post_type_archive_link('espresso_venues') ?>'> |
232 | 232 | <?php _e( |
233 | - 'View', |
|
234 | - 'event_espresso' |
|
235 | - ); ?></a> |
|
233 | + 'View', |
|
234 | + 'event_espresso' |
|
235 | + ); ?></a> |
|
236 | 236 | </label> |
237 | 237 | </th> |
238 | 238 | <td> |
239 | 239 | <p class="description"> |
240 | 240 | <?php echo __( |
241 | - 'Venues are custom post types and use WordPress\' normal archive pages for displaying events.', |
|
242 | - 'event_espresso' |
|
243 | - ) ?> |
|
241 | + 'Venues are custom post types and use WordPress\' normal archive pages for displaying events.', |
|
242 | + 'event_espresso' |
|
243 | + ) ?> |
|
244 | 244 | </p> |
245 | 245 | <p class="description"> |
246 | 246 | <?php printf( |
247 | - __( |
|
248 | - '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', |
|
249 | - 'event_espresso' |
|
250 | - ), |
|
251 | - '<a href="admin.php?page=espresso_support">', |
|
252 | - '</a>' |
|
253 | - ) ?> |
|
247 | + __( |
|
248 | + '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', |
|
249 | + 'event_espresso' |
|
250 | + ), |
|
251 | + '<a href="admin.php?page=espresso_support">', |
|
252 | + '</a>' |
|
253 | + ) ?> |
|
254 | 254 | </p> |
255 | 255 | </td> |
256 | 256 | </tr> |
@@ -15,16 +15,16 @@ discard block |
||
15 | 15 | { |
16 | 16 | |
17 | 17 | |
18 | - protected function _set_tips_array() |
|
19 | - { |
|
20 | - $this->_qtipsa = array( |
|
21 | - 0 => array( |
|
22 | - 'content_id' => 'registration-trash-lock', |
|
23 | - 'target' => '.ee-lock-icon', |
|
24 | - 'content' => $this->_registration_trash_message(), |
|
25 | - ), |
|
26 | - /** removing status strips for now because they are triggered anywhere on the row. */ |
|
27 | - /**1 => array( |
|
18 | + protected function _set_tips_array() |
|
19 | + { |
|
20 | + $this->_qtipsa = array( |
|
21 | + 0 => array( |
|
22 | + 'content_id' => 'registration-trash-lock', |
|
23 | + 'target' => '.ee-lock-icon', |
|
24 | + 'content' => $this->_registration_trash_message(), |
|
25 | + ), |
|
26 | + /** removing status strips for now because they are triggered anywhere on the row. */ |
|
27 | + /**1 => array( |
|
28 | 28 | * 'content_id' => 'registration-status-' . EEM_Registration::status_id_approved, |
29 | 29 | * 'target' => '.reg-status-' . EEM_Registration::status_id_approved, |
30 | 30 | * 'content' => $this->_registration_status_legend(EEM_Registration::status_id_approved), |
@@ -74,37 +74,37 @@ discard block |
||
74 | 74 | * ) |
75 | 75 | * ) |
76 | 76 | * )/**/ |
77 | - ); |
|
78 | - } |
|
77 | + ); |
|
78 | + } |
|
79 | 79 | |
80 | 80 | |
81 | - private function _registration_trash_message() |
|
82 | - { |
|
83 | - return '<p>' |
|
84 | - . __( |
|
85 | - 'This lock-icon means that this registration cannot be trashed. Registrations that belong to a transaction that has payments cannot be trashed. If you wish to trash this registration then you must delete all payments attached to the related transaction first.', |
|
86 | - 'event_espresso' |
|
87 | - ) . '</p>'; |
|
88 | - } |
|
81 | + private function _registration_trash_message() |
|
82 | + { |
|
83 | + return '<p>' |
|
84 | + . __( |
|
85 | + 'This lock-icon means that this registration cannot be trashed. Registrations that belong to a transaction that has payments cannot be trashed. If you wish to trash this registration then you must delete all payments attached to the related transaction first.', |
|
86 | + 'event_espresso' |
|
87 | + ) . '</p>'; |
|
88 | + } |
|
89 | 89 | |
90 | 90 | |
91 | - /** |
|
92 | - * output the relevant ee-status-legend with the designated status highlighted. |
|
93 | - * |
|
94 | - * @param EEM_Registration constant $status What status is set (by class) |
|
95 | - * @return string The status legend with the related status highlighted |
|
96 | - */ |
|
97 | - private function _registration_status_legend($status) |
|
98 | - { |
|
91 | + /** |
|
92 | + * output the relevant ee-status-legend with the designated status highlighted. |
|
93 | + * |
|
94 | + * @param EEM_Registration constant $status What status is set (by class) |
|
95 | + * @return string The status legend with the related status highlighted |
|
96 | + */ |
|
97 | + private function _registration_status_legend($status) |
|
98 | + { |
|
99 | 99 | |
100 | - $status_array = array( |
|
101 | - 'approved_status' => EEM_Registration::status_id_approved, |
|
102 | - 'pending_status' => EEM_Registration::status_id_pending_payment, |
|
103 | - 'not_approved' => EEM_Registration::status_id_not_approved, |
|
104 | - 'declined_status' => EEM_Registration::status_id_declined, |
|
105 | - 'cancelled_status' => EEM_Registration::status_id_cancelled, |
|
106 | - ); |
|
100 | + $status_array = array( |
|
101 | + 'approved_status' => EEM_Registration::status_id_approved, |
|
102 | + 'pending_status' => EEM_Registration::status_id_pending_payment, |
|
103 | + 'not_approved' => EEM_Registration::status_id_not_approved, |
|
104 | + 'declined_status' => EEM_Registration::status_id_declined, |
|
105 | + 'cancelled_status' => EEM_Registration::status_id_cancelled, |
|
106 | + ); |
|
107 | 107 | |
108 | - return EEH_Template::status_legend($status_array, $status); |
|
109 | - } |
|
108 | + return EEH_Template::status_legend($status_array, $status); |
|
109 | + } |
|
110 | 110 | } |
@@ -84,7 +84,7 @@ |
||
84 | 84 | . __( |
85 | 85 | 'This lock-icon means that this registration cannot be trashed. Registrations that belong to a transaction that has payments cannot be trashed. If you wish to trash this registration then you must delete all payments attached to the related transaction first.', |
86 | 86 | 'event_espresso' |
87 | - ) . '</p>'; |
|
87 | + ).'</p>'; |
|
88 | 88 | } |
89 | 89 | |
90 | 90 |
@@ -8,17 +8,17 @@ |
||
8 | 8 | <div id="titlewrap"> |
9 | 9 | <label class="hidden" id="attendee-first-name-text" for="ATT_fname"> |
10 | 10 | <?php _e( |
11 | - 'First Name:', |
|
12 | - 'event_espresso' |
|
13 | - ); ?></label> |
|
11 | + 'First Name:', |
|
12 | + 'event_espresso' |
|
13 | + ); ?></label> |
|
14 | 14 | <input type="text" class="smaller-text-field" name="ATT_fname" |
15 | 15 | value="<?php echo $attendee->get('ATT_fname'); ?>" id="ATT_fname" |
16 | 16 | placeholder="<?php _e('First Name', 'event_espresso'); ?>" required> |
17 | 17 | <label class="hidden" id="attendee-first-name-text" for="ATT_lname"> |
18 | 18 | <?php _e( |
19 | - 'Last Name:', |
|
20 | - 'event_espresso' |
|
21 | - ); ?></label> |
|
19 | + 'Last Name:', |
|
20 | + 'event_espresso' |
|
21 | + ); ?></label> |
|
22 | 22 | <input type="text" class="smaller-text-field" name="ATT_lname" |
23 | 23 | value="<?php echo $attendee->get('ATT_lname'); ?>" id="ATT_lname" |
24 | 24 | placeholder="<?php _e('Last Name', 'event_espresso'); ?>"> |
@@ -7,18 +7,18 @@ discard block |
||
7 | 7 | |
8 | 8 | <h3 class="admin-primary-mbox-h4 hdr-has-icon"><span class="dashicons dashicons-clipboard"></span> |
9 | 9 | <?php _e( |
10 | - 'Registration Items', |
|
11 | - 'event_espresso' |
|
12 | - ); ?></h3> |
|
10 | + 'Registration Items', |
|
11 | + 'event_espresso' |
|
12 | + ); ?></h3> |
|
13 | 13 | |
14 | 14 | <?php echo $line_item_table; ?> |
15 | 15 | |
16 | 16 | <a id="display-additional-registration-session-info" class="display-the-hidden smaller-text" |
17 | 17 | rel="additional-registration-session-info"> |
18 | 18 | <span class="dashicons dashicons-plus-alt"></span><?php _e( |
19 | - 'view additional registration session details', |
|
20 | - 'event_espresso' |
|
21 | - ); ?> |
|
19 | + 'view additional registration session details', |
|
20 | + 'event_espresso' |
|
21 | + ); ?> |
|
22 | 22 | </a> |
23 | 23 | |
24 | 24 | <div id="additional-registration-session-info-dv" class="hidden"> |
@@ -26,9 +26,9 @@ discard block |
||
26 | 26 | <a id="hide-additional-registration-session-info" class="hide-the-displayed hidden smaller-text" |
27 | 27 | rel="additional-registration-session-info"> |
28 | 28 | <span class="dashicons dashicons-dismiss"></span><?php _e( |
29 | - 'hide additional registration session details', |
|
30 | - 'event_espresso' |
|
31 | - ); ?> |
|
29 | + 'hide additional registration session details', |
|
30 | + 'event_espresso' |
|
31 | + ); ?> |
|
32 | 32 | </a> |
33 | 33 | <br class="clear"/> |
34 | 34 |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | <tbody> |
21 | 21 | |
22 | 22 | <?php |
23 | - foreach ($attendees as $att_nmbr => $attendee) : ?> |
|
23 | + foreach ($attendees as $att_nmbr => $attendee) : ?> |
|
24 | 24 | <tr class="ee-status-strip reg-status-<?php echo $attendee['STS_ID']; ?>" |
25 | 25 | style="display: table-row;"> |
26 | 26 | <td class="jst-left"><?php echo $att_nmbr; ?></td> |
@@ -33,9 +33,9 @@ discard block |
||
33 | 33 | </td> |
34 | 34 | <td class="jst-rght"> |
35 | 35 | <?php echo $currency_sign . ' ' . number_format( |
36 | - $attendee['final_price'], |
|
37 | - 2 |
|
38 | - ); ?></td> |
|
36 | + $attendee['final_price'], |
|
37 | + 2 |
|
38 | + ); ?></td> |
|
39 | 39 | <td class="jst-left"><?php echo $attendee['email']; ?></td> |
40 | 40 | <td class="jst-left"><?php echo $attendee['address']; ?></td> |
41 | 41 | <!--<th class="jst-cntr">view</th>--> |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | <br/> |
4 | 4 | <?php // echo EEH_Debug_Tools::printr( $event_attendees, 'event_attendees' ); ?> |
5 | 5 | <?php echo $attendee_notice; ?> |
6 | - <?php if (! empty($attendees)) : ?> |
|
6 | + <?php if ( ! empty($attendees)) : ?> |
|
7 | 7 | <div class="admin-primary-mbox-tbl-wrap"> |
8 | 8 | <table id="reg-admin-transaction-attendees-table" class="admin-primary-mbox-tbl"> |
9 | 9 | <thead> |
@@ -28,11 +28,11 @@ discard block |
||
28 | 28 | <td class="jst-left"> |
29 | 29 | <a href="<?php echo $attendee['att_link']; ?>" |
30 | 30 | title="<?php esc_attr_e('View details for this attendee', 'event_espresso'); ?>"> |
31 | - <?php echo $attendee['fname'] . ' ' . $attendee['lname']; ?> |
|
31 | + <?php echo $attendee['fname'].' '.$attendee['lname']; ?> |
|
32 | 32 | </a> |
33 | 33 | </td> |
34 | 34 | <td class="jst-rght"> |
35 | - <?php echo $currency_sign . ' ' . number_format( |
|
35 | + <?php echo $currency_sign.' '.number_format( |
|
36 | 36 | $attendee['final_price'], |
37 | 37 | 2 |
38 | 38 | ); ?></td> |
@@ -1,82 +1,82 @@ discard block |
||
1 | 1 | <div id="single-page-checkout" class="ui-widget"> |
2 | 2 | <?php do_action( |
3 | - 'AHEE__registration_page_registration_questions__template__after_spco_attendee_information_header' |
|
4 | - ) ?> |
|
3 | + 'AHEE__registration_page_registration_questions__template__after_spco_attendee_information_header' |
|
4 | + ) ?> |
|
5 | 5 | <div id="spco-attendee_information-dv" class="spco-step-dv"> |
6 | 6 | |
7 | 7 | <p id="spco-attendee_information-pg" class="spco-steps-pg small-text drk-grey-text"> |
8 | 8 | <?php printf( |
9 | - __( |
|
10 | - 'In order to process your registration, we ask you to provide the following information.%1$sPlease note that all fields marked with an asterisk (%2$s) are required.', |
|
11 | - 'event_espresso' |
|
12 | - ), |
|
13 | - '<br />', |
|
14 | - '<span class="asterisk">*</span>' |
|
15 | - ); ?> |
|
9 | + __( |
|
10 | + 'In order to process your registration, we ask you to provide the following information.%1$sPlease note that all fields marked with an asterisk (%2$s) are required.', |
|
11 | + 'event_espresso' |
|
12 | + ), |
|
13 | + '<br />', |
|
14 | + '<span class="asterisk">*</span>' |
|
15 | + ); ?> |
|
16 | 16 | </p> |
17 | 17 | |
18 | 18 | <?php |
19 | - global $css_class; |
|
20 | - $att_nmbr = 0; |
|
21 | - $prev_event = ''; |
|
19 | + global $css_class; |
|
20 | + $att_nmbr = 0; |
|
21 | + $prev_event = ''; |
|
22 | 22 | |
23 | - if ($event_queue['total_items'] > 0) { |
|
24 | - foreach ($event_queue['items'] as $line_item => $item) { |
|
25 | - $att_nmbr++; |
|
26 | - if ($item['attendee_questions'] != '') { |
|
27 | - ?> |
|
23 | + if ($event_queue['total_items'] > 0) { |
|
24 | + foreach ($event_queue['items'] as $line_item => $item) { |
|
25 | + $att_nmbr++; |
|
26 | + if ($item['attendee_questions'] != '') { |
|
27 | + ?> |
|
28 | 28 | |
29 | 29 | <div id="spco-attendee-panel-dv-<?php echo $line_item; ?>" class="spco-attendee-panel-dv"> |
30 | 30 | |
31 | 31 | <?php |
32 | - if ($item['ticket']->name() != $prev_event) { ?> |
|
32 | + if ($item['ticket']->name() != $prev_event) { ?> |
|
33 | 33 | <p class="spco-ticket-info-pg"> |
34 | 34 | <?php |
35 | - echo $item['ticket']->name() . ': ' |
|
36 | - . EEH_Template::format_currency( |
|
37 | - $item['ticket']->price(), |
|
38 | - false, |
|
39 | - false |
|
40 | - ); |
|
41 | - echo $item['ticket']->qty() |
|
42 | - ? ' x ' . $ticket_count[ $item['ticket']->ID() ] |
|
43 | - . __( |
|
44 | - ' tickets', |
|
45 | - 'event_espresso' |
|
46 | - ) . ' = ' |
|
47 | - . EEH_Template::format_currency( |
|
48 | - $item['ticket']->price() * $ticket_count[ $item['ticket']->ID() ] |
|
49 | - ) |
|
50 | - : ''; |
|
51 | - echo $item['ticket']->description() |
|
52 | - ? '<br/>' . __( |
|
53 | - 'Ticket Details: ', |
|
54 | - 'event_espresso' |
|
55 | - ) . $item['ticket']->description() : ''; |
|
56 | - ?> |
|
35 | + echo $item['ticket']->name() . ': ' |
|
36 | + . EEH_Template::format_currency( |
|
37 | + $item['ticket']->price(), |
|
38 | + false, |
|
39 | + false |
|
40 | + ); |
|
41 | + echo $item['ticket']->qty() |
|
42 | + ? ' x ' . $ticket_count[ $item['ticket']->ID() ] |
|
43 | + . __( |
|
44 | + ' tickets', |
|
45 | + 'event_espresso' |
|
46 | + ) . ' = ' |
|
47 | + . EEH_Template::format_currency( |
|
48 | + $item['ticket']->price() * $ticket_count[ $item['ticket']->ID() ] |
|
49 | + ) |
|
50 | + : ''; |
|
51 | + echo $item['ticket']->description() |
|
52 | + ? '<br/>' . __( |
|
53 | + 'Ticket Details: ', |
|
54 | + 'event_espresso' |
|
55 | + ) . $item['ticket']->description() : ''; |
|
56 | + ?> |
|
57 | 57 | </p> |
58 | 58 | |
59 | 59 | <?php |
60 | - } |
|
61 | - ?> |
|
60 | + } |
|
61 | + ?> |
|
62 | 62 | |
63 | 63 | <fieldset id="spco-attendee-wrap-<?php echo $line_item; ?>" class="spco-attendee-wrap-fs"> |
64 | 64 | <legend class="spco-attendee-lgnd smaller-text lt-grey-text"> |
65 | 65 | <?php echo __( |
66 | - 'Registrant #', |
|
67 | - 'event_espresso' |
|
68 | - ) . $att_nmbr; ?></legend> |
|
66 | + 'Registrant #', |
|
67 | + 'event_espresso' |
|
68 | + ) . $att_nmbr; ?></legend> |
|
69 | 69 | |
70 | 70 | <?php |
71 | - // do an action before the questions output, including the item and count |
|
72 | - echo do_action( |
|
73 | - 'AHEE__registration_page_registration_questions__template___before_questions', |
|
74 | - $item, |
|
75 | - $att_nmbr |
|
76 | - ); |
|
77 | - echo $item['attendee_questions']; |
|
78 | - |
|
79 | - if ($att_nmbr == 1 && $print_copy_info) { ?> |
|
71 | + // do an action before the questions output, including the item and count |
|
72 | + echo do_action( |
|
73 | + 'AHEE__registration_page_registration_questions__template___before_questions', |
|
74 | + $item, |
|
75 | + $att_nmbr |
|
76 | + ); |
|
77 | + echo $item['attendee_questions']; |
|
78 | + |
|
79 | + if ($att_nmbr == 1 && $print_copy_info) { ?> |
|
80 | 80 | <input type="hidden" id="primary-attendee" name="qstn[primary_attendee]" |
81 | 81 | value="<?php echo $prmy_att_input_name ?>"/> |
82 | 82 | |
@@ -85,9 +85,9 @@ discard block |
||
85 | 85 | <p class="spco-copy-all-attendee-pg"> |
86 | 86 | <label class="wide"> |
87 | 87 | <?php _e( |
88 | - 'Use Registrant #1\'s information for ALL registrants', |
|
89 | - 'event_espresso' |
|
90 | - ); ?> |
|
88 | + 'Use Registrant #1\'s information for ALL registrants', |
|
89 | + 'event_espresso' |
|
90 | + ); ?> |
|
91 | 91 | <input id="spco-copy-all-attendee-chk" |
92 | 92 | class="spco-copy-all-attendee-chk ui-widget-content ui-corner-all" |
93 | 93 | type="checkbox" value="copy-all"> |
@@ -96,46 +96,46 @@ discard block |
||
96 | 96 | |
97 | 97 | <p class="spco-copy-attendee-pg"> |
98 | 98 | <?php _e( |
99 | - 'This option allows you to use the above information for all additional registrant question fields. <span>( Please note that some events may have additional questions that you may still be required to answer in order to complete your registration. )</span>', |
|
100 | - 'event_espresso' |
|
101 | - ); ?></p> |
|
99 | + 'This option allows you to use the above information for all additional registrant question fields. <span>( Please note that some events may have additional questions that you may still be required to answer in order to complete your registration. )</span>', |
|
100 | + 'event_espresso' |
|
101 | + ); ?></p> |
|
102 | 102 | |
103 | 103 | <a id="display-more-attendee-copy-options" |
104 | 104 | class="display-the-hidden smaller-text float-right" |
105 | 105 | rel="more-attendee-copy-options"> |
106 | 106 | <?php _e( |
107 | - 'more options', |
|
108 | - 'event_espresso' |
|
109 | - ); ?></a> |
|
107 | + 'more options', |
|
108 | + 'event_espresso' |
|
109 | + ); ?></a> |
|
110 | 110 | |
111 | 111 | <div id="more-attendee-copy-options-dv" class=""> |
112 | 112 | <a id="hide-more-attendee-copy-options" |
113 | 113 | class="hide-the-displayed smaller-text float-right" |
114 | 114 | rel="more-attendee-copy-options"> |
115 | 115 | <?php _e( |
116 | - 'less options', |
|
117 | - 'event_espresso' |
|
118 | - ); ?></a> |
|
116 | + 'less options', |
|
117 | + 'event_espresso' |
|
118 | + ); ?></a> |
|
119 | 119 | <p class="spco-copy-attendee-pg"> |
120 | 120 | <?php _e( |
121 | - 'The following checkboxes allow you to use the above information for only the selected additional event registrants.', |
|
122 | - 'event_espresso' |
|
123 | - ); ?> |
|
121 | + 'The following checkboxes allow you to use the above information for only the selected additional event registrants.', |
|
122 | + 'event_espresso' |
|
123 | + ); ?> |
|
124 | 124 | </p> |
125 | 125 | |
126 | 126 | <?php |
127 | - foreach ($additional_event_attendees as $event_attendees) { |
|
128 | - foreach ($event_attendees as $attendee) { |
|
129 | - if ($attendee['event_hdr']) { ?> |
|
127 | + foreach ($additional_event_attendees as $event_attendees) { |
|
128 | + foreach ($event_attendees as $attendee) { |
|
129 | + if ($attendee['event_hdr']) { ?> |
|
130 | 130 | <h6 class="spco-copy-attendee-event-hdr"><?php echo $attendee['event_hdr']; ?></h6> |
131 | 131 | <?php } ?> |
132 | 132 | |
133 | 133 | <p class="event_form_field spco-copy-attendee-chk-pg"> |
134 | 134 | <label> |
135 | 135 | <?php echo __( |
136 | - 'Attendee #', |
|
137 | - 'event_espresso' |
|
138 | - ) . $attendee['att_nmbr']; ?> |
|
136 | + 'Attendee #', |
|
137 | + 'event_espresso' |
|
138 | + ) . $attendee['att_nmbr']; ?> |
|
139 | 139 | <input type="checkbox" |
140 | 140 | id="spco-copy-attendee-chk-<?php echo $attendee['input_id']; ?>" |
141 | 141 | class="spco-copy-attendee-chk <?php echo $css_class; ?>" |
@@ -153,25 +153,25 @@ discard block |
||
153 | 153 | <div class="clear-float"></div> |
154 | 154 | </div> |
155 | 155 | <?php |
156 | - $print_copy_info = false; |
|
157 | - } elseif ($att_nmbr == 1) { |
|
158 | - ?> |
|
156 | + $print_copy_info = false; |
|
157 | + } elseif ($att_nmbr == 1) { |
|
158 | + ?> |
|
159 | 159 | <p id="spco-auto-copy-attendee-pg" class="smaller-text lt-grey-text"> |
160 | 160 | <?php _e( |
161 | - 'The above information will be used for any additional tickets/registrants.', |
|
162 | - 'event_espresso' |
|
163 | - ); ?> |
|
161 | + 'The above information will be used for any additional tickets/registrants.', |
|
162 | + 'event_espresso' |
|
163 | + ); ?> |
|
164 | 164 | </p> |
165 | 165 | <?php |
166 | - } |
|
167 | - ?> |
|
166 | + } |
|
167 | + ?> |
|
168 | 168 | </fieldset> |
169 | 169 | |
170 | 170 | </div> |
171 | 171 | <?php |
172 | - } else { |
|
173 | - if ($att_nmbr == 1) { |
|
174 | - ?> |
|
172 | + } else { |
|
173 | + if ($att_nmbr == 1) { |
|
174 | + ?> |
|
175 | 175 | <div id="spco-attendee-panel-dv-<?php echo $line_item; ?>" class="spco-attendee-panel-dv"> |
176 | 176 | <h3 id="event_title-<?php echo $item['ticket']->ID() ?>" class="big-event-title-hdr"> |
177 | 177 | <?php echo $item['event']->name(); ?> |
@@ -179,24 +179,24 @@ discard block |
||
179 | 179 | <fieldset id="spco-attendee-wrap-<?php echo $line_item; ?>" class="spco-attendee-wrap-fs"> |
180 | 180 | <h6> |
181 | 181 | <?php _e( |
182 | - 'No information is required to attend this event. Please proceed to the next Step', |
|
183 | - 'event_espresso' |
|
184 | - ); ?></h6> |
|
182 | + 'No information is required to attend this event. Please proceed to the next Step', |
|
183 | + 'event_espresso' |
|
184 | + ); ?></h6> |
|
185 | 185 | <input type="hidden" id="no-questions" name="qstn[]" value="0"/> |
186 | 186 | </fieldset> |
187 | 187 | </div> |
188 | 188 | <?php |
189 | - } |
|
190 | - } |
|
191 | - echo $item['additional_attendee_reg_info']; |
|
192 | - $prev_event = $item['ticket']->name(); |
|
193 | - } // $event_queue['items'] as $line_item |
|
194 | - } // $event_queue['total_items'] |
|
195 | - ?> |
|
189 | + } |
|
190 | + } |
|
191 | + echo $item['additional_attendee_reg_info']; |
|
192 | + $prev_event = $item['ticket']->name(); |
|
193 | + } // $event_queue['items'] as $line_item |
|
194 | + } // $event_queue['total_items'] |
|
195 | + ?> |
|
196 | 196 | <div><a id="spco-display-event-questions-lnk" |
197 | 197 | class="act-like-link smaller-text hidden hide-if-no-js float-right"><?php _e( |
198 | - 'show event questions', |
|
199 | - 'event_espresso' |
|
200 | - ); ?></a></div> |
|
198 | + 'show event questions', |
|
199 | + 'event_espresso' |
|
200 | + ); ?></a></div> |
|
201 | 201 | </div> |
202 | 202 | </div> <!-- #single-page-checkout --> |
203 | 203 | \ No newline at end of file |
@@ -32,27 +32,27 @@ discard block |
||
32 | 32 | if ($item['ticket']->name() != $prev_event) { ?> |
33 | 33 | <p class="spco-ticket-info-pg"> |
34 | 34 | <?php |
35 | - echo $item['ticket']->name() . ': ' |
|
35 | + echo $item['ticket']->name().': ' |
|
36 | 36 | . EEH_Template::format_currency( |
37 | 37 | $item['ticket']->price(), |
38 | 38 | false, |
39 | 39 | false |
40 | 40 | ); |
41 | 41 | echo $item['ticket']->qty() |
42 | - ? ' x ' . $ticket_count[ $item['ticket']->ID() ] |
|
42 | + ? ' x '.$ticket_count[$item['ticket']->ID()] |
|
43 | 43 | . __( |
44 | 44 | ' tickets', |
45 | 45 | 'event_espresso' |
46 | - ) . ' = ' |
|
46 | + ).' = ' |
|
47 | 47 | . EEH_Template::format_currency( |
48 | - $item['ticket']->price() * $ticket_count[ $item['ticket']->ID() ] |
|
48 | + $item['ticket']->price() * $ticket_count[$item['ticket']->ID()] |
|
49 | 49 | ) |
50 | 50 | : ''; |
51 | 51 | echo $item['ticket']->description() |
52 | - ? '<br/>' . __( |
|
52 | + ? '<br/>'.__( |
|
53 | 53 | 'Ticket Details: ', |
54 | 54 | 'event_espresso' |
55 | - ) . $item['ticket']->description() : ''; |
|
55 | + ).$item['ticket']->description() : ''; |
|
56 | 56 | ?> |
57 | 57 | </p> |
58 | 58 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | <?php echo __( |
66 | 66 | 'Registrant #', |
67 | 67 | 'event_espresso' |
68 | - ) . $att_nmbr; ?></legend> |
|
68 | + ).$att_nmbr; ?></legend> |
|
69 | 69 | |
70 | 70 | <?php |
71 | 71 | // do an action before the questions output, including the item and count |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | <?php echo __( |
136 | 136 | 'Attendee #', |
137 | 137 | 'event_espresso' |
138 | - ) . $attendee['att_nmbr']; ?> |
|
138 | + ).$attendee['att_nmbr']; ?> |
|
139 | 139 | <input type="checkbox" |
140 | 140 | id="spco-copy-attendee-chk-<?php echo $attendee['input_id']; ?>" |
141 | 141 | class="spco-copy-attendee-chk <?php echo $css_class; ?>" |
@@ -23,16 +23,16 @@ discard block |
||
23 | 23 | <td> |
24 | 24 | <div class="validation-notice-dv"> |
25 | 25 | <?php _e( |
26 | - 'The following is a required field', |
|
27 | - 'event_espresso' |
|
28 | - ); ?></div> |
|
26 | + 'The following is a required field', |
|
27 | + 'event_espresso' |
|
28 | + ); ?></div> |
|
29 | 29 | <input class="regular-text required" type="text" id="ATT_fname" name="ATT_fname" |
30 | 30 | value="<?php echo $attendee->fname(); ?>"/><br/> |
31 | 31 | <p class="description"> |
32 | 32 | <?php _e( |
33 | - 'The registrant\'s given name. ( required value )', |
|
34 | - 'event_espresso' |
|
35 | - ); ?></p> |
|
33 | + 'The registrant\'s given name. ( required value )', |
|
34 | + 'event_espresso' |
|
35 | + ); ?></p> |
|
36 | 36 | </td> |
37 | 37 | </tr> |
38 | 38 | |
@@ -44,16 +44,16 @@ discard block |
||
44 | 44 | <td> |
45 | 45 | <div class="validation-notice-dv"> |
46 | 46 | <?php _e( |
47 | - 'The following is a required field', |
|
48 | - 'event_espresso' |
|
49 | - ); ?></div> |
|
47 | + 'The following is a required field', |
|
48 | + 'event_espresso' |
|
49 | + ); ?></div> |
|
50 | 50 | <input class="regular-text required" type="text" id="ATT_lname" name="ATT_lname" |
51 | 51 | value="<?php echo $attendee->lname(); ?>"/><br/> |
52 | 52 | <p class="description"> |
53 | 53 | <?php _e( |
54 | - 'The registrant\'s family name. ( required value )', |
|
55 | - 'event_espresso' |
|
56 | - ); ?></p> |
|
54 | + 'The registrant\'s family name. ( required value )', |
|
55 | + 'event_espresso' |
|
56 | + ); ?></p> |
|
57 | 57 | </td> |
58 | 58 | </tr> |
59 | 59 | |
@@ -65,9 +65,9 @@ discard block |
||
65 | 65 | <td> |
66 | 66 | <div class="validation-notice-dv"> |
67 | 67 | <?php _e( |
68 | - 'The following is a required field', |
|
69 | - 'event_espresso' |
|
70 | - ); ?></div> |
|
68 | + 'The following is a required field', |
|
69 | + 'event_espresso' |
|
70 | + ); ?></div> |
|
71 | 71 | <input class="regular-text required" type="text" id="ATT_email" name="ATT_email" |
72 | 72 | value="<?php $attendee->f('ATT_email'); ?>"/><br/> |
73 | 73 | <p class="description"><?php _e('( required value )', 'event_espresso'); ?></p> |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <h1><span class="small-text not-bold"> |
2 | 2 | <?php _e( |
3 | - 'Adding Registration For: ', |
|
4 | - 'event_espresso' |
|
5 | - ); ?></span><?php echo $event_name; ?></h1> |
|
3 | + 'Adding Registration For: ', |
|
4 | + 'event_espresso' |
|
5 | + ); ?></span><?php echo $event_name; ?></h1> |
|
6 | 6 | <?php echo $step_content; |