@@ -16,19 +16,19 @@ discard block |
||
16 | 16 | $has_answers = $question->has_answers(); |
17 | 17 | |
18 | 18 | if ($QST_system === 'country') { |
19 | - echo EEH_HTML::div( |
|
20 | - EEH_HTML::h4( |
|
21 | - '<span class="dashicons dashicons-info"></span>' . esc_html__('Did you know...', 'event_espresso') |
|
22 | - ) . |
|
23 | - EEH_HTML::p( |
|
24 | - esc_html__( |
|
25 | - 'If you add a State/Province Select input immediately after this Country Select input when building your registration form, then the State/Province Select input options will change to correspond with the choice made in this input. So for example, choosing "United States" in this Country Select input will populate the State/Province Select input with just the state options for the United States.', |
|
26 | - 'event_espresso' |
|
27 | - ) |
|
28 | - ), |
|
29 | - '', |
|
30 | - 'ee-info-box' |
|
31 | - ); |
|
19 | + echo EEH_HTML::div( |
|
20 | + EEH_HTML::h4( |
|
21 | + '<span class="dashicons dashicons-info"></span>' . esc_html__('Did you know...', 'event_espresso') |
|
22 | + ) . |
|
23 | + EEH_HTML::p( |
|
24 | + esc_html__( |
|
25 | + 'If you add a State/Province Select input immediately after this Country Select input when building your registration form, then the State/Province Select input options will change to correspond with the choice made in this input. So for example, choosing "United States" in this Country Select input will populate the State/Province Select input with just the state options for the United States.', |
|
26 | + 'event_espresso' |
|
27 | + ) |
|
28 | + ), |
|
29 | + '', |
|
30 | + 'ee-info-box' |
|
31 | + ); |
|
32 | 32 | } |
33 | 33 | ?> |
34 | 34 | |
@@ -54,9 +54,9 @@ discard block |
||
54 | 54 | </th> |
55 | 55 | <td> |
56 | 56 | <?php |
57 | - $disabled_attr = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
58 | - $id = ! empty($QST_system) ? '_disabled' : ''; |
|
59 | - ?> |
|
57 | + $disabled_attr = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
58 | + $id = ! empty($QST_system) ? '_disabled' : ''; |
|
59 | + ?> |
|
60 | 60 | <input type="text" class="regular-text" id="QST_admin_label<?php echo $id ?>" |
61 | 61 | name="QST_admin_label<?php echo $id ?>" |
62 | 62 | value="<?php $question->f('QST_admin_label') ?>"<?php echo $disabled_attr ?>/> |
@@ -85,18 +85,18 @@ discard block |
||
85 | 85 | </th> |
86 | 86 | <td> |
87 | 87 | <?php |
88 | - $disabled_attr = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
89 | - $id = ! empty($QST_system) ? '_disabled' : ''; |
|
90 | - $admin_only = $question->get('QST_admin_only'); |
|
91 | - $checked = ! empty($admin_only) ? ' checked="checked"' : ''; |
|
92 | - ?> |
|
88 | + $disabled_attr = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
89 | + $id = ! empty($QST_system) ? '_disabled' : ''; |
|
90 | + $admin_only = $question->get('QST_admin_only'); |
|
91 | + $checked = ! empty($admin_only) ? ' checked="checked"' : ''; |
|
92 | + ?> |
|
93 | 93 | <input class="QST_admin_only" type="checkbox" id="QST_admin_only<?php echo $id; ?>" |
94 | 94 | name="QST_admin_only<?php echo $id; ?>" value="1"<?php echo $disabled_attr; |
95 | - echo $checked; ?>/> |
|
95 | + echo $checked; ?>/> |
|
96 | 96 | <br/> |
97 | 97 | <p class="description"> |
98 | 98 | <?php |
99 | - if (! empty($QST_system)) { ?> |
|
99 | + if (! empty($QST_system)) { ?> |
|
100 | 100 | <span class="description" style="color:#D54E21;"> |
101 | 101 | <?php esc_html_e('System question! This field cannot be changed.', 'event_espresso') ?> |
102 | 102 | </span> |
@@ -113,32 +113,32 @@ discard block |
||
113 | 113 | </th> |
114 | 114 | <td> |
115 | 115 | <?php |
116 | - $disabled = ! empty($QST_system) && $QST_system !== EEM_Attendee::system_question_phone; |
|
117 | - if ($disabled) { |
|
118 | - $disabled_attr = 'disabled="disabled"'; |
|
119 | - $id = '_disabled'; |
|
120 | - } else { |
|
121 | - $disabled_attr = ''; |
|
122 | - $id = ''; |
|
123 | - } |
|
116 | + $disabled = ! empty($QST_system) && $QST_system !== EEM_Attendee::system_question_phone; |
|
117 | + if ($disabled) { |
|
118 | + $disabled_attr = 'disabled="disabled"'; |
|
119 | + $id = '_disabled'; |
|
120 | + } else { |
|
121 | + $disabled_attr = ''; |
|
122 | + $id = ''; |
|
123 | + } |
|
124 | 124 | |
125 | - echo EEH_Form_Fields::select_input( |
|
126 | - 'QST_type' . $id, |
|
127 | - $question_types, |
|
128 | - $question->type(), |
|
129 | - 'id="QST_type' . $id . '"' . $disabled_attr |
|
130 | - ); |
|
131 | - if ($disabled) { ?> |
|
125 | + echo EEH_Form_Fields::select_input( |
|
126 | + 'QST_type' . $id, |
|
127 | + $question_types, |
|
128 | + $question->type(), |
|
129 | + 'id="QST_type' . $id . '"' . $disabled_attr |
|
130 | + ); |
|
131 | + if ($disabled) { ?> |
|
132 | 132 | <input type="hidden" id="QST_type" name="QST_type" value="<?php echo $question->type() ?>"/> |
133 | 133 | <?php |
134 | - $explanatory_text = esc_html__('System question! This field cannot be changed.', 'event_espresso'); |
|
135 | - } else { |
|
136 | - $explanatory_text = esc_html__( |
|
137 | - 'Because there are currently answers for this question in the database, your options to change the question type have been limited to similar question-types.', |
|
138 | - 'event_espresso' |
|
139 | - ); |
|
140 | - } |
|
141 | - if ($disabled || $has_answers) { ?> |
|
134 | + $explanatory_text = esc_html__('System question! This field cannot be changed.', 'event_espresso'); |
|
135 | + } else { |
|
136 | + $explanatory_text = esc_html__( |
|
137 | + 'Because there are currently answers for this question in the database, your options to change the question type have been limited to similar question-types.', |
|
138 | + 'event_espresso' |
|
139 | + ); |
|
140 | + } |
|
141 | + if ($disabled || $has_answers) { ?> |
|
142 | 142 | <p><span class="description" style="color:#D54E21;"> |
143 | 143 | <?php echo $explanatory_text; ?> |
144 | 144 | </span></p> |
@@ -156,25 +156,25 @@ discard block |
||
156 | 156 | </th> |
157 | 157 | <td> |
158 | 158 | <input id="QST_max" name="QST_max" type="number" <?php echo $max_max === EE_INF ? '' |
159 | - : "max='$max_max'"; ?> value="<?php $question->f('QST_max'); ?>" min="1"> |
|
159 | + : "max='$max_max'"; ?> value="<?php $question->f('QST_max'); ?>" min="1"> |
|
160 | 160 | <p> |
161 | 161 | <span class="description"> |
162 | 162 | <?php esc_html_e( |
163 | - 'Maximum number of characters allowed when answering this question', |
|
164 | - 'event_espresso' |
|
165 | - ); ?> |
|
163 | + 'Maximum number of characters allowed when answering this question', |
|
164 | + 'event_espresso' |
|
165 | + ); ?> |
|
166 | 166 | </span> |
167 | 167 | </p> |
168 | 168 | <?php if ($QST_system) { ?> |
169 | 169 | <p> |
170 | 170 | <span class="description" style="color:#D54E21;"> |
171 | 171 | <?php printf( |
172 | - esc_html__( |
|
173 | - 'System question! The maximum number of characters that can be used for this question is %1$s', |
|
174 | - 'event_espresso' |
|
175 | - ), |
|
176 | - $max_max |
|
177 | - ); ?> |
|
172 | + esc_html__( |
|
173 | + 'System question! The maximum number of characters that can be used for this question is %1$s', |
|
174 | + 'event_espresso' |
|
175 | + ), |
|
176 | + $max_max |
|
177 | + ); ?> |
|
178 | 178 | </span> |
179 | 179 | </p> |
180 | 180 | <?php } ?> |
@@ -196,9 +196,9 @@ discard block |
||
196 | 196 | </th> |
197 | 197 | <th class="option-desc-header"> |
198 | 198 | <?php esc_html_e( |
199 | - 'Description (optional, only shown on registration form)', |
|
200 | - 'event_espresso' |
|
201 | - ) ?> |
|
199 | + 'Description (optional, only shown on registration form)', |
|
200 | + 'event_espresso' |
|
201 | + ) ?> |
|
202 | 202 | </th> |
203 | 203 | <th> |
204 | 204 | </th> |
@@ -224,12 +224,12 @@ discard block |
||
224 | 224 | </tr> |
225 | 225 | |
226 | 226 | <?php |
227 | - $count = 0; |
|
228 | - $question_options = $question->options(); |
|
229 | - if (! empty($question_options)) { |
|
230 | - foreach ($question_options as $option_id => $option) { |
|
231 | - $disabled_attr = $has_answers || $option->get('QSO_system') ? ' disabled="disabled"' : ''; |
|
232 | - ?> |
|
227 | + $count = 0; |
|
228 | + $question_options = $question->options(); |
|
229 | + if (! empty($question_options)) { |
|
230 | + foreach ($question_options as $option_id => $option) { |
|
231 | + $disabled_attr = $has_answers || $option->get('QSO_system') ? ' disabled="disabled"' : ''; |
|
232 | + ?> |
|
233 | 233 | <tr class="question-option ee-options-sortable"> |
234 | 234 | <td class="option-value-cell"> |
235 | 235 | <input type="hidden" class="QSO_order" |
@@ -255,21 +255,21 @@ discard block |
||
255 | 255 | <span class="dashicons dashicons-image-flip-vertical sortable-drag-handle ee-icon-size-18"></span> |
256 | 256 | </td> |
257 | 257 | <?php |
258 | - echo EEH_Form_Fields::hidden_input( |
|
259 | - "question_options[{$count}][QST_ID])", |
|
260 | - $option->question_ID() |
|
261 | - ); |
|
262 | - echo EEH_Form_Fields::hidden_input( |
|
263 | - "question_options[{$count}][QSO_ID])", |
|
264 | - $option->ID() |
|
265 | - ); |
|
266 | - $count++; |
|
267 | - ?> |
|
258 | + echo EEH_Form_Fields::hidden_input( |
|
259 | + "question_options[{$count}][QST_ID])", |
|
260 | + $option->question_ID() |
|
261 | + ); |
|
262 | + echo EEH_Form_Fields::hidden_input( |
|
263 | + "question_options[{$count}][QSO_ID])", |
|
264 | + $option->ID() |
|
265 | + ); |
|
266 | + $count++; |
|
267 | + ?> |
|
268 | 268 | </tr> |
269 | 269 | <?php |
270 | - } |
|
271 | - } else { |
|
272 | - ?> |
|
270 | + } |
|
271 | + } else { |
|
272 | + ?> |
|
273 | 273 | <tr class="question-option ee-options-sortable"> |
274 | 274 | <td class="option-value-cell"> |
275 | 275 | <input type="hidden" class="QSO_order" name="question_options[0][QSO_order]" value="0"/> |
@@ -282,19 +282,19 @@ discard block |
||
282 | 282 | </td> |
283 | 283 | <td> |
284 | 284 | <?php |
285 | - echo EEH_Form_Fields::hidden_input("question_options_count", $count); |
|
286 | - ?> |
|
285 | + echo EEH_Form_Fields::hidden_input("question_options_count", $count); |
|
286 | + ?> |
|
287 | 287 | </td> |
288 | 288 | </tr> |
289 | 289 | <?php |
290 | - } |
|
291 | - ?> |
|
290 | + } |
|
291 | + ?> |
|
292 | 292 | <tr style="display:none"> |
293 | 293 | <td colspan="3"> |
294 | 294 | <?php echo EEH_Form_Fields::hidden_input( |
295 | - "question_options_count", |
|
296 | - $count |
|
297 | - ); ?></td> |
|
295 | + "question_options_count", |
|
296 | + $count |
|
297 | + ); ?></td> |
|
298 | 298 | </tr> |
299 | 299 | </tbody> |
300 | 300 | </table> |
@@ -305,16 +305,16 @@ discard block |
||
305 | 305 | |
306 | 306 | <p class="description"> |
307 | 307 | <?php esc_html_e( |
308 | - 'Answer Options are the choices that you give people to select from for RADIO_BTN, CHECKBOX or DROPDOWN questions. The Value is a simple key that will be saved to the database and the description is optional. Note that values CANNOT contain any HTML, but descriptions can.', |
|
309 | - 'event_espresso' |
|
310 | - ) ?> |
|
308 | + 'Answer Options are the choices that you give people to select from for RADIO_BTN, CHECKBOX or DROPDOWN questions. The Value is a simple key that will be saved to the database and the description is optional. Note that values CANNOT contain any HTML, but descriptions can.', |
|
309 | + 'event_espresso' |
|
310 | + ) ?> |
|
311 | 311 | </p> |
312 | 312 | <?php if ($has_answers) : ?> |
313 | 313 | <p class="description" style="color:#D54E21;"> |
314 | 314 | <?php esc_html_e( |
315 | - 'Answer values that are uneditable are this way because there are registrations in the database that have answers for this question. If you need to correct a mistake, or edit an existing option value, then trash the existing one and create a new option with the changes. This will ensure that the existing registrations that chose the original answer will preserve that answer.', |
|
316 | - 'event_espresso' |
|
317 | - ); ?> |
|
315 | + 'Answer values that are uneditable are this way because there are registrations in the database that have answers for this question. If you need to correct a mistake, or edit an existing option value, then trash the existing one and create a new option with the changes. This will ensure that the existing registrations that chose the original answer will preserve that answer.', |
|
316 | + 'event_espresso' |
|
317 | + ); ?> |
|
318 | 318 | </p> |
319 | 319 | |
320 | 320 | <?php endif; ?> |
@@ -328,35 +328,35 @@ discard block |
||
328 | 328 | </th> |
329 | 329 | <td> |
330 | 330 | <?php |
331 | - $system_required = array('fname', 'email'); |
|
332 | - $disabled_attr = in_array($QST_system, $system_required) ? ' disabled="disabled"' : ''; |
|
333 | - $required_on = $question->get('QST_admin_only'); |
|
334 | - $show_required_msg = $required_on ? '' : ' display:none;'; |
|
335 | - $disabled_attr = $required_on || ! empty($disabled_attr) ? ' disabled="disabled"' : ''; |
|
336 | - $id = ! empty($disabled_attr) && in_array($QST_system, $system_required) ? '_disabled' : ''; |
|
337 | - $requiredOptions = array( |
|
338 | - array('text' => esc_html__('Optional', 'event_espresso'), 'id' => 0), |
|
339 | - array('text' => esc_html__('Required', 'event_espresso'), 'id' => 1), |
|
340 | - ); |
|
341 | - echo EEH_Form_Fields::select_input( |
|
342 | - 'QST_required' . $id, |
|
343 | - $requiredOptions, |
|
344 | - $question->required(), |
|
345 | - 'id="QST_required' . $id . '"' . $disabled_attr |
|
346 | - ); |
|
347 | - ?> |
|
331 | + $system_required = array('fname', 'email'); |
|
332 | + $disabled_attr = in_array($QST_system, $system_required) ? ' disabled="disabled"' : ''; |
|
333 | + $required_on = $question->get('QST_admin_only'); |
|
334 | + $show_required_msg = $required_on ? '' : ' display:none;'; |
|
335 | + $disabled_attr = $required_on || ! empty($disabled_attr) ? ' disabled="disabled"' : ''; |
|
336 | + $id = ! empty($disabled_attr) && in_array($QST_system, $system_required) ? '_disabled' : ''; |
|
337 | + $requiredOptions = array( |
|
338 | + array('text' => esc_html__('Optional', 'event_espresso'), 'id' => 0), |
|
339 | + array('text' => esc_html__('Required', 'event_espresso'), 'id' => 1), |
|
340 | + ); |
|
341 | + echo EEH_Form_Fields::select_input( |
|
342 | + 'QST_required' . $id, |
|
343 | + $requiredOptions, |
|
344 | + $question->required(), |
|
345 | + 'id="QST_required' . $id . '"' . $disabled_attr |
|
346 | + ); |
|
347 | + ?> |
|
348 | 348 | <p><span id="required_toggled_on" class="description" |
349 | 349 | style="color:#D54E21;<?php echo $show_required_msg; ?>"> |
350 | 350 | <?php esc_html_e( |
351 | - 'Required is set to optional, and this field is disabled, because the question is Admin-Only.', |
|
352 | - 'event_espresso' |
|
353 | - ) ?> |
|
351 | + 'Required is set to optional, and this field is disabled, because the question is Admin-Only.', |
|
352 | + 'event_espresso' |
|
353 | + ) ?> |
|
354 | 354 | </span></p> |
355 | 355 | <p><span id="required_toggled_off" class="description" style="color:#D54E21; display: none;"> |
356 | 356 | <?php esc_html_e( |
357 | - 'Required option field is no longer disabled because the question is not Admin-Only', |
|
358 | - 'event_espresso' |
|
359 | - ) ?> |
|
357 | + 'Required option field is no longer disabled because the question is not Admin-Only', |
|
358 | + 'event_espresso' |
|
359 | + ) ?> |
|
360 | 360 | </span></p> |
361 | 361 | <?php if (! empty($disabled_attr) && in_array($QST_system, $system_required)) { ?> |
362 | 362 | <input type="hidden" id="QST_required" name="QST_required" value="1"/> |
@@ -372,9 +372,9 @@ discard block |
||
372 | 372 | <th> |
373 | 373 | <label for="QST_required_text"> |
374 | 374 | <?php esc_html_e( |
375 | - 'Required Text', |
|
376 | - 'event_espresso' |
|
377 | - ); ?></label> <?php echo EEH_Template::get_help_tab_link('required_text_info'); ?> |
|
375 | + 'Required Text', |
|
376 | + 'event_espresso' |
|
377 | + ); ?></label> <?php echo EEH_Template::get_help_tab_link('required_text_info'); ?> |
|
378 | 378 | </th> |
379 | 379 | <td> |
380 | 380 | <input type="text" maxlength="100" class="regular-text" id="QST_required_text" name="QST_required_text" |
@@ -18,8 +18,8 @@ discard block |
||
18 | 18 | if ($QST_system === 'country') { |
19 | 19 | echo EEH_HTML::div( |
20 | 20 | EEH_HTML::h4( |
21 | - '<span class="dashicons dashicons-info"></span>' . esc_html__('Did you know...', 'event_espresso') |
|
22 | - ) . |
|
21 | + '<span class="dashicons dashicons-info"></span>'.esc_html__('Did you know...', 'event_espresso') |
|
22 | + ). |
|
23 | 23 | EEH_HTML::p( |
24 | 24 | esc_html__( |
25 | 25 | 'If you add a State/Province Select input immediately after this Country Select input when building your registration form, then the State/Province Select input options will change to correspond with the choice made in this input. So for example, choosing "United States" in this Country Select input will populate the State/Province Select input with just the state options for the United States.', |
@@ -62,13 +62,13 @@ discard block |
||
62 | 62 | value="<?php $question->f('QST_admin_label') ?>"<?php echo $disabled_attr ?>/> |
63 | 63 | <input class="QST_order" type="hidden" id="QST_order<?php echo $id; ?>" |
64 | 64 | name="QST_order<?php echo $id; ?>" value="<?php echo $question->get('QST_order'); ?>"/> |
65 | - <?php if (! empty($QST_system)) { ?> |
|
65 | + <?php if ( ! empty($QST_system)) { ?> |
|
66 | 66 | <input type="hidden" id="QST_admin_label" name="QST_admin_label" |
67 | 67 | value="<?php echo $question->admin_label() ?>"/> |
68 | 68 | <?php } ?> |
69 | 69 | <br/> |
70 | 70 | <p class="description"> |
71 | - <?php if (! empty($QST_system)) { ?> |
|
71 | + <?php if ( ! empty($QST_system)) { ?> |
|
72 | 72 | <span class="description" style="color:#D54E21;"> |
73 | 73 | <?php esc_html_e('System question! This field cannot be changed.', 'event_espresso') ?> |
74 | 74 | </span> |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | <br/> |
97 | 97 | <p class="description"> |
98 | 98 | <?php |
99 | - if (! empty($QST_system)) { ?> |
|
99 | + if ( ! empty($QST_system)) { ?> |
|
100 | 100 | <span class="description" style="color:#D54E21;"> |
101 | 101 | <?php esc_html_e('System question! This field cannot be changed.', 'event_espresso') ?> |
102 | 102 | </span> |
@@ -123,10 +123,10 @@ discard block |
||
123 | 123 | } |
124 | 124 | |
125 | 125 | echo EEH_Form_Fields::select_input( |
126 | - 'QST_type' . $id, |
|
126 | + 'QST_type'.$id, |
|
127 | 127 | $question_types, |
128 | 128 | $question->type(), |
129 | - 'id="QST_type' . $id . '"' . $disabled_attr |
|
129 | + 'id="QST_type'.$id.'"'.$disabled_attr |
|
130 | 130 | ); |
131 | 131 | if ($disabled) { ?> |
132 | 132 | <input type="hidden" id="QST_type" name="QST_type" value="<?php echo $question->type() ?>"/> |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | <?php |
227 | 227 | $count = 0; |
228 | 228 | $question_options = $question->options(); |
229 | - if (! empty($question_options)) { |
|
229 | + if ( ! empty($question_options)) { |
|
230 | 230 | foreach ($question_options as $option_id => $option) { |
231 | 231 | $disabled_attr = $has_answers || $option->get('QSO_system') ? ' disabled="disabled"' : ''; |
232 | 232 | ?> |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | value="<?php $option->f('QSO_desc') ?>"> |
250 | 250 | </td> |
251 | 251 | <td> |
252 | - <?php if (! $option->system()) { ?> |
|
252 | + <?php if ( ! $option->system()) { ?> |
|
253 | 253 | <span class="dashicons clickable dashicons-post-trash ee-icon-size-18 remove-option remove-item"></span> |
254 | 254 | <?php } ?> |
255 | 255 | <span class="dashicons dashicons-image-flip-vertical sortable-drag-handle ee-icon-size-18"></span> |
@@ -339,10 +339,10 @@ discard block |
||
339 | 339 | array('text' => esc_html__('Required', 'event_espresso'), 'id' => 1), |
340 | 340 | ); |
341 | 341 | echo EEH_Form_Fields::select_input( |
342 | - 'QST_required' . $id, |
|
342 | + 'QST_required'.$id, |
|
343 | 343 | $requiredOptions, |
344 | 344 | $question->required(), |
345 | - 'id="QST_required' . $id . '"' . $disabled_attr |
|
345 | + 'id="QST_required'.$id.'"'.$disabled_attr |
|
346 | 346 | ); |
347 | 347 | ?> |
348 | 348 | <p><span id="required_toggled_on" class="description" |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | 'event_espresso' |
359 | 359 | ) ?> |
360 | 360 | </span></p> |
361 | - <?php if (! empty($disabled_attr) && in_array($QST_system, $system_required)) { ?> |
|
361 | + <?php if ( ! empty($disabled_attr) && in_array($QST_system, $system_required)) { ?> |
|
362 | 362 | <input type="hidden" id="QST_required" name="QST_required" value="1"/> |
363 | 363 | <p><span class="description" style="color:#D54E21;"> |
364 | 364 | <?php esc_html_e('System question! This field cannot be changed.', 'event_espresso') ?> |
@@ -10,50 +10,50 @@ |
||
10 | 10 | class EES_Espresso_Ticket_Selector extends EES_Shortcode |
11 | 11 | { |
12 | 12 | |
13 | - /** |
|
14 | - * @deprecated 4.9.27 |
|
15 | - * @return void |
|
16 | - */ |
|
17 | - public static function set_hooks() |
|
18 | - { |
|
19 | - } |
|
20 | - |
|
21 | - |
|
22 | - |
|
23 | - /** |
|
24 | - * @deprecated 4.9.27 |
|
25 | - * @return void |
|
26 | - */ |
|
27 | - public static function set_hooks_admin() |
|
28 | - { |
|
29 | - } |
|
30 | - |
|
31 | - |
|
32 | - |
|
33 | - /** |
|
34 | - * @deprecated 4.9.27 |
|
35 | - * @param \WP $WP |
|
36 | - */ |
|
37 | - public function run(WP $WP) |
|
38 | - { |
|
39 | - } |
|
40 | - |
|
41 | - |
|
42 | - /** |
|
43 | - * @deprecated 4.9.27 |
|
44 | - * @param array $attributes |
|
45 | - * @return string |
|
46 | - */ |
|
47 | - public function process_shortcode($attributes = array()) |
|
48 | - { |
|
49 | - \EE_Error::doing_it_wrong( |
|
50 | - __METHOD__, |
|
51 | - __( |
|
52 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoTicketSelector instead.', |
|
53 | - 'event_espresso' |
|
54 | - ), |
|
55 | - '4.9.27' |
|
56 | - ); |
|
57 | - return ''; |
|
58 | - } |
|
13 | + /** |
|
14 | + * @deprecated 4.9.27 |
|
15 | + * @return void |
|
16 | + */ |
|
17 | + public static function set_hooks() |
|
18 | + { |
|
19 | + } |
|
20 | + |
|
21 | + |
|
22 | + |
|
23 | + /** |
|
24 | + * @deprecated 4.9.27 |
|
25 | + * @return void |
|
26 | + */ |
|
27 | + public static function set_hooks_admin() |
|
28 | + { |
|
29 | + } |
|
30 | + |
|
31 | + |
|
32 | + |
|
33 | + /** |
|
34 | + * @deprecated 4.9.27 |
|
35 | + * @param \WP $WP |
|
36 | + */ |
|
37 | + public function run(WP $WP) |
|
38 | + { |
|
39 | + } |
|
40 | + |
|
41 | + |
|
42 | + /** |
|
43 | + * @deprecated 4.9.27 |
|
44 | + * @param array $attributes |
|
45 | + * @return string |
|
46 | + */ |
|
47 | + public function process_shortcode($attributes = array()) |
|
48 | + { |
|
49 | + \EE_Error::doing_it_wrong( |
|
50 | + __METHOD__, |
|
51 | + __( |
|
52 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoTicketSelector instead.', |
|
53 | + 'event_espresso' |
|
54 | + ), |
|
55 | + '4.9.27' |
|
56 | + ); |
|
57 | + return ''; |
|
58 | + } |
|
59 | 59 | } |
@@ -11,55 +11,55 @@ |
||
11 | 11 | { |
12 | 12 | |
13 | 13 | |
14 | - /** |
|
15 | - * @deprecated 4.9.27 |
|
16 | - * @return void |
|
17 | - */ |
|
18 | - public static function set_hooks() |
|
19 | - { |
|
20 | - } |
|
14 | + /** |
|
15 | + * @deprecated 4.9.27 |
|
16 | + * @return void |
|
17 | + */ |
|
18 | + public static function set_hooks() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - /** |
|
23 | - * @deprecated 4.9.27 |
|
24 | - * @return void |
|
25 | - */ |
|
26 | - public static function set_hooks_admin() |
|
27 | - { |
|
28 | - } |
|
22 | + /** |
|
23 | + * @deprecated 4.9.27 |
|
24 | + * @return void |
|
25 | + */ |
|
26 | + public static function set_hooks_admin() |
|
27 | + { |
|
28 | + } |
|
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | - /** |
|
33 | - * @deprecated 4.9.27 |
|
34 | - * @return void |
|
35 | - */ |
|
36 | - public static function set_definitions() |
|
37 | - { |
|
38 | - } |
|
32 | + /** |
|
33 | + * @deprecated 4.9.27 |
|
34 | + * @return void |
|
35 | + */ |
|
36 | + public static function set_definitions() |
|
37 | + { |
|
38 | + } |
|
39 | 39 | |
40 | 40 | |
41 | 41 | |
42 | - /** |
|
43 | - * @deprecated 4.9.27 |
|
44 | - * @param WP $WP |
|
45 | - * @return void |
|
46 | - * @throws \Exception |
|
47 | - * @throws \EE_Error |
|
48 | - */ |
|
49 | - public function run(WP $WP) |
|
50 | - { |
|
51 | - } |
|
42 | + /** |
|
43 | + * @deprecated 4.9.27 |
|
44 | + * @param WP $WP |
|
45 | + * @return void |
|
46 | + * @throws \Exception |
|
47 | + * @throws \EE_Error |
|
48 | + */ |
|
49 | + public function run(WP $WP) |
|
50 | + { |
|
51 | + } |
|
52 | 52 | |
53 | 53 | |
54 | 54 | |
55 | 55 | |
56 | - /** |
|
57 | - * @deprecated 4.9.27 |
|
58 | - * @param array $attributes |
|
59 | - * @return string |
|
60 | - */ |
|
61 | - public function process_shortcode($attributes = array()) |
|
62 | - { |
|
63 | - return __('This is the Event Espresso Transactions page. This page receives instant payment notification (IPN) requests and should have a status of published, but should not be easily accessible by site visitors. Do not add it to your website\'s navigation menu or link to it from another page. Also, do not delete it or change its status to private.', 'event_espresso'); |
|
64 | - } |
|
56 | + /** |
|
57 | + * @deprecated 4.9.27 |
|
58 | + * @param array $attributes |
|
59 | + * @return string |
|
60 | + */ |
|
61 | + public function process_shortcode($attributes = array()) |
|
62 | + { |
|
63 | + return __('This is the Event Espresso Transactions page. This page receives instant payment notification (IPN) requests and should have a status of published, but should not be easily accessible by site visitors. Do not add it to your website\'s navigation menu or link to it from another page. Also, do not delete it or change its status to private.', 'event_espresso'); |
|
64 | + } |
|
65 | 65 | } |
@@ -10,50 +10,50 @@ |
||
10 | 10 | class EES_Espresso_Events extends EES_Shortcode |
11 | 11 | { |
12 | 12 | |
13 | - /** |
|
14 | - * @deprecated 4.9.27 |
|
15 | - * @return void |
|
16 | - */ |
|
17 | - public static function set_hooks() |
|
18 | - { |
|
19 | - } |
|
20 | - |
|
21 | - /** |
|
22 | - * @deprecated 4.9.27 |
|
23 | - * @return void |
|
24 | - */ |
|
25 | - public static function set_hooks_admin() |
|
26 | - { |
|
27 | - } |
|
28 | - |
|
29 | - |
|
30 | - |
|
31 | - /** |
|
32 | - * @deprecated 4.9.27 |
|
33 | - * @param WP $WP |
|
34 | - * @return void |
|
35 | - */ |
|
36 | - public function run(WP $WP) |
|
37 | - { |
|
38 | - } |
|
39 | - |
|
40 | - |
|
41 | - |
|
42 | - /** |
|
43 | - * @deprecated 4.9.27 |
|
44 | - * @param array $attributes |
|
45 | - * @return string |
|
46 | - */ |
|
47 | - public function process_shortcode($attributes = array()) |
|
48 | - { |
|
49 | - \EE_Error::doing_it_wrong( |
|
50 | - __METHOD__, |
|
51 | - __( |
|
52 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEvents instead.', |
|
53 | - 'event_espresso' |
|
54 | - ), |
|
55 | - '4.9.27' |
|
56 | - ); |
|
57 | - return ''; |
|
58 | - } |
|
13 | + /** |
|
14 | + * @deprecated 4.9.27 |
|
15 | + * @return void |
|
16 | + */ |
|
17 | + public static function set_hooks() |
|
18 | + { |
|
19 | + } |
|
20 | + |
|
21 | + /** |
|
22 | + * @deprecated 4.9.27 |
|
23 | + * @return void |
|
24 | + */ |
|
25 | + public static function set_hooks_admin() |
|
26 | + { |
|
27 | + } |
|
28 | + |
|
29 | + |
|
30 | + |
|
31 | + /** |
|
32 | + * @deprecated 4.9.27 |
|
33 | + * @param WP $WP |
|
34 | + * @return void |
|
35 | + */ |
|
36 | + public function run(WP $WP) |
|
37 | + { |
|
38 | + } |
|
39 | + |
|
40 | + |
|
41 | + |
|
42 | + /** |
|
43 | + * @deprecated 4.9.27 |
|
44 | + * @param array $attributes |
|
45 | + * @return string |
|
46 | + */ |
|
47 | + public function process_shortcode($attributes = array()) |
|
48 | + { |
|
49 | + \EE_Error::doing_it_wrong( |
|
50 | + __METHOD__, |
|
51 | + __( |
|
52 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEvents instead.', |
|
53 | + 'event_espresso' |
|
54 | + ), |
|
55 | + '4.9.27' |
|
56 | + ); |
|
57 | + return ''; |
|
58 | + } |
|
59 | 59 | } |
@@ -6,66 +6,65 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage /shortcodes/ |
8 | 8 | * @author Brent Christensen |
9 | - |
|
10 | 9 | * ------------------------------------------------------------------------ |
11 | 10 | */ |
12 | 11 | class EES_Espresso_Checkout extends EES_Shortcode |
13 | 12 | { |
14 | 13 | |
15 | - /** |
|
16 | - * set_hooks - for hooking into EE Core, modules, etc |
|
17 | - * |
|
18 | - * @access public |
|
19 | - * @return void |
|
20 | - */ |
|
21 | - public static function set_hooks() |
|
22 | - { |
|
23 | - } |
|
14 | + /** |
|
15 | + * set_hooks - for hooking into EE Core, modules, etc |
|
16 | + * |
|
17 | + * @access public |
|
18 | + * @return void |
|
19 | + */ |
|
20 | + public static function set_hooks() |
|
21 | + { |
|
22 | + } |
|
24 | 23 | |
25 | - /** |
|
26 | - * set_hooks_admin - for hooking into EE Admin Core, modules, etc |
|
27 | - * |
|
28 | - * @access public |
|
29 | - * @return void |
|
30 | - */ |
|
31 | - public static function set_hooks_admin() |
|
32 | - { |
|
33 | - } |
|
24 | + /** |
|
25 | + * set_hooks_admin - for hooking into EE Admin Core, modules, etc |
|
26 | + * |
|
27 | + * @access public |
|
28 | + * @return void |
|
29 | + */ |
|
30 | + public static function set_hooks_admin() |
|
31 | + { |
|
32 | + } |
|
34 | 33 | |
35 | 34 | |
36 | 35 | |
37 | - /** |
|
38 | - * run - initial shortcode module setup called during "wp_loaded" hook |
|
39 | - * this method is primarily used for loading resources that will be required by the shortcode when it is actually processed |
|
40 | - * |
|
41 | - * @access public |
|
42 | - * @param WP $WP |
|
43 | - * @return void |
|
44 | - * @throws \EE_Error |
|
45 | - */ |
|
46 | - public function run(WP $WP) |
|
47 | - { |
|
48 | - } |
|
36 | + /** |
|
37 | + * run - initial shortcode module setup called during "wp_loaded" hook |
|
38 | + * this method is primarily used for loading resources that will be required by the shortcode when it is actually processed |
|
39 | + * |
|
40 | + * @access public |
|
41 | + * @param WP $WP |
|
42 | + * @return void |
|
43 | + * @throws \EE_Error |
|
44 | + */ |
|
45 | + public function run(WP $WP) |
|
46 | + { |
|
47 | + } |
|
49 | 48 | |
50 | 49 | |
51 | 50 | |
52 | - /** |
|
53 | - * process_shortcode - ESPRESSO_CHECKOUT |
|
54 | - * |
|
55 | - * @access public |
|
56 | - * @param array $attributes |
|
57 | - * @return string |
|
58 | - */ |
|
59 | - public function process_shortcode($attributes = array()) |
|
60 | - { |
|
61 | - \EE_Error::doing_it_wrong( |
|
62 | - __METHOD__, |
|
63 | - __( |
|
64 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoCheckout::processShortcode() instead.', |
|
65 | - 'event_espresso' |
|
66 | - ), |
|
67 | - '4.9.27' |
|
68 | - ); |
|
69 | - return ''; |
|
70 | - } |
|
51 | + /** |
|
52 | + * process_shortcode - ESPRESSO_CHECKOUT |
|
53 | + * |
|
54 | + * @access public |
|
55 | + * @param array $attributes |
|
56 | + * @return string |
|
57 | + */ |
|
58 | + public function process_shortcode($attributes = array()) |
|
59 | + { |
|
60 | + \EE_Error::doing_it_wrong( |
|
61 | + __METHOD__, |
|
62 | + __( |
|
63 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoCheckout::processShortcode() instead.', |
|
64 | + 'event_espresso' |
|
65 | + ), |
|
66 | + '4.9.27' |
|
67 | + ); |
|
68 | + return ''; |
|
69 | + } |
|
71 | 70 | } |
@@ -12,56 +12,56 @@ |
||
12 | 12 | { |
13 | 13 | |
14 | 14 | |
15 | - /** |
|
16 | - * run - initial module setup |
|
17 | - * |
|
18 | - * @access public |
|
19 | - * @param WP $WP |
|
20 | - * @return void |
|
21 | - */ |
|
22 | - public function run(WP $WP) |
|
23 | - { |
|
24 | - } |
|
15 | + /** |
|
16 | + * run - initial module setup |
|
17 | + * |
|
18 | + * @access public |
|
19 | + * @param WP $WP |
|
20 | + * @return void |
|
21 | + */ |
|
22 | + public function run(WP $WP) |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | 26 | |
27 | - /** |
|
28 | - * set_hooks - for hooking into EE Core, modules, etc |
|
29 | - * |
|
30 | - * @access public |
|
31 | - * @return void |
|
32 | - */ |
|
33 | - public static function set_hooks() |
|
34 | - { |
|
35 | - } |
|
27 | + /** |
|
28 | + * set_hooks - for hooking into EE Core, modules, etc |
|
29 | + * |
|
30 | + * @access public |
|
31 | + * @return void |
|
32 | + */ |
|
33 | + public static function set_hooks() |
|
34 | + { |
|
35 | + } |
|
36 | 36 | |
37 | - /** |
|
38 | - * set_hooks_admin - for hooking into EE Admin Core, modules, etc |
|
39 | - * |
|
40 | - * @access public |
|
41 | - * @return void |
|
42 | - */ |
|
43 | - public static function set_hooks_admin() |
|
44 | - { |
|
45 | - } |
|
37 | + /** |
|
38 | + * set_hooks_admin - for hooking into EE Admin Core, modules, etc |
|
39 | + * |
|
40 | + * @access public |
|
41 | + * @return void |
|
42 | + */ |
|
43 | + public static function set_hooks_admin() |
|
44 | + { |
|
45 | + } |
|
46 | 46 | |
47 | 47 | |
48 | 48 | |
49 | - /** |
|
50 | - * @deprecated 4.9.27 |
|
51 | - * @param array $attributes |
|
52 | - * @return string |
|
53 | - * @throws \EE_Error |
|
54 | - */ |
|
55 | - public function process_shortcode($attributes = array()) |
|
56 | - { |
|
57 | - \EE_Error::doing_it_wrong( |
|
58 | - __METHOD__, |
|
59 | - __( |
|
60 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEventAttendeesShortcode instead.', |
|
61 | - 'event_espresso' |
|
62 | - ), |
|
63 | - '4.9.27' |
|
64 | - ); |
|
65 | - return ''; |
|
66 | - } |
|
49 | + /** |
|
50 | + * @deprecated 4.9.27 |
|
51 | + * @param array $attributes |
|
52 | + * @return string |
|
53 | + * @throws \EE_Error |
|
54 | + */ |
|
55 | + public function process_shortcode($attributes = array()) |
|
56 | + { |
|
57 | + \EE_Error::doing_it_wrong( |
|
58 | + __METHOD__, |
|
59 | + __( |
|
60 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEventAttendeesShortcode instead.', |
|
61 | + 'event_espresso' |
|
62 | + ), |
|
63 | + '4.9.27' |
|
64 | + ); |
|
65 | + return ''; |
|
66 | + } |
|
67 | 67 | } |
@@ -11,399 +11,399 @@ |
||
11 | 11 | class EES_Espresso_Thank_You extends EES_Shortcode |
12 | 12 | { |
13 | 13 | |
14 | - /** |
|
15 | - * time in seconds to wait for the IPN to arrive before telling the registrant to bugger off ( 1200s = 20 minutes ) |
|
16 | - */ |
|
17 | - const IPN_wait_time = 1200; |
|
18 | - |
|
19 | - |
|
20 | - |
|
21 | - |
|
22 | - /** |
|
23 | - * @deprecated 4.9.27 |
|
24 | - * @return void |
|
25 | - */ |
|
26 | - public static function set_hooks() |
|
27 | - { |
|
28 | - } |
|
29 | - |
|
30 | - |
|
31 | - |
|
32 | - /** |
|
33 | - * @deprecated 4.9.27 |
|
34 | - * @return void |
|
35 | - */ |
|
36 | - public static function set_hooks_admin() |
|
37 | - { |
|
38 | - } |
|
39 | - |
|
40 | - |
|
41 | - |
|
42 | - /** |
|
43 | - * @deprecated 4.9.27 |
|
44 | - * @return void |
|
45 | - */ |
|
46 | - public static function set_definitions() |
|
47 | - { |
|
48 | - \EE_Error::doing_it_wrong( |
|
49 | - __METHOD__, |
|
50 | - __( |
|
51 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
52 | - 'event_espresso' |
|
53 | - ), |
|
54 | - '4.9.27' |
|
55 | - ); |
|
56 | - } |
|
57 | - |
|
58 | - |
|
59 | - |
|
60 | - /** |
|
61 | - * @deprecated 4.9.27 |
|
62 | - * @return EE_Transaction |
|
63 | - */ |
|
64 | - public function get_txn() |
|
65 | - { |
|
66 | - \EE_Error::doing_it_wrong( |
|
67 | - __METHOD__, |
|
68 | - __( |
|
69 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
70 | - 'event_espresso' |
|
71 | - ), |
|
72 | - '4.9.27' |
|
73 | - ); |
|
74 | - } |
|
75 | - |
|
76 | - |
|
77 | - |
|
78 | - /** |
|
79 | - * @deprecated 4.9.27 |
|
80 | - * @param int $since |
|
81 | - * @return mixed array of EE_Payment || FALSE |
|
82 | - */ |
|
83 | - public function get_txn_payments($since = 0) |
|
84 | - { |
|
85 | - \EE_Error::doing_it_wrong( |
|
86 | - __METHOD__, |
|
87 | - __( |
|
88 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
89 | - 'event_espresso' |
|
90 | - ), |
|
91 | - '4.9.27' |
|
92 | - ); |
|
93 | - } |
|
94 | - |
|
95 | - |
|
96 | - |
|
97 | - /** |
|
98 | - * @deprecated 4.9.27 |
|
99 | - * @param string $reg_url_link |
|
100 | - * @return void |
|
101 | - */ |
|
102 | - public function set_reg_url_link($reg_url_link = null) |
|
103 | - { |
|
104 | - \EE_Error::doing_it_wrong( |
|
105 | - __METHOD__, |
|
106 | - __( |
|
107 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
108 | - 'event_espresso' |
|
109 | - ), |
|
110 | - '4.9.27' |
|
111 | - ); |
|
112 | - } |
|
113 | - |
|
114 | - |
|
115 | - |
|
116 | - /** |
|
117 | - * @deprecated 4.9.27 |
|
118 | - * @param WP $WP |
|
119 | - * @return void |
|
120 | - */ |
|
121 | - public function run(WP $WP) |
|
122 | - { |
|
123 | - } |
|
124 | - |
|
125 | - |
|
126 | - |
|
127 | - /** |
|
128 | - * @deprecated 4.9.27 |
|
129 | - * @return void |
|
130 | - */ |
|
131 | - protected function _translate_strings() |
|
132 | - { |
|
133 | - \EE_Error::doing_it_wrong( |
|
134 | - __METHOD__, |
|
135 | - __( |
|
136 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
137 | - 'event_espresso' |
|
138 | - ), |
|
139 | - '4.9.27' |
|
140 | - ); |
|
141 | - } |
|
142 | - |
|
143 | - |
|
144 | - |
|
145 | - /** |
|
146 | - * @deprecated 4.9.27 |
|
147 | - * @return void |
|
148 | - */ |
|
149 | - public function load_js() |
|
150 | - { |
|
151 | - \EE_Error::doing_it_wrong( |
|
152 | - __METHOD__, |
|
153 | - __( |
|
154 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
155 | - 'event_espresso' |
|
156 | - ), |
|
157 | - '4.9.27' |
|
158 | - ); |
|
159 | - } |
|
160 | - |
|
161 | - |
|
162 | - |
|
163 | - /** |
|
164 | - * @deprecated 4.9.27 |
|
165 | - * @return void |
|
166 | - * @throws \EE_Error |
|
167 | - */ |
|
168 | - public function init() |
|
169 | - { |
|
170 | - \EE_Error::doing_it_wrong( |
|
171 | - __METHOD__, |
|
172 | - __( |
|
173 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
174 | - 'event_espresso' |
|
175 | - ), |
|
176 | - '4.9.27' |
|
177 | - ); |
|
178 | - } |
|
179 | - |
|
180 | - |
|
181 | - |
|
182 | - /** |
|
183 | - * @deprecated 4.9.27 |
|
184 | - * @param array $attributes |
|
185 | - * @return string |
|
186 | - * @throws \EE_Error |
|
187 | - */ |
|
188 | - public function process_shortcode($attributes = array()) |
|
189 | - { |
|
190 | - \EE_Error::doing_it_wrong( |
|
191 | - __METHOD__, |
|
192 | - __( |
|
193 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
194 | - 'event_espresso' |
|
195 | - ), |
|
196 | - '4.9.27' |
|
197 | - ); |
|
198 | - return ''; |
|
199 | - } |
|
200 | - |
|
201 | - |
|
202 | - |
|
203 | - /** |
|
204 | - * @deprecated 4.9.27 |
|
205 | - * @param array $response |
|
206 | - * @param array $data |
|
207 | - * @return array |
|
208 | - * @throws \EE_Error |
|
209 | - */ |
|
210 | - public static function thank_you_page_IPN_monitor($response = array(), $data = array()) |
|
211 | - { |
|
212 | - \EE_Error::doing_it_wrong( |
|
213 | - __METHOD__, |
|
214 | - __( |
|
215 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
216 | - 'event_espresso' |
|
217 | - ), |
|
218 | - '4.9.27' |
|
219 | - ); |
|
220 | - } |
|
221 | - |
|
222 | - |
|
223 | - |
|
224 | - |
|
225 | - /** |
|
226 | - * @deprecated 4.9.27 |
|
227 | - * @return string |
|
228 | - * @throws \EE_Error |
|
229 | - */ |
|
230 | - public function get_registration_details() |
|
231 | - { |
|
232 | - \EE_Error::doing_it_wrong( |
|
233 | - __METHOD__, |
|
234 | - __( |
|
235 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
236 | - 'event_espresso' |
|
237 | - ), |
|
238 | - '4.9.27' |
|
239 | - ); |
|
240 | - } |
|
241 | - |
|
242 | - |
|
243 | - |
|
244 | - /** |
|
245 | - * resend_reg_confirmation_email |
|
246 | - * |
|
247 | - * @deprecated 4.9.27 |
|
248 | - */ |
|
249 | - public static function resend_reg_confirmation_email() |
|
250 | - { |
|
251 | - \EE_Error::doing_it_wrong( |
|
252 | - __METHOD__, |
|
253 | - __( |
|
254 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
255 | - 'event_espresso' |
|
256 | - ), |
|
257 | - '4.9.27' |
|
258 | - ); |
|
259 | - } |
|
260 | - |
|
261 | - |
|
262 | - |
|
263 | - /** |
|
264 | - * get_ajax_content |
|
265 | - * |
|
266 | - * @deprecated 4.9.27 |
|
267 | - * @return void |
|
268 | - */ |
|
269 | - public function get_ajax_content() |
|
270 | - { |
|
271 | - \EE_Error::doing_it_wrong( |
|
272 | - __METHOD__, |
|
273 | - __( |
|
274 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
275 | - 'event_espresso' |
|
276 | - ), |
|
277 | - '4.9.27' |
|
278 | - ); |
|
279 | - } |
|
280 | - |
|
281 | - |
|
282 | - |
|
283 | - /** |
|
284 | - * display_details_for_events |
|
285 | - * |
|
286 | - * @deprecated 4.9.27 |
|
287 | - * @param EE_Event[] $events |
|
288 | - * @return void |
|
289 | - */ |
|
290 | - public function display_details_for_events($events = array()) |
|
291 | - { |
|
292 | - \EE_Error::doing_it_wrong( |
|
293 | - __METHOD__, |
|
294 | - __( |
|
295 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
296 | - 'event_espresso' |
|
297 | - ), |
|
298 | - '4.9.27' |
|
299 | - ); |
|
300 | - } |
|
301 | - |
|
302 | - |
|
303 | - |
|
304 | - /** |
|
305 | - * display_details_for_events_requiring_pre_approval |
|
306 | - * |
|
307 | - * @deprecated 4.9.27 |
|
308 | - * @param EE_Event[] $events |
|
309 | - * @return void |
|
310 | - */ |
|
311 | - public function display_details_for_events_requiring_pre_approval($events = array()) |
|
312 | - { |
|
313 | - \EE_Error::doing_it_wrong( |
|
314 | - __METHOD__, |
|
315 | - __( |
|
316 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
317 | - 'event_espresso' |
|
318 | - ), |
|
319 | - '4.9.27' |
|
320 | - ); |
|
321 | - } |
|
322 | - |
|
323 | - |
|
324 | - |
|
325 | - /** |
|
326 | - * get_transaction_details |
|
327 | - * |
|
328 | - * @deprecated 4.9.27 |
|
329 | - * @return string |
|
330 | - * @throws \EE_Error |
|
331 | - */ |
|
332 | - public function get_transaction_details() |
|
333 | - { |
|
334 | - \EE_Error::doing_it_wrong( |
|
335 | - __METHOD__, |
|
336 | - __( |
|
337 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
338 | - 'event_espresso' |
|
339 | - ), |
|
340 | - '4.9.27' |
|
341 | - ); |
|
342 | - } |
|
343 | - |
|
344 | - |
|
345 | - |
|
346 | - /** |
|
347 | - * get_payment_row_html |
|
348 | - * |
|
349 | - * @deprecated 4.9.27 |
|
350 | - * @param EE_Payment $payment |
|
351 | - * @return string |
|
352 | - * @throws \EE_Error |
|
353 | - */ |
|
354 | - public function get_payment_row_html($payment = null) |
|
355 | - { |
|
356 | - \EE_Error::doing_it_wrong( |
|
357 | - __METHOD__, |
|
358 | - __( |
|
359 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
360 | - 'event_espresso' |
|
361 | - ), |
|
362 | - '4.9.27' |
|
363 | - ); |
|
364 | - } |
|
365 | - |
|
366 | - |
|
367 | - |
|
368 | - /** |
|
369 | - * get_payment_details |
|
370 | - * |
|
371 | - * @deprecated 4.9.27 |
|
372 | - * @param array $payments |
|
373 | - * @return string |
|
374 | - * @throws \EE_Error |
|
375 | - */ |
|
376 | - public function get_payment_details($payments = array()) |
|
377 | - { |
|
378 | - \EE_Error::doing_it_wrong( |
|
379 | - __METHOD__, |
|
380 | - __( |
|
381 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
382 | - 'event_espresso' |
|
383 | - ), |
|
384 | - '4.9.27' |
|
385 | - ); |
|
386 | - } |
|
387 | - |
|
388 | - |
|
389 | - |
|
390 | - /** |
|
391 | - * get_payment_details |
|
392 | - * |
|
393 | - * @deprecated 4.9.27 |
|
394 | - * @param array $payments |
|
395 | - * @return string |
|
396 | - * @throws \EE_Error |
|
397 | - */ |
|
398 | - public function get_new_payments($payments = array()) |
|
399 | - { |
|
400 | - \EE_Error::doing_it_wrong( |
|
401 | - __METHOD__, |
|
402 | - __( |
|
403 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
404 | - 'event_espresso' |
|
405 | - ), |
|
406 | - '4.9.27' |
|
407 | - ); |
|
408 | - } |
|
14 | + /** |
|
15 | + * time in seconds to wait for the IPN to arrive before telling the registrant to bugger off ( 1200s = 20 minutes ) |
|
16 | + */ |
|
17 | + const IPN_wait_time = 1200; |
|
18 | + |
|
19 | + |
|
20 | + |
|
21 | + |
|
22 | + /** |
|
23 | + * @deprecated 4.9.27 |
|
24 | + * @return void |
|
25 | + */ |
|
26 | + public static function set_hooks() |
|
27 | + { |
|
28 | + } |
|
29 | + |
|
30 | + |
|
31 | + |
|
32 | + /** |
|
33 | + * @deprecated 4.9.27 |
|
34 | + * @return void |
|
35 | + */ |
|
36 | + public static function set_hooks_admin() |
|
37 | + { |
|
38 | + } |
|
39 | + |
|
40 | + |
|
41 | + |
|
42 | + /** |
|
43 | + * @deprecated 4.9.27 |
|
44 | + * @return void |
|
45 | + */ |
|
46 | + public static function set_definitions() |
|
47 | + { |
|
48 | + \EE_Error::doing_it_wrong( |
|
49 | + __METHOD__, |
|
50 | + __( |
|
51 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
52 | + 'event_espresso' |
|
53 | + ), |
|
54 | + '4.9.27' |
|
55 | + ); |
|
56 | + } |
|
57 | + |
|
58 | + |
|
59 | + |
|
60 | + /** |
|
61 | + * @deprecated 4.9.27 |
|
62 | + * @return EE_Transaction |
|
63 | + */ |
|
64 | + public function get_txn() |
|
65 | + { |
|
66 | + \EE_Error::doing_it_wrong( |
|
67 | + __METHOD__, |
|
68 | + __( |
|
69 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
70 | + 'event_espresso' |
|
71 | + ), |
|
72 | + '4.9.27' |
|
73 | + ); |
|
74 | + } |
|
75 | + |
|
76 | + |
|
77 | + |
|
78 | + /** |
|
79 | + * @deprecated 4.9.27 |
|
80 | + * @param int $since |
|
81 | + * @return mixed array of EE_Payment || FALSE |
|
82 | + */ |
|
83 | + public function get_txn_payments($since = 0) |
|
84 | + { |
|
85 | + \EE_Error::doing_it_wrong( |
|
86 | + __METHOD__, |
|
87 | + __( |
|
88 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
89 | + 'event_espresso' |
|
90 | + ), |
|
91 | + '4.9.27' |
|
92 | + ); |
|
93 | + } |
|
94 | + |
|
95 | + |
|
96 | + |
|
97 | + /** |
|
98 | + * @deprecated 4.9.27 |
|
99 | + * @param string $reg_url_link |
|
100 | + * @return void |
|
101 | + */ |
|
102 | + public function set_reg_url_link($reg_url_link = null) |
|
103 | + { |
|
104 | + \EE_Error::doing_it_wrong( |
|
105 | + __METHOD__, |
|
106 | + __( |
|
107 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
108 | + 'event_espresso' |
|
109 | + ), |
|
110 | + '4.9.27' |
|
111 | + ); |
|
112 | + } |
|
113 | + |
|
114 | + |
|
115 | + |
|
116 | + /** |
|
117 | + * @deprecated 4.9.27 |
|
118 | + * @param WP $WP |
|
119 | + * @return void |
|
120 | + */ |
|
121 | + public function run(WP $WP) |
|
122 | + { |
|
123 | + } |
|
124 | + |
|
125 | + |
|
126 | + |
|
127 | + /** |
|
128 | + * @deprecated 4.9.27 |
|
129 | + * @return void |
|
130 | + */ |
|
131 | + protected function _translate_strings() |
|
132 | + { |
|
133 | + \EE_Error::doing_it_wrong( |
|
134 | + __METHOD__, |
|
135 | + __( |
|
136 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
137 | + 'event_espresso' |
|
138 | + ), |
|
139 | + '4.9.27' |
|
140 | + ); |
|
141 | + } |
|
142 | + |
|
143 | + |
|
144 | + |
|
145 | + /** |
|
146 | + * @deprecated 4.9.27 |
|
147 | + * @return void |
|
148 | + */ |
|
149 | + public function load_js() |
|
150 | + { |
|
151 | + \EE_Error::doing_it_wrong( |
|
152 | + __METHOD__, |
|
153 | + __( |
|
154 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
155 | + 'event_espresso' |
|
156 | + ), |
|
157 | + '4.9.27' |
|
158 | + ); |
|
159 | + } |
|
160 | + |
|
161 | + |
|
162 | + |
|
163 | + /** |
|
164 | + * @deprecated 4.9.27 |
|
165 | + * @return void |
|
166 | + * @throws \EE_Error |
|
167 | + */ |
|
168 | + public function init() |
|
169 | + { |
|
170 | + \EE_Error::doing_it_wrong( |
|
171 | + __METHOD__, |
|
172 | + __( |
|
173 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
174 | + 'event_espresso' |
|
175 | + ), |
|
176 | + '4.9.27' |
|
177 | + ); |
|
178 | + } |
|
179 | + |
|
180 | + |
|
181 | + |
|
182 | + /** |
|
183 | + * @deprecated 4.9.27 |
|
184 | + * @param array $attributes |
|
185 | + * @return string |
|
186 | + * @throws \EE_Error |
|
187 | + */ |
|
188 | + public function process_shortcode($attributes = array()) |
|
189 | + { |
|
190 | + \EE_Error::doing_it_wrong( |
|
191 | + __METHOD__, |
|
192 | + __( |
|
193 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
194 | + 'event_espresso' |
|
195 | + ), |
|
196 | + '4.9.27' |
|
197 | + ); |
|
198 | + return ''; |
|
199 | + } |
|
200 | + |
|
201 | + |
|
202 | + |
|
203 | + /** |
|
204 | + * @deprecated 4.9.27 |
|
205 | + * @param array $response |
|
206 | + * @param array $data |
|
207 | + * @return array |
|
208 | + * @throws \EE_Error |
|
209 | + */ |
|
210 | + public static function thank_you_page_IPN_monitor($response = array(), $data = array()) |
|
211 | + { |
|
212 | + \EE_Error::doing_it_wrong( |
|
213 | + __METHOD__, |
|
214 | + __( |
|
215 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
216 | + 'event_espresso' |
|
217 | + ), |
|
218 | + '4.9.27' |
|
219 | + ); |
|
220 | + } |
|
221 | + |
|
222 | + |
|
223 | + |
|
224 | + |
|
225 | + /** |
|
226 | + * @deprecated 4.9.27 |
|
227 | + * @return string |
|
228 | + * @throws \EE_Error |
|
229 | + */ |
|
230 | + public function get_registration_details() |
|
231 | + { |
|
232 | + \EE_Error::doing_it_wrong( |
|
233 | + __METHOD__, |
|
234 | + __( |
|
235 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
236 | + 'event_espresso' |
|
237 | + ), |
|
238 | + '4.9.27' |
|
239 | + ); |
|
240 | + } |
|
241 | + |
|
242 | + |
|
243 | + |
|
244 | + /** |
|
245 | + * resend_reg_confirmation_email |
|
246 | + * |
|
247 | + * @deprecated 4.9.27 |
|
248 | + */ |
|
249 | + public static function resend_reg_confirmation_email() |
|
250 | + { |
|
251 | + \EE_Error::doing_it_wrong( |
|
252 | + __METHOD__, |
|
253 | + __( |
|
254 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
255 | + 'event_espresso' |
|
256 | + ), |
|
257 | + '4.9.27' |
|
258 | + ); |
|
259 | + } |
|
260 | + |
|
261 | + |
|
262 | + |
|
263 | + /** |
|
264 | + * get_ajax_content |
|
265 | + * |
|
266 | + * @deprecated 4.9.27 |
|
267 | + * @return void |
|
268 | + */ |
|
269 | + public function get_ajax_content() |
|
270 | + { |
|
271 | + \EE_Error::doing_it_wrong( |
|
272 | + __METHOD__, |
|
273 | + __( |
|
274 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
275 | + 'event_espresso' |
|
276 | + ), |
|
277 | + '4.9.27' |
|
278 | + ); |
|
279 | + } |
|
280 | + |
|
281 | + |
|
282 | + |
|
283 | + /** |
|
284 | + * display_details_for_events |
|
285 | + * |
|
286 | + * @deprecated 4.9.27 |
|
287 | + * @param EE_Event[] $events |
|
288 | + * @return void |
|
289 | + */ |
|
290 | + public function display_details_for_events($events = array()) |
|
291 | + { |
|
292 | + \EE_Error::doing_it_wrong( |
|
293 | + __METHOD__, |
|
294 | + __( |
|
295 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
296 | + 'event_espresso' |
|
297 | + ), |
|
298 | + '4.9.27' |
|
299 | + ); |
|
300 | + } |
|
301 | + |
|
302 | + |
|
303 | + |
|
304 | + /** |
|
305 | + * display_details_for_events_requiring_pre_approval |
|
306 | + * |
|
307 | + * @deprecated 4.9.27 |
|
308 | + * @param EE_Event[] $events |
|
309 | + * @return void |
|
310 | + */ |
|
311 | + public function display_details_for_events_requiring_pre_approval($events = array()) |
|
312 | + { |
|
313 | + \EE_Error::doing_it_wrong( |
|
314 | + __METHOD__, |
|
315 | + __( |
|
316 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
317 | + 'event_espresso' |
|
318 | + ), |
|
319 | + '4.9.27' |
|
320 | + ); |
|
321 | + } |
|
322 | + |
|
323 | + |
|
324 | + |
|
325 | + /** |
|
326 | + * get_transaction_details |
|
327 | + * |
|
328 | + * @deprecated 4.9.27 |
|
329 | + * @return string |
|
330 | + * @throws \EE_Error |
|
331 | + */ |
|
332 | + public function get_transaction_details() |
|
333 | + { |
|
334 | + \EE_Error::doing_it_wrong( |
|
335 | + __METHOD__, |
|
336 | + __( |
|
337 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
338 | + 'event_espresso' |
|
339 | + ), |
|
340 | + '4.9.27' |
|
341 | + ); |
|
342 | + } |
|
343 | + |
|
344 | + |
|
345 | + |
|
346 | + /** |
|
347 | + * get_payment_row_html |
|
348 | + * |
|
349 | + * @deprecated 4.9.27 |
|
350 | + * @param EE_Payment $payment |
|
351 | + * @return string |
|
352 | + * @throws \EE_Error |
|
353 | + */ |
|
354 | + public function get_payment_row_html($payment = null) |
|
355 | + { |
|
356 | + \EE_Error::doing_it_wrong( |
|
357 | + __METHOD__, |
|
358 | + __( |
|
359 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
360 | + 'event_espresso' |
|
361 | + ), |
|
362 | + '4.9.27' |
|
363 | + ); |
|
364 | + } |
|
365 | + |
|
366 | + |
|
367 | + |
|
368 | + /** |
|
369 | + * get_payment_details |
|
370 | + * |
|
371 | + * @deprecated 4.9.27 |
|
372 | + * @param array $payments |
|
373 | + * @return string |
|
374 | + * @throws \EE_Error |
|
375 | + */ |
|
376 | + public function get_payment_details($payments = array()) |
|
377 | + { |
|
378 | + \EE_Error::doing_it_wrong( |
|
379 | + __METHOD__, |
|
380 | + __( |
|
381 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
382 | + 'event_espresso' |
|
383 | + ), |
|
384 | + '4.9.27' |
|
385 | + ); |
|
386 | + } |
|
387 | + |
|
388 | + |
|
389 | + |
|
390 | + /** |
|
391 | + * get_payment_details |
|
392 | + * |
|
393 | + * @deprecated 4.9.27 |
|
394 | + * @param array $payments |
|
395 | + * @return string |
|
396 | + * @throws \EE_Error |
|
397 | + */ |
|
398 | + public function get_new_payments($payments = array()) |
|
399 | + { |
|
400 | + \EE_Error::doing_it_wrong( |
|
401 | + __METHOD__, |
|
402 | + __( |
|
403 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
404 | + 'event_espresso' |
|
405 | + ), |
|
406 | + '4.9.27' |
|
407 | + ); |
|
408 | + } |
|
409 | 409 | } |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | <label><?php _e('Amount Owing: ', 'event_espresso'); ?></label> |
18 | 18 | </td> |
19 | 19 | <td class="<?php echo ($transaction->paid() == $transaction->total()) ? 'ee-transaction-paid' |
20 | - : 'ee-transaction-unpaid' ?>"> |
|
20 | + : 'ee-transaction-unpaid' ?>"> |
|
21 | 21 | <?php echo EEH_Template::format_currency($transaction->remaining()); ?> |
22 | 22 | </td> |
23 | 23 | </tr> |
@@ -27,10 +27,10 @@ discard block |
||
27 | 27 | </td> |
28 | 28 | <td> |
29 | 29 | <?php $transaction->e_pretty_status(true); |
30 | - if ($show_try_pay_again_link && ! $transaction->is_completed()) { ?> |
|
30 | + if ($show_try_pay_again_link && ! $transaction->is_completed()) { ?> |
|
31 | 31 | <span class="small-text"><a href='<?php echo $SPCO_payment_options_url ?>'><?php |
32 | - _e('View Payment Options', 'event_espresso'); |
|
33 | - ?></a></span> |
|
32 | + _e('View Payment Options', 'event_espresso'); |
|
33 | + ?></a></span> |
|
34 | 34 | <?php } ?> |
35 | 35 | </td> |
36 | 36 | </tr> |
@@ -43,16 +43,16 @@ discard block |
||
43 | 43 | </td> |
44 | 44 | </tr> |
45 | 45 | <?php do_action( |
46 | - 'AHEE__thank_you_page_transaction_details_template__after_transaction_table_row', |
|
47 | - $transaction |
|
48 | - ); ?> |
|
46 | + 'AHEE__thank_you_page_transaction_details_template__after_transaction_table_row', |
|
47 | + $transaction |
|
48 | + ); ?> |
|
49 | 49 | </tbody> |
50 | 50 | </table> |
51 | 51 | |
52 | 52 | <?php if ($show_try_pay_again_link && ! $transaction->is_completed()) { ?> |
53 | 53 | <p class="small-text jst-rght"> |
54 | 54 | <a href='<?php echo $SPCO_payment_options_url ?>'><?php |
55 | - _e("Click here to view Payment Options", 'event_espresso'); ?></a> |
|
55 | + _e("Click here to view Payment Options", 'event_espresso'); ?></a> |
|
56 | 56 | </p> |
57 | 57 | <br/> |
58 | 58 |
@@ -13,26 +13,26 @@ |
||
13 | 13 | <div class="ee-attention"> |
14 | 14 | <div class="extra-padding-sides"> |
15 | 15 | <?php echo apply_filters( |
16 | - 'FHEE__thank_you_page_overview_template__order_conf_desc', |
|
17 | - sprintf( |
|
18 | - $order_conf_desc, |
|
19 | - '<h3 class="">', |
|
20 | - '</h3>', |
|
21 | - '<br />' |
|
22 | - ) |
|
23 | - ); |
|
24 | - if (! empty($TXN_receipt_url)) : ?> |
|
16 | + 'FHEE__thank_you_page_overview_template__order_conf_desc', |
|
17 | + sprintf( |
|
18 | + $order_conf_desc, |
|
19 | + '<h3 class="">', |
|
20 | + '</h3>', |
|
21 | + '<br />' |
|
22 | + ) |
|
23 | + ); |
|
24 | + if (! empty($TXN_receipt_url)) : ?> |
|
25 | 25 | <br/> |
26 | 26 | <div class="jst-rght"> |
27 | 27 | <a class="ee-button ee-roundish indented-text big-text" |
28 | 28 | href="<?php echo $TXN_receipt_url; ?>"><span |
29 | 29 | class="ee-icon ee-icon-PDF-file-type"></span> |
30 | 30 | <?php |
31 | - echo apply_filters( |
|
32 | - 'FHEE__thank_you_page_overview_template__order_conf_button_text', |
|
33 | - __('View Full Order Confirmation Receipt', 'event_espresso') |
|
34 | - ); |
|
35 | - ?></a> |
|
31 | + echo apply_filters( |
|
32 | + 'FHEE__thank_you_page_overview_template__order_conf_button_text', |
|
33 | + __('View Full Order Confirmation Receipt', 'event_espresso') |
|
34 | + ); |
|
35 | + ?></a> |
|
36 | 36 | </div> |
37 | 37 | <?php endif; ?> |
38 | 38 | </div> |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | |
10 | 10 | <div id="espresso-thank-you-page-overview-dv" class="width-100"> |
11 | 11 | |
12 | - <?php if (! $revisit) : ?> |
|
12 | + <?php if ( ! $revisit) : ?> |
|
13 | 13 | <div class="ee-attention"> |
14 | 14 | <div class="extra-padding-sides"> |
15 | 15 | <?php echo apply_filters( |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | '<br />' |
22 | 22 | ) |
23 | 23 | ); |
24 | - if (! empty($TXN_receipt_url)) : ?> |
|
24 | + if ( ! empty($TXN_receipt_url)) : ?> |
|
25 | 25 | <br/> |
26 | 26 | <div class="jst-rght"> |
27 | 27 | <a class="ee-button ee-roundish indented-text big-text" |