@@ -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; |
@@ -1,23 +1,23 @@ |
||
1 | 1 | <div style="float:right"> |
2 | 2 | <?php printf( |
3 | - __('View %1$sRegistrations%4$s / %2$sTransactions%4$s for this %3$sevent%4$s.', 'event_espresso'), |
|
4 | - '<a href="' . $filtered_registrations_link . '">', |
|
5 | - '<a href="' . $filtered_transactions_link . '">', |
|
6 | - '<a href="' . $event_link . '">', |
|
7 | - '</a>' |
|
8 | - ); ?> |
|
3 | + __('View %1$sRegistrations%4$s / %2$sTransactions%4$s for this %3$sevent%4$s.', 'event_espresso'), |
|
4 | + '<a href="' . $filtered_registrations_link . '">', |
|
5 | + '<a href="' . $filtered_transactions_link . '">', |
|
6 | + '<a href="' . $event_link . '">', |
|
7 | + '</a>' |
|
8 | + ); ?> |
|
9 | 9 | </div> |
10 | 10 | <h3 id="reg-admin-reg-details-reg-nmbr-hdr"><?php echo $previous_registration . ' '; |
11 | - echo __('Registration # ', 'event_espresso') . $reg_nmbr['value']; |
|
12 | - echo ' ' . $next_registration; ?></h3> |
|
11 | + echo __('Registration # ', 'event_espresso') . $reg_nmbr['value']; |
|
12 | + echo ' ' . $next_registration; ?></h3> |
|
13 | 13 | <h2 id="reg-admin-reg-details-reg-date-hdr"><?php echo $reg_datetime['value']; ?></h2> |
14 | 14 | |
15 | 15 | <?php if ($registration->group_size() > 1) : ?> |
16 | 16 | <a id="scroll-to-other-attendees" class="scroll-to" href="#other-attendees"> |
17 | 17 | <?php echo __( |
18 | - 'Scroll to Other Registrations in the Same Transaction', |
|
19 | - 'event_espresso' |
|
20 | - ); ?></a> |
|
18 | + 'Scroll to Other Registrations in the Same Transaction', |
|
19 | + 'event_espresso' |
|
20 | + ); ?></a> |
|
21 | 21 | <?php endif; ?> |
22 | 22 | |
23 | 23 | <?php do_action('AHEE__reg_status_change_buttons__after_header', $REG_ID); ?> |
@@ -1,15 +1,15 @@ |
||
1 | 1 | <div style="float:right"> |
2 | 2 | <?php printf( |
3 | 3 | __('View %1$sRegistrations%4$s / %2$sTransactions%4$s for this %3$sevent%4$s.', 'event_espresso'), |
4 | - '<a href="' . $filtered_registrations_link . '">', |
|
5 | - '<a href="' . $filtered_transactions_link . '">', |
|
6 | - '<a href="' . $event_link . '">', |
|
4 | + '<a href="'.$filtered_registrations_link.'">', |
|
5 | + '<a href="'.$filtered_transactions_link.'">', |
|
6 | + '<a href="'.$event_link.'">', |
|
7 | 7 | '</a>' |
8 | 8 | ); ?> |
9 | 9 | </div> |
10 | -<h3 id="reg-admin-reg-details-reg-nmbr-hdr"><?php echo $previous_registration . ' '; |
|
11 | - echo __('Registration # ', 'event_espresso') . $reg_nmbr['value']; |
|
12 | - echo ' ' . $next_registration; ?></h3> |
|
10 | +<h3 id="reg-admin-reg-details-reg-nmbr-hdr"><?php echo $previous_registration.' '; |
|
11 | + echo __('Registration # ', 'event_espresso').$reg_nmbr['value']; |
|
12 | + echo ' '.$next_registration; ?></h3> |
|
13 | 13 | <h2 id="reg-admin-reg-details-reg-date-hdr"><?php echo $reg_datetime['value']; ?></h2> |
14 | 14 | |
15 | 15 | <?php if ($registration->group_size() > 1) : ?> |
@@ -17,62 +17,62 @@ |
||
17 | 17 | <tr> |
18 | 18 | <td class="jst-left"> |
19 | 19 | <?php |
20 | - $event_url = add_query_arg( |
|
21 | - array('action' => 'edit', 'post' => $registration->event_ID()), |
|
22 | - admin_url('admin.php?page=espresso_events') |
|
23 | - ); |
|
24 | - echo EE_Registry::instance()->CAP->current_user_can( |
|
25 | - 'ee_edit_event', |
|
26 | - 'espresso_events_edit', |
|
27 | - $registration->event_ID() |
|
28 | - ) ? '<a href="' . $event_url . '" title="' |
|
29 | - . esc_attr__( |
|
30 | - 'Edit Event', |
|
31 | - 'event_espresso' |
|
32 | - ) . '">' . $registration->event_name() . '</a>' : $registration->event_name(); |
|
33 | - ?> |
|
20 | + $event_url = add_query_arg( |
|
21 | + array('action' => 'edit', 'post' => $registration->event_ID()), |
|
22 | + admin_url('admin.php?page=espresso_events') |
|
23 | + ); |
|
24 | + echo EE_Registry::instance()->CAP->current_user_can( |
|
25 | + 'ee_edit_event', |
|
26 | + 'espresso_events_edit', |
|
27 | + $registration->event_ID() |
|
28 | + ) ? '<a href="' . $event_url . '" title="' |
|
29 | + . esc_attr__( |
|
30 | + 'Edit Event', |
|
31 | + 'event_espresso' |
|
32 | + ) . '">' . $registration->event_name() . '</a>' : $registration->event_name(); |
|
33 | + ?> |
|
34 | 34 | </td> |
35 | 35 | <td class="jst-left"> |
36 | 36 | <?php |
37 | - $reg_url = EE_Admin_Page::add_query_args_and_nonce( |
|
38 | - array('action' => 'view_registration', '_REG_ID' => $registration->ID()), |
|
39 | - REG_ADMIN_URL |
|
40 | - ); |
|
41 | - echo EE_Registry::instance()->CAP->current_user_can( |
|
42 | - 'ee_read_registration', |
|
43 | - 'espresso_registrations_view_registration', |
|
44 | - $registration->ID() |
|
45 | - ) ? ' |
|
37 | + $reg_url = EE_Admin_Page::add_query_args_and_nonce( |
|
38 | + array('action' => 'view_registration', '_REG_ID' => $registration->ID()), |
|
39 | + REG_ADMIN_URL |
|
40 | + ); |
|
41 | + echo EE_Registry::instance()->CAP->current_user_can( |
|
42 | + 'ee_read_registration', |
|
43 | + 'espresso_registrations_view_registration', |
|
44 | + $registration->ID() |
|
45 | + ) ? ' |
|
46 | 46 | <a href="' . $reg_url . '" title="' |
47 | - . esc_attr__( |
|
48 | - 'View Registration Details', |
|
49 | - 'event_espresso' |
|
50 | - ) . '">' . |
|
51 | - esc_html__('View Registration', 'event_espresso') . |
|
52 | - '</a>' : $registration->ID(); |
|
53 | - ?> |
|
47 | + . esc_attr__( |
|
48 | + 'View Registration Details', |
|
49 | + 'event_espresso' |
|
50 | + ) . '">' . |
|
51 | + esc_html__('View Registration', 'event_espresso') . |
|
52 | + '</a>' : $registration->ID(); |
|
53 | + ?> |
|
54 | 54 | </td> |
55 | 55 | <td class="jst-left"> |
56 | 56 | <?php |
57 | - $txn_url = EE_Admin_Page::add_query_args_and_nonce( |
|
58 | - array('action' => 'view_transaction', 'TXN_ID' => $registration->transaction_ID()), |
|
59 | - TXN_ADMIN_URL |
|
60 | - ); |
|
61 | - echo EE_Registry::instance()->CAP->current_user_can( |
|
62 | - 'ee_read_transaction', |
|
63 | - 'espresso_transactions_view_transaction' |
|
64 | - ) ? ' |
|
57 | + $txn_url = EE_Admin_Page::add_query_args_and_nonce( |
|
58 | + array('action' => 'view_transaction', 'TXN_ID' => $registration->transaction_ID()), |
|
59 | + TXN_ADMIN_URL |
|
60 | + ); |
|
61 | + echo EE_Registry::instance()->CAP->current_user_can( |
|
62 | + 'ee_read_transaction', |
|
63 | + 'espresso_transactions_view_transaction' |
|
64 | + ) ? ' |
|
65 | 65 | <a href="' . $txn_url . '" title="' |
66 | - . esc_attr__( |
|
67 | - 'View Transaction Details', |
|
68 | - 'event_espresso' |
|
69 | - ) . '">' . |
|
70 | - sprintf( |
|
71 | - esc_html__('View Transaction %d', 'event_espresso'), |
|
72 | - $registration->transaction_ID() |
|
73 | - ) . |
|
74 | - '</a>' : $registration->transaction_ID(); |
|
75 | - ?> |
|
66 | + . esc_attr__( |
|
67 | + 'View Transaction Details', |
|
68 | + 'event_espresso' |
|
69 | + ) . '">' . |
|
70 | + sprintf( |
|
71 | + esc_html__('View Transaction %d', 'event_espresso'), |
|
72 | + $registration->transaction_ID() |
|
73 | + ) . |
|
74 | + '</a>' : $registration->transaction_ID(); |
|
75 | + ?> |
|
76 | 76 | </td> |
77 | 77 | <td class="jst-left"><?php echo $registration->reg_code(); ?></td> |
78 | 78 | <td class="jst-rght"><?php echo EEH_Template::format_currency($registration->final_price()); ?></td> |
@@ -25,11 +25,11 @@ discard block |
||
25 | 25 | 'ee_edit_event', |
26 | 26 | 'espresso_events_edit', |
27 | 27 | $registration->event_ID() |
28 | - ) ? '<a href="' . $event_url . '" title="' |
|
28 | + ) ? '<a href="'.$event_url.'" title="' |
|
29 | 29 | . esc_attr__( |
30 | 30 | 'Edit Event', |
31 | 31 | 'event_espresso' |
32 | - ) . '">' . $registration->event_name() . '</a>' : $registration->event_name(); |
|
32 | + ).'">'.$registration->event_name().'</a>' : $registration->event_name(); |
|
33 | 33 | ?> |
34 | 34 | </td> |
35 | 35 | <td class="jst-left"> |
@@ -43,12 +43,12 @@ discard block |
||
43 | 43 | 'espresso_registrations_view_registration', |
44 | 44 | $registration->ID() |
45 | 45 | ) ? ' |
46 | - <a href="' . $reg_url . '" title="' |
|
46 | + <a href="' . $reg_url.'" title="' |
|
47 | 47 | . esc_attr__( |
48 | 48 | 'View Registration Details', |
49 | 49 | 'event_espresso' |
50 | - ) . '">' . |
|
51 | - esc_html__('View Registration', 'event_espresso') . |
|
50 | + ).'">'. |
|
51 | + esc_html__('View Registration', 'event_espresso'). |
|
52 | 52 | '</a>' : $registration->ID(); |
53 | 53 | ?> |
54 | 54 | </td> |
@@ -62,15 +62,15 @@ discard block |
||
62 | 62 | 'ee_read_transaction', |
63 | 63 | 'espresso_transactions_view_transaction' |
64 | 64 | ) ? ' |
65 | - <a href="' . $txn_url . '" title="' |
|
65 | + <a href="' . $txn_url.'" title="' |
|
66 | 66 | . esc_attr__( |
67 | 67 | 'View Transaction Details', |
68 | 68 | 'event_espresso' |
69 | - ) . '">' . |
|
69 | + ).'">'. |
|
70 | 70 | sprintf( |
71 | 71 | esc_html__('View Transaction %d', 'event_espresso'), |
72 | 72 | $registration->transaction_ID() |
73 | - ) . |
|
73 | + ). |
|
74 | 74 | '</a>' : $registration->transaction_ID(); |
75 | 75 | ?> |
76 | 76 | </td> |
@@ -65,7 +65,7 @@ |
||
65 | 65 | <?php echo $payment_log->e( |
66 | 66 | 'LOG_message', |
67 | 67 | 'as_table' |
68 | - );// EEH_Template::layout_array_as_table($payment_log->content())?> |
|
68 | + ); // EEH_Template::layout_array_as_table($payment_log->content())?> |
|
69 | 69 | </td> |
70 | 70 | </tr> |
71 | 71 | </tbody> |
@@ -36,17 +36,17 @@ discard block |
||
36 | 36 | </th> |
37 | 37 | <td> |
38 | 38 | <?php |
39 | - if ($payment_log->object() instanceof EE_Transaction) { |
|
40 | - esc_html_e('Unknown', 'event_espresso'); |
|
41 | - } else { |
|
42 | - echo $payment_method |
|
43 | - ? $payment_method->admin_name() |
|
44 | - : esc_html__( |
|
45 | - "No Longer Exists", |
|
46 | - 'event_espresso' |
|
47 | - ); |
|
48 | - } |
|
49 | - ?> |
|
39 | + if ($payment_log->object() instanceof EE_Transaction) { |
|
40 | + esc_html_e('Unknown', 'event_espresso'); |
|
41 | + } else { |
|
42 | + echo $payment_method |
|
43 | + ? $payment_method->admin_name() |
|
44 | + : esc_html__( |
|
45 | + "No Longer Exists", |
|
46 | + 'event_espresso' |
|
47 | + ); |
|
48 | + } |
|
49 | + ?> |
|
50 | 50 | |
51 | 51 | </td> |
52 | 52 | </tr> |
@@ -69,9 +69,9 @@ discard block |
||
69 | 69 | </th> |
70 | 70 | <td> |
71 | 71 | <?php echo $payment_log->e( |
72 | - 'LOG_message', |
|
73 | - 'as_table' |
|
74 | - );// EEH_Template::layout_array_as_table($payment_log->content())?> |
|
72 | + 'LOG_message', |
|
73 | + 'as_table' |
|
74 | + );// EEH_Template::layout_array_as_table($payment_log->content())?> |
|
75 | 75 | </td> |
76 | 76 | </tr> |
77 | 77 | </tbody> |
@@ -14,9 +14,9 @@ discard block |
||
14 | 14 | <div class="padding"> |
15 | 15 | <h4 class="espresso-header"><span class="dashicons dashicons-update ee-icon-size-22"></span> |
16 | 16 | <?php esc_html_e( |
17 | - 'Reset Ticket and Datetime Reserved Counts', |
|
18 | - 'event_espresso' |
|
19 | - ); ?></h4> |
|
17 | + 'Reset Ticket and Datetime Reserved Counts', |
|
18 | + 'event_espresso' |
|
19 | + ); ?></h4> |
|
20 | 20 | <p><?php esc_html_e('Use this to reset the counts for ticket and datetime reservations.', 'event_espresso'); ?></p> |
21 | 21 | <div class="float-right"><?php echo $reset_reservations_button; ?></div> |
22 | 22 | <div class="clear"></div> |
@@ -28,14 +28,14 @@ discard block |
||
28 | 28 | <div class="padding"> |
29 | 29 | <h4 class="espresso-header"><span class="dashicons dashicons-update ee-icon-size-22"></span> |
30 | 30 | <?php esc_html_e( |
31 | - 'Reset Event Espresso Capabilities', |
|
32 | - 'event_espresso' |
|
33 | - ); ?></h4> |
|
31 | + 'Reset Event Espresso Capabilities', |
|
32 | + 'event_espresso' |
|
33 | + ); ?></h4> |
|
34 | 34 | <p> |
35 | 35 | <?php esc_html_e( |
36 | - 'Use this to reset the capabilities on WP roles to the defaults as defined via EE_Capabilities. Note this reset does not REMOVE any existing capabilities, it just ensures that all the defaults are ADDED to the roles.', |
|
37 | - 'event_espresso' |
|
38 | - ); ?></p> |
|
36 | + 'Use this to reset the capabilities on WP roles to the defaults as defined via EE_Capabilities. Note this reset does not REMOVE any existing capabilities, it just ensures that all the defaults are ADDED to the roles.', |
|
37 | + 'event_espresso' |
|
38 | + ); ?></p> |
|
39 | 39 | <div class="float-right"><?php echo $reset_capabilities_button; ?></div> |
40 | 40 | <div class="clear"></div> |
41 | 41 | </div> |
@@ -45,25 +45,25 @@ discard block |
||
45 | 45 | <div class="padding"> |
46 | 46 | <h4 class="espresso-header"><span class="dashicons dashicons-update ee-icon-size-22"></span> |
47 | 47 | <?php esc_html_e( |
48 | - 'Reset Event Espresso Data', |
|
49 | - 'event_espresso' |
|
50 | - ); ?></h4> |
|
48 | + 'Reset Event Espresso Data', |
|
49 | + 'event_espresso' |
|
50 | + ); ?></h4> |
|
51 | 51 | <p> |
52 | 52 | <?php esc_html_e( |
53 | - ' This will reset data for Event Espresso 4, and for all active add-ons. Inactive add-ons will not be affected.', |
|
54 | - 'event_espresso' |
|
55 | - ); ?></p> |
|
53 | + ' This will reset data for Event Espresso 4, and for all active add-ons. Inactive add-ons will not be affected.', |
|
54 | + 'event_espresso' |
|
55 | + ); ?></p> |
|
56 | 56 | <p> |
57 | 57 | <?php esc_html_e( |
58 | - 'Your Event Espresso data will return to its default settings. The rest of your website will be unaffected.', |
|
59 | - 'event_espresso' |
|
60 | - ); ?></p> |
|
58 | + 'Your Event Espresso data will return to its default settings. The rest of your website will be unaffected.', |
|
59 | + 'event_espresso' |
|
60 | + ); ?></p> |
|
61 | 61 | <div class="float-right"><a class="button button-primary ee-confirm" |
62 | 62 | href="<?php echo $reset_db_url; ?>"> |
63 | 63 | <?php esc_html_e( |
64 | - 'Reset Event Espresso Tables', |
|
65 | - 'event_espresso' |
|
66 | - ); ?></a></div> |
|
64 | + 'Reset Event Espresso Tables', |
|
65 | + 'event_espresso' |
|
66 | + ); ?></a></div> |
|
67 | 67 | <div class="clear"></div> |
68 | 68 | </div> |
69 | 69 | <br/> |
@@ -72,71 +72,71 @@ discard block |
||
72 | 72 | <div class="padding"> |
73 | 73 | <h4 class="espresso-header"><span class="dashicons dashicons-post-trash ee-icon-size-22"></span> |
74 | 74 | <?php esc_html_e( |
75 | - 'Permanently Delete ALL Event Espresso Data', |
|
76 | - 'event_espresso' |
|
77 | - ); ?></h4> |
|
75 | + 'Permanently Delete ALL Event Espresso Data', |
|
76 | + 'event_espresso' |
|
77 | + ); ?></h4> |
|
78 | 78 | <p> |
79 | 79 | <?php esc_html_e( |
80 | - ' This will delete data for Event Espresso 4, and all currently active add-ons. Event Espresso will then be deactivated. You may need to manually deactivate each add-on individually.', |
|
81 | - 'event_espresso' |
|
82 | - ); ?></p> |
|
80 | + ' This will delete data for Event Espresso 4, and all currently active add-ons. Event Espresso will then be deactivated. You may need to manually deactivate each add-on individually.', |
|
81 | + 'event_espresso' |
|
82 | + ); ?></p> |
|
83 | 83 | <p> |
84 | 84 | <?php esc_html_e( |
85 | - 'If you know for certain that you will no longer be using Event Espresso and you wish to remove ALL traces of the plugin from your system, then perform the following steps.', |
|
86 | - 'event_espresso' |
|
87 | - ); ?></p> |
|
85 | + 'If you know for certain that you will no longer be using Event Espresso and you wish to remove ALL traces of the plugin from your system, then perform the following steps.', |
|
86 | + 'event_espresso' |
|
87 | + ); ?></p> |
|
88 | 88 | <p class="important-notice"> |
89 | 89 | <?php printf( |
90 | - esc_html__('Please note: %sThis is permanent and can NOT be undone.%s', 'event_espresso'), |
|
91 | - '<em>', |
|
92 | - '</em>' |
|
93 | - ); ?><br/></p> |
|
90 | + esc_html__('Please note: %sThis is permanent and can NOT be undone.%s', 'event_espresso'), |
|
91 | + '<em>', |
|
92 | + '</em>' |
|
93 | + ); ?><br/></p> |
|
94 | 94 | <ol> |
95 | 95 | <li> |
96 | 96 | <?php printf( |
97 | - esc_html__( |
|
98 | - 'First, click the button below to permanently delete all Event Espresso tables, records, and options from your WordPress database . If you receive a "500 Internal Server Error" or a blank white screen, it means the server has timed out due to the large number of records being updated. This is not a cause for concern. Simply %1$srefresh the page%2$s and the Database Update will continue where it left off.', |
|
99 | - 'event_espresso' |
|
100 | - ), |
|
101 | - '<strong>', |
|
102 | - '</strong>' |
|
103 | - ); ?></li> |
|
97 | + esc_html__( |
|
98 | + 'First, click the button below to permanently delete all Event Espresso tables, records, and options from your WordPress database . If you receive a "500 Internal Server Error" or a blank white screen, it means the server has timed out due to the large number of records being updated. This is not a cause for concern. Simply %1$srefresh the page%2$s and the Database Update will continue where it left off.', |
|
99 | + 'event_espresso' |
|
100 | + ), |
|
101 | + '<strong>', |
|
102 | + '</strong>' |
|
103 | + ); ?></li> |
|
104 | 104 | <li> |
105 | 105 | <?php printf( |
106 | - esc_html__( |
|
107 | - 'Then, locate Event Espresso on the WordPress Plugins page, and click on %sDelete%s', |
|
108 | - 'event_espresso' |
|
109 | - ), |
|
110 | - '<strong>', |
|
111 | - '</strong>' |
|
112 | - ); ?></li> |
|
106 | + esc_html__( |
|
107 | + 'Then, locate Event Espresso on the WordPress Plugins page, and click on %sDelete%s', |
|
108 | + 'event_espresso' |
|
109 | + ), |
|
110 | + '<strong>', |
|
111 | + '</strong>' |
|
112 | + ); ?></li> |
|
113 | 113 | <li> |
114 | 114 | <?php printf( |
115 | - esc_html__( |
|
116 | - 'Once you are on the Delete Plugin page, click on %sYes, Delete these files and data%s', |
|
117 | - 'event_espresso' |
|
118 | - ), |
|
119 | - '<strong>', |
|
120 | - '</strong>' |
|
121 | - ); ?></li> |
|
115 | + esc_html__( |
|
116 | + 'Once you are on the Delete Plugin page, click on %sYes, Delete these files and data%s', |
|
117 | + 'event_espresso' |
|
118 | + ), |
|
119 | + '<strong>', |
|
120 | + '</strong>' |
|
121 | + ); ?></li> |
|
122 | 122 | <li> |
123 | 123 | <?php printf( |
124 | - esc_html__('Note: Event Espresso 4 categories are %snot%s deleted by this script', 'event_espresso'), |
|
125 | - '<strong>', |
|
126 | - '</strong>' |
|
127 | - ); ?> |
|
124 | + esc_html__('Note: Event Espresso 4 categories are %snot%s deleted by this script', 'event_espresso'), |
|
125 | + '<strong>', |
|
126 | + '</strong>' |
|
127 | + ); ?> |
|
128 | 128 | <br><a href="<?php echo admin_url('edit-tags.php?taxonomy=espresso_event_categories'); ?>"> |
129 | 129 | <?php esc_html_e( |
130 | - 'You can go here to delete Event Espresso categories', |
|
131 | - 'event_espresso' |
|
132 | - ); ?></a></li> |
|
130 | + 'You can go here to delete Event Espresso categories', |
|
131 | + 'event_espresso' |
|
132 | + ); ?></a></li> |
|
133 | 133 | </ol> |
134 | 134 | <div class="float-right"><a href="<?php echo $delete_db_url; ?>" id="delete-all-data-btn" |
135 | 135 | class="button-primary ee-confirm"> |
136 | 136 | <?php esc_html_e( |
137 | - 'Permanently Delete All Event Espresso Data', |
|
138 | - 'event_espresso' |
|
139 | - ); ?></a></div> |
|
137 | + 'Permanently Delete All Event Espresso Data', |
|
138 | + 'event_espresso' |
|
139 | + ); ?></a></div> |
|
140 | 140 | <div class="clear"></div> |
141 | 141 | </div> |
142 | 142 | <br/> |
@@ -4,15 +4,15 @@ |
||
4 | 4 | <h1><?php esc_html_e("You must upgrade your Event Espresso Add-ons before Migrating", "event_espresso"); ?></h1> |
5 | 5 | <p> |
6 | 6 | <?php printf( |
7 | - esc_html__( |
|
8 | - "Please %s visit the plugins page%s and update all Event Espresso addon plugins before updating your database.", |
|
9 | - "event_espresso" |
|
10 | - ), |
|
11 | - "<a href='" . admin_url('/plugins.php') . "'>", |
|
12 | - "</a>" |
|
13 | - ); ?></p> |
|
7 | + esc_html__( |
|
8 | + "Please %s visit the plugins page%s and update all Event Espresso addon plugins before updating your database.", |
|
9 | + "event_espresso" |
|
10 | + ), |
|
11 | + "<a href='" . admin_url('/plugins.php') . "'>", |
|
12 | + "</a>" |
|
13 | + ); ?></p> |
|
14 | 14 | <p> |
15 | 15 | <?php esc_html_e( |
16 | - "You can also deactivate the addons, but all of their data will be lost when your database is migrated", |
|
17 | - "event_espresso" |
|
18 | - ); ?></p> |
|
19 | 16 | \ No newline at end of file |
17 | + "You can also deactivate the addons, but all of their data will be lost when your database is migrated", |
|
18 | + "event_espresso" |
|
19 | + ); ?></p> |
|
20 | 20 | \ No newline at end of file |
@@ -8,7 +8,7 @@ |
||
8 | 8 | "Please %s visit the plugins page%s and update all Event Espresso addon plugins before updating your database.", |
9 | 9 | "event_espresso" |
10 | 10 | ), |
11 | - "<a href='" . admin_url('/plugins.php') . "'>", |
|
11 | + "<a href='".admin_url('/plugins.php')."'>", |
|
12 | 12 | "</a>" |
13 | 13 | ); ?></p> |
14 | 14 | <p> |
@@ -67,7 +67,7 @@ |
||
67 | 67 | <p> |
68 | 68 | <?php printf( |
69 | 69 | esc_html__('...or copy-and-paste the below information to %1$s %2$s %3$s', "event_espresso"), |
70 | - '<a href="mailto:' . EE_SUPPORT_EMAIL . '">', |
|
70 | + '<a href="mailto:'.EE_SUPPORT_EMAIL.'">', |
|
71 | 71 | EE_SUPPORT_EMAIL, |
72 | 72 | "</a>" |
73 | 73 | ); ?></p> |
@@ -3,19 +3,19 @@ discard block |
||
3 | 3 | ?> |
4 | 4 | <h1><?php esc_html_e("Data Migration Error", "event_espresso"); ?></h1> |
5 | 5 | <p class='error'><?php |
6 | - printf( |
|
7 | - esc_html__( |
|
8 | - "Your last Database Update had a %s fatal error and was halted%s.", |
|
9 | - "event_espresso" |
|
10 | - ), |
|
11 | - "<b>", |
|
12 | - "</b>" |
|
13 | - ); ?></p> |
|
6 | + printf( |
|
7 | + esc_html__( |
|
8 | + "Your last Database Update had a %s fatal error and was halted%s.", |
|
9 | + "event_espresso" |
|
10 | + ), |
|
11 | + "<b>", |
|
12 | + "</b>" |
|
13 | + ); ?></p> |
|
14 | 14 | <a id="show-hide-migration-warnings" class="display-the-hidden"><?php |
15 | - esc_html_e( |
|
16 | - "Show Errors", |
|
17 | - 'event_espresso' |
|
18 | - ); ?></a> |
|
15 | + esc_html_e( |
|
16 | + "Show Errors", |
|
17 | + 'event_espresso' |
|
18 | + ); ?></a> |
|
19 | 19 | <ul class="migration-warnings" style="display:none"> |
20 | 20 | <?php foreach ($most_recent_migration->get_errors() as $error) { ?> |
21 | 21 | <li style="overflow-y:auto;max-height:100px"><?php echo esc_html($error) ?></li> |
@@ -23,12 +23,12 @@ discard block |
||
23 | 23 | </ul> |
24 | 24 | <h2> |
25 | 25 | <?php esc_html_e( |
26 | - "Fill out the below form to automatically Send Event Espresso a Crash Report", |
|
27 | - "event_espresso" |
|
28 | - ); ?></h2> |
|
26 | + "Fill out the below form to automatically Send Event Espresso a Crash Report", |
|
27 | + "event_espresso" |
|
28 | + ); ?></h2> |
|
29 | 29 | <form action='<?php echo EE_Admin_Page::add_query_args_and_nonce( |
30 | - array('action' => 'send_migration_crash_report'), |
|
31 | - EE_MAINTENANCE_ADMIN_URL |
|
30 | + array('action' => 'send_migration_crash_report'), |
|
31 | + EE_MAINTENANCE_ADMIN_URL |
|
32 | 32 | ); ?>' method='post'> |
33 | 33 | <table class='widefat'> |
34 | 34 | <tr> |
@@ -39,46 +39,46 @@ discard block |
||
39 | 39 | <tr> |
40 | 40 | <td><label for='from_name'><?php esc_html_e("Your Name", "event_espresso"); ?></label></td> |
41 | 41 | <td><input name='from_name' id='from_name' type='text' style="width:200px" value='<?php |
42 | - printf( |
|
43 | - esc_html__("Admin of %s", "event_espresso"), |
|
44 | - get_bloginfo('name', 'display') |
|
45 | - ); ?>'></td> |
|
42 | + printf( |
|
43 | + esc_html__("Admin of %s", "event_espresso"), |
|
44 | + get_bloginfo('name', 'display') |
|
45 | + ); ?>'></td> |
|
46 | 46 | </tr> |
47 | 47 | <tr> |
48 | 48 | <td><label for='body'><?php esc_html_e("Comments", "event_espresso"); ?></label></td> |
49 | 49 | <td><textarea name="body" id="body" class='system_status_info'> |
50 | 50 | <?php esc_html_e( |
51 | - "Enter any comments about why you think the error may have occurred", |
|
52 | - "event_espresso" |
|
53 | - ); ?></textarea> |
|
51 | + "Enter any comments about why you think the error may have occurred", |
|
52 | + "event_espresso" |
|
53 | + ); ?></textarea> |
|
54 | 54 | <p class='description'> |
55 | 55 | <?php esc_html_e( |
56 | - "Note: the System Information report will also be added to the email's body, which contains information about your Event Espresso, Wordpress, and PHP settings which can be helpful in debugging the problem.", |
|
57 | - "event_espresso" |
|
58 | - ); ?></p></td> |
|
56 | + "Note: the System Information report will also be added to the email's body, which contains information about your Event Espresso, Wordpress, and PHP settings which can be helpful in debugging the problem.", |
|
57 | + "event_espresso" |
|
58 | + ); ?></p></td> |
|
59 | 59 | </tr> |
60 | 60 | <tr> |
61 | 61 | <td colspan="2"><input type="submit" value="<?php |
62 | - esc_html_e( |
|
63 | - "Mail Crash Report to Event Espresso", |
|
64 | - "event_espresso" |
|
65 | - ); ?>"/></td> |
|
62 | + esc_html_e( |
|
63 | + "Mail Crash Report to Event Espresso", |
|
64 | + "event_espresso" |
|
65 | + ); ?>"/></td> |
|
66 | 66 | </tr> |
67 | 67 | </table> |
68 | 68 | </form> |
69 | 69 | <br> |
70 | 70 | <p> |
71 | 71 | <?php printf( |
72 | - esc_html__('...or copy-and-paste the below information to %1$s %2$s %3$s', "event_espresso"), |
|
73 | - '<a href="mailto:' . EE_SUPPORT_EMAIL . '">', |
|
74 | - EE_SUPPORT_EMAIL, |
|
75 | - "</a>" |
|
76 | - ); ?></p> |
|
72 | + esc_html__('...or copy-and-paste the below information to %1$s %2$s %3$s', "event_espresso"), |
|
73 | + '<a href="mailto:' . EE_SUPPORT_EMAIL . '">', |
|
74 | + EE_SUPPORT_EMAIL, |
|
75 | + "</a>" |
|
76 | + ); ?></p> |
|
77 | 77 | <textarea class="system_status_info"><?php print_r(EEM_System_Status::instance()->get_system_stati()) ?></textarea> |
78 | 78 | <p><?php printf(esc_html__('%1$sNext Step%2$s', 'event_espresso'), "<a href='$next_url'>", "</a>"); ?></p> |
79 | 79 | <p> |
80 | 80 | <?php printf( |
81 | - esc_html__('...or %1$sDON\'T send crash report%2$s.', 'event_espresso'), |
|
82 | - "<a href='$next_url'>", |
|
83 | - "</a>" |
|
84 | - ); ?></p> |
|
81 | + esc_html__('...or %1$sDON\'T send crash report%2$s.', 'event_espresso'), |
|
82 | + "<a href='$next_url'>", |
|
83 | + "</a>" |
|
84 | + ); ?></p> |