@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | esc_html__('Goes On Sale:', 'event_espresso') |
50 | 50 | ); ?></span> |
51 | 51 | <span class="dashicons dashicons-calendar"></span> |
52 | - <?php echo $ticket->get_i18n_datetime('TKT_start_date', $date_format) . ' '; ?> |
|
52 | + <?php echo $ticket->get_i18n_datetime('TKT_start_date', $date_format).' '; ?> |
|
53 | 53 | <span class="dashicons dashicons-clock"></span> |
54 | 54 | <?php echo $ticket->get_i18n_datetime('TKT_start_date', $time_format); ?> |
55 | 55 | <br/> |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | esc_html__('Sales End:', 'event_espresso') |
60 | 60 | ); ?></span> |
61 | 61 | <span class="dashicons dashicons-calendar"></span> |
62 | - <?php echo $ticket->get_i18n_datetime('TKT_end_date', $date_format) . ' '; ?> |
|
62 | + <?php echo $ticket->get_i18n_datetime('TKT_end_date', $date_format).' '; ?> |
|
63 | 63 | <span class="dashicons dashicons-clock"></span> |
64 | 64 | <?php echo $ticket->get_i18n_datetime('TKT_end_date', $time_format); ?> |
65 | 65 | <br/> |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | <br/> |
117 | 117 | <?php } ?> |
118 | 118 | |
119 | - <?php if ((! defined('EE_DECAF') || EE_DECAF !== true) && $ticket->uses() !== EE_INF) { ?> |
|
119 | + <?php if (( ! defined('EE_DECAF') || EE_DECAF !== true) && $ticket->uses() !== EE_INF) { ?> |
|
120 | 120 | <section class="tckt-slctr-tkt-uses-sctn"> |
121 | 121 | <h5> |
122 | 122 | <?php echo apply_filters( |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | <?php |
150 | 150 | $datetimes = $ticket->datetimes_ordered($event_is_expired, false); |
151 | 151 | $chart_column_width = $show_ticket_sale_columns ? ' ee-fourth-width' : ' ee-half-width'; |
152 | - if (! empty($datetimes)) { ?> |
|
152 | + if ( ! empty($datetimes)) { ?> |
|
153 | 153 | <section class="tckt-slctr-tkt-datetimes-sctn"> |
154 | 154 | <h5> |
155 | 155 | <?php echo apply_filters( |
@@ -260,10 +260,10 @@ discard block |
||
260 | 260 | esc_html__('Remaining', 'event_espresso') |
261 | 261 | ); ?>" class="cntr small-text"> |
262 | 262 | <?php echo $remaining === EE_INF |
263 | - ? '<span class="smaller-text">' . esc_html__( |
|
263 | + ? '<span class="smaller-text">'.esc_html__( |
|
264 | 264 | 'unlimited ', |
265 | 265 | 'event_espresso' |
266 | - ) . '</span>' : $remaining; ?> |
|
266 | + ).'</span>' : $remaining; ?> |
|
267 | 267 | </td> |
268 | 268 | <td data-th="<?php |
269 | 269 | echo apply_filters( |
@@ -273,10 +273,10 @@ discard block |
||
273 | 273 | <?php echo $datetime->sold(); ?> |
274 | 274 | </td> |
275 | 275 | <?php $tkts_left = $datetime->sold_out() |
276 | - ? '<span class="sold-out smaller-text">' . esc_html__( |
|
276 | + ? '<span class="sold-out smaller-text">'.esc_html__( |
|
277 | 277 | 'Sold Out', |
278 | 278 | 'event_espresso' |
279 | - ) . '</span>' : $datetime->spaces_remaining(); ?> |
|
279 | + ).'</span>' : $datetime->spaces_remaining(); ?> |
|
280 | 280 | <td data-th="<?php |
281 | 281 | echo apply_filters( |
282 | 282 | 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_total_ticket_left', |
@@ -305,4 +305,4 @@ discard block |
||
305 | 305 | </div> |
306 | 306 | </td> |
307 | 307 | </tr> |
308 | -<?php endif; // end template_settings->show_ticket_details check |
|
308 | +<?php endif; // end template_settings->show_ticket_details check |
@@ -22,32 +22,32 @@ discard block |
||
22 | 22 | <p><?php echo $ticket->description(); ?></p> |
23 | 23 | |
24 | 24 | <?php |
25 | - do_action( |
|
26 | - 'AHEE__ticket_selector_chart_template__ticket_details__after_description', |
|
27 | - $ticket, |
|
28 | - $ticket_price, |
|
29 | - $display_ticket_price |
|
30 | - ); |
|
31 | - ?> |
|
25 | + do_action( |
|
26 | + 'AHEE__ticket_selector_chart_template__ticket_details__after_description', |
|
27 | + $ticket, |
|
28 | + $ticket_price, |
|
29 | + $display_ticket_price |
|
30 | + ); |
|
31 | + ?> |
|
32 | 32 | |
33 | 33 | <section class="tckt-slctr-tkt-sale-dates-sctn"> |
34 | 34 | <h5> |
35 | 35 | <?php echo apply_filters( |
36 | - 'FHEE__ticket_selector_chart_template__ticket_details_sales_date_heading', |
|
37 | - esc_html__('Sale Dates', 'event_espresso') |
|
38 | - ); ?> |
|
36 | + 'FHEE__ticket_selector_chart_template__ticket_details_sales_date_heading', |
|
37 | + esc_html__('Sale Dates', 'event_espresso') |
|
38 | + ); ?> |
|
39 | 39 | </h5> |
40 | 40 | <span class="drk-grey-text small-text no-bold"> - |
41 | 41 | <?php echo apply_filters( |
42 | - 'FHEE__ticket_selector_chart_template__ticket_details_dates_available_message', |
|
43 | - esc_html__('The dates when this option is available for purchase.', 'event_espresso') |
|
44 | - ); ?></span> |
|
42 | + 'FHEE__ticket_selector_chart_template__ticket_details_dates_available_message', |
|
43 | + esc_html__('The dates when this option is available for purchase.', 'event_espresso') |
|
44 | + ); ?></span> |
|
45 | 45 | <br/> |
46 | 46 | <span class="ticket-details-label-spn drk-grey-text"> |
47 | 47 | <?php echo apply_filters( |
48 | - 'FHEE__ticket_selector_chart_template__ticket_details_goes_on_sale', |
|
49 | - esc_html__('Goes On Sale:', 'event_espresso') |
|
50 | - ); ?></span> |
|
48 | + 'FHEE__ticket_selector_chart_template__ticket_details_goes_on_sale', |
|
49 | + esc_html__('Goes On Sale:', 'event_espresso') |
|
50 | + ); ?></span> |
|
51 | 51 | <span class="dashicons dashicons-calendar"></span> |
52 | 52 | <?php echo $ticket->get_i18n_datetime('TKT_start_date', $date_format) . ' '; ?> |
53 | 53 | <span class="dashicons dashicons-clock"></span> |
@@ -55,9 +55,9 @@ discard block |
||
55 | 55 | <br/> |
56 | 56 | <span class="ticket-details-label-spn drk-grey-text"> |
57 | 57 | <?php echo apply_filters( |
58 | - 'FHEE__ticket_selector_chart_template__ticket_details_sales_end', |
|
59 | - esc_html__('Sales End:', 'event_espresso') |
|
60 | - ); ?></span> |
|
58 | + 'FHEE__ticket_selector_chart_template__ticket_details_sales_end', |
|
59 | + esc_html__('Sales End:', 'event_espresso') |
|
60 | + ); ?></span> |
|
61 | 61 | <span class="dashicons dashicons-calendar"></span> |
62 | 62 | <?php echo $ticket->get_i18n_datetime('TKT_end_date', $date_format) . ' '; ?> |
63 | 63 | <span class="dashicons dashicons-clock"></span> |
@@ -72,46 +72,46 @@ discard block |
||
72 | 72 | <section class="tckt-slctr-tkt-quantities-sctn"> |
73 | 73 | <h5> |
74 | 74 | <?php echo apply_filters( |
75 | - 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_heading', |
|
76 | - esc_html__('Purchasable Quantities', 'event_espresso') |
|
77 | - ); ?></h5> |
|
75 | + 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_heading', |
|
76 | + esc_html__('Purchasable Quantities', 'event_espresso') |
|
77 | + ); ?></h5> |
|
78 | 78 | <span class="drk-grey-text small-text no-bold"> - |
79 | 79 | <?php echo apply_filters( |
80 | - 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_message', |
|
81 | - esc_html__( |
|
82 | - 'The number of tickets that can be purchased per transaction (if available).', |
|
83 | - 'event_espresso' |
|
84 | - ) |
|
85 | - ); ?></span><br/> |
|
80 | + 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_message', |
|
81 | + esc_html__( |
|
82 | + 'The number of tickets that can be purchased per transaction (if available).', |
|
83 | + 'event_espresso' |
|
84 | + ) |
|
85 | + ); ?></span><br/> |
|
86 | 86 | <span class="ticket-details-label-spn drk-grey-text"> |
87 | 87 | <?php echo apply_filters( |
88 | - 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_min_qty', |
|
89 | - esc_html__('Minimum Qty:', 'event_espresso') |
|
90 | - ); ?></span><?php echo $ticket->min() > 0 ? $ticket->min() : 0; ?> |
|
88 | + 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_min_qty', |
|
89 | + esc_html__('Minimum Qty:', 'event_espresso') |
|
90 | + ); ?></span><?php echo $ticket->min() > 0 ? $ticket->min() : 0; ?> |
|
91 | 91 | <?php |
92 | - if ($ticket->min() > $remaining) { |
|
93 | - ?> <span |
|
92 | + if ($ticket->min() > $remaining) { |
|
93 | + ?> <span |
|
94 | 94 | class="important-notice small-text"> |
95 | 95 | <?php echo apply_filters( |
96 | - 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_min_qty_message', |
|
97 | - esc_html__( |
|
98 | - 'The Minimum Quantity purchasable for this ticket exceeds the number of spaces remaining', |
|
99 | - 'event_espresso' |
|
100 | - ) |
|
101 | - ); ?></span> |
|
96 | + 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_min_qty_message', |
|
97 | + esc_html__( |
|
98 | + 'The Minimum Quantity purchasable for this ticket exceeds the number of spaces remaining', |
|
99 | + 'event_espresso' |
|
100 | + ) |
|
101 | + ); ?></span> |
|
102 | 102 | <?php |
103 | - } ?><br/> |
|
103 | + } ?><br/> |
|
104 | 104 | <?php // $max = min( $max, $max_atndz );?> |
105 | 105 | <span class="ticket-details-label-spn drk-grey-text"> |
106 | 106 | <?php echo apply_filters( |
107 | - 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_max_qty', |
|
108 | - esc_html__('Maximum Qty:', 'event_espresso') |
|
109 | - ); ?></span> |
|
107 | + 'FHEE__ticket_selector_chart_template__ticket_details_purchasable_quantities_max_qty', |
|
108 | + esc_html__('Maximum Qty:', 'event_espresso') |
|
109 | + ); ?></span> |
|
110 | 110 | <?php echo $ticket->max() === EE_INF ? esc_html__( |
111 | - 'no limit', |
|
112 | - 'event_espresso' |
|
113 | - ) |
|
114 | - : max($ticket->max(), 1); ?><br/> |
|
111 | + 'no limit', |
|
112 | + 'event_espresso' |
|
113 | + ) |
|
114 | + : max($ticket->max(), 1); ?><br/> |
|
115 | 115 | </section> |
116 | 116 | <br/> |
117 | 117 | <?php } ?> |
@@ -120,50 +120,50 @@ discard block |
||
120 | 120 | <section class="tckt-slctr-tkt-uses-sctn"> |
121 | 121 | <h5> |
122 | 122 | <?php echo apply_filters( |
123 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_date_ticket_uses_heading', |
|
124 | - esc_html__('Event Date Ticket Uses', 'event_espresso') |
|
125 | - ); ?></h5> |
|
123 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_date_ticket_uses_heading', |
|
124 | + esc_html__('Event Date Ticket Uses', 'event_espresso') |
|
125 | + ); ?></h5> |
|
126 | 126 | <span class="drk-grey-text small-text no-bold"> - |
127 | 127 | <?php |
128 | - echo apply_filters( |
|
129 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_date_ticket_uses_message', |
|
130 | - sprintf( |
|
131 | - esc_html__( |
|
132 | - 'The number of separate event datetimes (see table below) that this ticket can be used to gain admittance to.%1$s%2$sAdmission is always one person per ticket.%3$s', |
|
133 | - 'event_espresso' |
|
134 | - ), |
|
135 | - '<br/>', |
|
136 | - '<strong>', |
|
137 | - '</strong>' |
|
138 | - ) |
|
139 | - ); |
|
140 | - ?></span><br/> |
|
128 | + echo apply_filters( |
|
129 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_date_ticket_uses_message', |
|
130 | + sprintf( |
|
131 | + esc_html__( |
|
132 | + 'The number of separate event datetimes (see table below) that this ticket can be used to gain admittance to.%1$s%2$sAdmission is always one person per ticket.%3$s', |
|
133 | + 'event_espresso' |
|
134 | + ), |
|
135 | + '<br/>', |
|
136 | + '<strong>', |
|
137 | + '</strong>' |
|
138 | + ) |
|
139 | + ); |
|
140 | + ?></span><br/> |
|
141 | 141 | <span class="ticket-details-label-spn drk-grey-text"> |
142 | 142 | <?php echo apply_filters( |
143 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_date_number_datetimes', |
|
144 | - esc_html__('# Datetimes:', 'event_espresso') |
|
145 | - ); ?></span><?php echo $ticket->uses(); ?><br/> |
|
143 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_date_number_datetimes', |
|
144 | + esc_html__('# Datetimes:', 'event_espresso') |
|
145 | + ); ?></span><?php echo $ticket->uses(); ?><br/> |
|
146 | 146 | </section> |
147 | 147 | <?php } ?> |
148 | 148 | |
149 | 149 | <?php |
150 | - $datetimes = $ticket->datetimes_ordered($event_is_expired, false); |
|
151 | - $chart_column_width = $show_ticket_sale_columns ? ' ee-fourth-width' : ' ee-half-width'; |
|
152 | - if (! empty($datetimes)) { ?> |
|
150 | + $datetimes = $ticket->datetimes_ordered($event_is_expired, false); |
|
151 | + $chart_column_width = $show_ticket_sale_columns ? ' ee-fourth-width' : ' ee-half-width'; |
|
152 | + if (! empty($datetimes)) { ?> |
|
153 | 153 | <section class="tckt-slctr-tkt-datetimes-sctn"> |
154 | 154 | <h5> |
155 | 155 | <?php echo apply_filters( |
156 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_heading', |
|
157 | - esc_html__('Access', 'event_espresso') |
|
158 | - ); ?></h5> |
|
156 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_heading', |
|
157 | + esc_html__('Access', 'event_espresso') |
|
158 | + ); ?></h5> |
|
159 | 159 | <span class="drk-grey-text small-text no-bold"> - |
160 | 160 | <?php echo apply_filters( |
161 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_message', |
|
162 | - esc_html__( |
|
163 | - 'This option allows access to the following dates and times.', |
|
164 | - 'event_espresso' |
|
165 | - ) |
|
166 | - ); ?></span> |
|
161 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_message', |
|
162 | + esc_html__( |
|
163 | + 'This option allows access to the following dates and times.', |
|
164 | + 'event_espresso' |
|
165 | + ) |
|
166 | + ); ?></span> |
|
167 | 167 | <div class="tckt-slctr-tkt-details-tbl-wrap-dv"> |
168 | 168 | <table class="tckt-slctr-tkt-details-tbl"> |
169 | 169 | <thead> |
@@ -172,122 +172,122 @@ discard block |
||
172 | 172 | <span class="dashicons dashicons-calendar"></span><span |
173 | 173 | class="small-text"> |
174 | 174 | <?php echo apply_filters( |
175 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_event_date', |
|
176 | - esc_html__('Date ', 'event_espresso') |
|
177 | - ); ?></span> |
|
175 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_event_date', |
|
176 | + esc_html__('Date ', 'event_espresso') |
|
177 | + ); ?></span> |
|
178 | 178 | </th> |
179 | 179 | <th class="tckt-slctr-tkt-details-time-th <?php echo $chart_column_width; ?>"> |
180 | 180 | <span class="dashicons dashicons-clock"></span><span |
181 | 181 | class="small-text"> |
182 | 182 | <?php esc_html_e( |
183 | - 'Time ', |
|
184 | - 'event_espresso' |
|
185 | - ); ?></span> |
|
183 | + 'Time ', |
|
184 | + 'event_espresso' |
|
185 | + ); ?></span> |
|
186 | 186 | </th> |
187 | 187 | <?php if ($show_ticket_sale_columns) : ?> |
188 | 188 | <th class="tckt-slctr-tkt-details-this-ticket-sold-th ee-fourth-width cntr"> |
189 | 189 | <span class="smaller-text"> |
190 | 190 | <?php echo apply_filters( |
191 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_this_ticket_sold', |
|
192 | - sprintf(esc_html__('Sold', 'event_espresso'), '<br/>') |
|
193 | - ); ?></span> |
|
191 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_this_ticket_sold', |
|
192 | + sprintf(esc_html__('Sold', 'event_espresso'), '<br/>') |
|
193 | + ); ?></span> |
|
194 | 194 | </th> |
195 | 195 | <th class="tckt-slctr-tkt-details-this-ticket-left-th ee-fourth-width cntr"> |
196 | 196 | <span class="smaller-text"> |
197 | 197 | <?php echo apply_filters( |
198 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_this_ticket_left', |
|
199 | - sprintf(esc_html__('Remaining', 'event_espresso'), '<br/>') |
|
200 | - ); ?></span> |
|
198 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_this_ticket_left', |
|
199 | + sprintf(esc_html__('Remaining', 'event_espresso'), '<br/>') |
|
200 | + ); ?></span> |
|
201 | 201 | </th> |
202 | 202 | <th |
203 | 203 | class="tckt-slctr-tkt-details-total-tickets-sold-th ee-fourth-width cntr"> |
204 | 204 | <span class="smaller-text"> |
205 | 205 | <?php echo apply_filters( |
206 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_total_ticket_sold', |
|
207 | - sprintf(esc_html__('Total%sSold', 'event_espresso'), '<br/>') |
|
208 | - ); ?></span> |
|
206 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_total_ticket_sold', |
|
207 | + sprintf(esc_html__('Total%sSold', 'event_espresso'), '<br/>') |
|
208 | + ); ?></span> |
|
209 | 209 | </th> |
210 | 210 | <th |
211 | 211 | class="tckt-slctr-tkt-details-total-tickets-left-th ee-fourth-width cntr"> |
212 | 212 | <span class="smaller-text"> |
213 | 213 | <?php echo apply_filters( |
214 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_total_ticket_left', |
|
215 | - sprintf(esc_html__('Total Spaces%sLeft', 'event_espresso'), '<br/>') |
|
216 | - ); ?></span> |
|
214 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_total_ticket_left', |
|
215 | + sprintf(esc_html__('Total Spaces%sLeft', 'event_espresso'), '<br/>') |
|
216 | + ); ?></span> |
|
217 | 217 | </th> |
218 | 218 | <?php endif; // end $show_ticket_sale_columns conditional ?> |
219 | 219 | </tr> |
220 | 220 | </thead> |
221 | 221 | <tbody> |
222 | 222 | <?php |
223 | - foreach ($datetimes as $datetime) { |
|
224 | - if ($datetime instanceof EE_Datetime) { |
|
225 | - ?> |
|
223 | + foreach ($datetimes as $datetime) { |
|
224 | + if ($datetime instanceof EE_Datetime) { |
|
225 | + ?> |
|
226 | 226 | |
227 | 227 | <tr> |
228 | 228 | <td data-th="<?php |
229 | - echo apply_filters( |
|
230 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_event_date', |
|
231 | - esc_html__('Event Date ', 'event_espresso') |
|
232 | - ); ?>" class="small-text"> |
|
229 | + echo apply_filters( |
|
230 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_event_date', |
|
231 | + esc_html__('Event Date ', 'event_espresso') |
|
232 | + ); ?>" class="small-text"> |
|
233 | 233 | <?php $datetime_name = $datetime->name(); ?> |
234 | 234 | <?php echo ! empty($datetime_name) ? '<b>' |
235 | - . $datetime_name |
|
236 | - . '</b><br/>' : ''; ?> |
|
235 | + . $datetime_name |
|
236 | + . '</b><br/>' : ''; ?> |
|
237 | 237 | <?php echo $datetime->date_range( |
238 | - $date_format, |
|
239 | - esc_html__(' to ', 'event_espresso') |
|
240 | - ); ?> |
|
238 | + $date_format, |
|
239 | + esc_html__(' to ', 'event_espresso') |
|
240 | + ); ?> |
|
241 | 241 | </td> |
242 | 242 | <td data-th="<?php esc_html_e('Time ', 'event_espresso'); ?>" |
243 | 243 | class="cntr small-text"> |
244 | 244 | <?php echo $datetime->time_range( |
245 | - $time_format, |
|
246 | - esc_html__(' to ', 'event_espresso') |
|
247 | - ); ?> |
|
245 | + $time_format, |
|
246 | + esc_html__(' to ', 'event_espresso') |
|
247 | + ); ?> |
|
248 | 248 | </td> |
249 | 249 | <?php if ($show_ticket_sale_columns) : ?> |
250 | 250 | <td data-th="<?php |
251 | - echo apply_filters( |
|
252 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_this_ticket_sold', |
|
253 | - esc_html__('Sold', 'event_espresso') |
|
254 | - ); ?>" class="cntr small-text"> |
|
251 | + echo apply_filters( |
|
252 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_this_ticket_sold', |
|
253 | + esc_html__('Sold', 'event_espresso') |
|
254 | + ); ?>" class="cntr small-text"> |
|
255 | 255 | <?php echo $ticket->sold(); ?> |
256 | 256 | </td> |
257 | 257 | <td data-th="<?php |
258 | - echo apply_filters( |
|
259 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_this_ticket_left', |
|
260 | - esc_html__('Remaining', 'event_espresso') |
|
261 | - ); ?>" class="cntr small-text"> |
|
258 | + echo apply_filters( |
|
259 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_this_ticket_left', |
|
260 | + esc_html__('Remaining', 'event_espresso') |
|
261 | + ); ?>" class="cntr small-text"> |
|
262 | 262 | <?php echo $remaining === EE_INF |
263 | - ? '<span class="smaller-text">' . esc_html__( |
|
264 | - 'unlimited ', |
|
265 | - 'event_espresso' |
|
266 | - ) . '</span>' : $remaining; ?> |
|
263 | + ? '<span class="smaller-text">' . esc_html__( |
|
264 | + 'unlimited ', |
|
265 | + 'event_espresso' |
|
266 | + ) . '</span>' : $remaining; ?> |
|
267 | 267 | </td> |
268 | 268 | <td data-th="<?php |
269 | - echo apply_filters( |
|
270 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_total_ticket_sold', |
|
271 | - esc_html__('Total Sold', 'event_espresso') |
|
272 | - ); ?>" class="cntr small-text"> |
|
269 | + echo apply_filters( |
|
270 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_total_ticket_sold', |
|
271 | + esc_html__('Total Sold', 'event_espresso') |
|
272 | + ); ?>" class="cntr small-text"> |
|
273 | 273 | <?php echo $datetime->sold(); ?> |
274 | 274 | </td> |
275 | 275 | <?php $tkts_left = $datetime->sold_out() |
276 | - ? '<span class="sold-out smaller-text">' . esc_html__( |
|
277 | - 'Sold Out', |
|
278 | - 'event_espresso' |
|
279 | - ) . '</span>' : $datetime->spaces_remaining(); ?> |
|
276 | + ? '<span class="sold-out smaller-text">' . esc_html__( |
|
277 | + 'Sold Out', |
|
278 | + 'event_espresso' |
|
279 | + ) . '</span>' : $datetime->spaces_remaining(); ?> |
|
280 | 280 | <td data-th="<?php |
281 | - echo apply_filters( |
|
282 | - 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_total_ticket_left', |
|
283 | - esc_html__('Total Spaces Left', 'event_espresso') |
|
284 | - ); ?>" class="cntr small-text"> |
|
281 | + echo apply_filters( |
|
282 | + 'FHEE__ticket_selector_chart_template__ticket_details_event_access_table_total_ticket_left', |
|
283 | + esc_html__('Total Spaces Left', 'event_espresso') |
|
284 | + ); ?>" class="cntr small-text"> |
|
285 | 285 | <?php echo $tkts_left === EE_INF ? '<span class="smaller-text">' |
286 | - . esc_html__( |
|
287 | - 'unlimited ', |
|
288 | - 'event_espresso' |
|
289 | - ) |
|
290 | - . '</span>' : $tkts_left; ?> |
|
286 | + . esc_html__( |
|
287 | + 'unlimited ', |
|
288 | + 'event_espresso' |
|
289 | + ) |
|
290 | + . '</span>' : $tkts_left; ?> |
|
291 | 291 | </td> |
292 | 292 | <?php endif; // end $show_ticket_sale_columns conditional ?> |
293 | 293 | </tr> |
@@ -65,20 +65,20 @@ discard block |
||
65 | 65 | </thead> |
66 | 66 | <tbody> |
67 | 67 | <?php |
68 | - /** |
|
69 | - * Recursive function for traversing all the sub-items of each line item |
|
70 | - * and displaying them in the table |
|
71 | - * |
|
72 | - * @param EE_Line_Item $line_item |
|
73 | - * @param boolean $odd for indicating whether to style this line item as an 'odd' or 'even' |
|
74 | - */ |
|
75 | - function ee_invoice_display_line_item(EE_Line_Item $line_item, $show_line_item_description, $odd = false) |
|
76 | - { |
|
77 | - switch ($line_item->type()) { |
|
78 | - case EEM_Line_Item::type_total: |
|
79 | - foreach ($line_item->children() as $child_line_item) { |
|
80 | - ee_invoice_display_line_item($child_line_item, $show_line_item_description); |
|
81 | - } ?> |
|
68 | + /** |
|
69 | + * Recursive function for traversing all the sub-items of each line item |
|
70 | + * and displaying them in the table |
|
71 | + * |
|
72 | + * @param EE_Line_Item $line_item |
|
73 | + * @param boolean $odd for indicating whether to style this line item as an 'odd' or 'even' |
|
74 | + */ |
|
75 | + function ee_invoice_display_line_item(EE_Line_Item $line_item, $show_line_item_description, $odd = false) |
|
76 | + { |
|
77 | + switch ($line_item->type()) { |
|
78 | + case EEM_Line_Item::type_total: |
|
79 | + foreach ($line_item->children() as $child_line_item) { |
|
80 | + ee_invoice_display_line_item($child_line_item, $show_line_item_description); |
|
81 | + } ?> |
|
82 | 82 | <tr> |
83 | 83 | <td colspan="<?php echo $show_line_item_description ? 5 : 4 ?>"> |
84 | 84 | <hr> |
@@ -90,50 +90,50 @@ discard block |
||
90 | 90 | <td class="total"><?php echo $line_item->total_no_code(); ?></td> |
91 | 91 | </tr> |
92 | 92 | <?php |
93 | - break; |
|
93 | + break; |
|
94 | 94 | |
95 | 95 | |
96 | - case EEM_Line_Item::type_sub_total: |
|
97 | - foreach ($line_item->children() as $child_line_item) { |
|
98 | - // $odd = !$odd; |
|
99 | - ee_invoice_display_line_item($child_line_item, $show_line_item_description, $odd); |
|
100 | - } ?> |
|
96 | + case EEM_Line_Item::type_sub_total: |
|
97 | + foreach ($line_item->children() as $child_line_item) { |
|
98 | + // $odd = !$odd; |
|
99 | + ee_invoice_display_line_item($child_line_item, $show_line_item_description, $odd); |
|
100 | + } ?> |
|
101 | 101 | <tr class="total_tr odd"> |
102 | 102 | <td colspan="<?php echo $show_line_item_description ? 2 : 1 ?>"> </td> |
103 | 103 | <td colspan="2" class="total" id="total_currency"> |
104 | 104 | <?php _e( |
105 | - 'Sub-Total', |
|
106 | - 'event_espresso' |
|
107 | - ); ?></td> |
|
105 | + 'Sub-Total', |
|
106 | + 'event_espresso' |
|
107 | + ); ?></td> |
|
108 | 108 | <td class="total"><?php echo $line_item->total_no_code(); ?></td> |
109 | 109 | </tr> |
110 | 110 | <?php |
111 | - break; |
|
111 | + break; |
|
112 | 112 | |
113 | 113 | |
114 | - case EEM_Line_Item::type_tax_sub_total: |
|
115 | - foreach ($line_item->children() as $child_line_item) { |
|
116 | - $odd = ! $odd; |
|
117 | - ee_invoice_display_line_item($child_line_item, $show_line_item_description, $odd); |
|
118 | - } ?> |
|
114 | + case EEM_Line_Item::type_tax_sub_total: |
|
115 | + foreach ($line_item->children() as $child_line_item) { |
|
116 | + $odd = ! $odd; |
|
117 | + ee_invoice_display_line_item($child_line_item, $show_line_item_description, $odd); |
|
118 | + } ?> |
|
119 | 119 | <tr class="total_tr odd"> |
120 | 120 | <td colspan="<?php echo $show_line_item_description ? 2 : 1 ?>"> </td> |
121 | 121 | <td colspan="2" class="total" id="total_currency"> |
122 | 122 | <?php _e( |
123 | - 'Tax Total', |
|
124 | - 'event_espresso' |
|
125 | - ); ?></td> |
|
123 | + 'Tax Total', |
|
124 | + 'event_espresso' |
|
125 | + ); ?></td> |
|
126 | 126 | <td class="total"><?php echo $line_item->total_no_code(); ?></td> |
127 | 127 | </tr> |
128 | 128 | <?php |
129 | - break; |
|
129 | + break; |
|
130 | 130 | |
131 | 131 | |
132 | - case EEM_Line_Item::type_line_item: |
|
133 | - $subitems = $line_item->children(); |
|
134 | - $has_subitems = count($subitems) > 1; |
|
135 | - if ($has_subitems) { |
|
136 | - ?> |
|
132 | + case EEM_Line_Item::type_line_item: |
|
133 | + $subitems = $line_item->children(); |
|
134 | + $has_subitems = count($subitems) > 1; |
|
135 | + if ($has_subitems) { |
|
136 | + ?> |
|
137 | 137 | <tr class="item <?php echo $odd ? 'odd' : ''; ?>"> |
138 | 138 | <td class="item_l"><?php echo $line_item->name() ?></td> |
139 | 139 | <?php if ($show_line_item_description) { ?> |
@@ -144,18 +144,18 @@ discard block |
||
144 | 144 | <td class="item_c"><?php echo $line_item->unit_price_no_code() ?></td> |
145 | 145 | |
146 | 146 | <td class="item_r"> <?php echo $line_item->total_no_code(); |
147 | - echo $line_item->is_taxable() ? '*' : '' ?> </td> |
|
147 | + echo $line_item->is_taxable() ? '*' : '' ?> </td> |
|
148 | 148 | <?php // <td class="item_l"><?php $datetimes_strings = array(); foreach($datetimes as $datetime){ $datetimes_strings[]= $datetime->start_date_and_time();} echo implode(", ",$datetimes_strings); |
149 | - ?> |
|
149 | + ?> |
|
150 | 150 | </tr> |
151 | 151 | <?php |
152 | - if ($has_subitems) { |
|
153 | - foreach ($line_item->children() as $child_line_item) { |
|
154 | - ee_invoice_display_line_item($child_line_item, $show_line_item_description, $odd); |
|
155 | - } |
|
156 | - } |
|
157 | - } else {// no subitems - just show this line item |
|
158 | - ?> |
|
152 | + if ($has_subitems) { |
|
153 | + foreach ($line_item->children() as $child_line_item) { |
|
154 | + ee_invoice_display_line_item($child_line_item, $show_line_item_description, $odd); |
|
155 | + } |
|
156 | + } |
|
157 | + } else {// no subitems - just show this line item |
|
158 | + ?> |
|
159 | 159 | <tr class="item <?php echo $odd ? 'odd' : ''; ?>"> |
160 | 160 | <td class="item_l"><?php echo $line_item->name() ?></td> |
161 | 161 | <?php if ($show_line_item_description) { ?> |
@@ -164,15 +164,15 @@ discard block |
||
164 | 164 | <td class="item_l"><?php echo $line_item->quantity() ?></td> |
165 | 165 | <td class="item_c"><?php echo $line_item->unit_price_no_code() ?></td> |
166 | 166 | <td class="item_r"> <?php echo $line_item->total_no_code(); |
167 | - echo $line_item->is_taxable() ? '*' : '' ?> </td> |
|
167 | + echo $line_item->is_taxable() ? '*' : '' ?> </td> |
|
168 | 168 | <?php // <td class="item_l"><?php $datetimes_strings = array(); foreach($datetimes as $datetime){ $datetimes_strings[]= $datetime->start_date_and_time();} echo implode(", ",$datetimes_strings); |
169 | - ?> |
|
169 | + ?> |
|
170 | 170 | </tr> |
171 | 171 | <?php } |
172 | 172 | |
173 | - break; |
|
174 | - case EEM_Line_Item::type_sub_line_item: |
|
175 | - ?> |
|
173 | + break; |
|
174 | + case EEM_Line_Item::type_sub_line_item: |
|
175 | + ?> |
|
176 | 176 | <tr class="item subitem-row"> |
177 | 177 | <td class="item_l subitem"><?php echo $line_item->name(); ?></td> |
178 | 178 | <?php if ($show_line_item_description) { ?> |
@@ -188,9 +188,9 @@ discard block |
||
188 | 188 | <td class="item_r"><?php echo $line_item->total_no_code(); ?></td> |
189 | 189 | </tr> |
190 | 190 | <?php |
191 | - break; |
|
192 | - case EEM_Line_Item::type_tax: |
|
193 | - ?> |
|
191 | + break; |
|
192 | + case EEM_Line_Item::type_tax: |
|
193 | + ?> |
|
194 | 194 | <tr class="item sub-item tax-total"> |
195 | 195 | <td class="item_l"><?php echo $line_item->name(); ?></td> |
196 | 196 | <?php if ($show_line_item_description) { ?> |
@@ -200,15 +200,15 @@ discard block |
||
200 | 200 | |
201 | 201 | <td class="item_r"><?php echo $line_item->total_no_code(); ?></td> |
202 | 202 | </tr><?php |
203 | - break; |
|
204 | - } |
|
205 | - } |
|
203 | + break; |
|
204 | + } |
|
205 | + } |
|
206 | 206 | |
207 | - $c = false; |
|
208 | - /* @var $transaction EE_Transaction */ |
|
209 | - $total_line_item = $transaction->total_line_item(); |
|
210 | - ee_invoice_display_line_item($total_line_item, $show_line_item_description); |
|
211 | - /* foreach($transaction->registrations() as $registration){ |
|
207 | + $c = false; |
|
208 | + /* @var $transaction EE_Transaction */ |
|
209 | + $total_line_item = $transaction->total_line_item(); |
|
210 | + ee_invoice_display_line_item($total_line_item, $show_line_item_description); |
|
211 | + /* foreach($transaction->registrations() as $registration){ |
|
212 | 212 | ?> |
213 | 213 | <tr class="item <?php echo ($c = !$c) ? ' odd' : ''; ?>"> |
214 | 214 | <td class="item_l">1</td> |
@@ -237,11 +237,11 @@ discard block |
||
237 | 237 | </thead> |
238 | 238 | <tbody> |
239 | 239 | <?php |
240 | - $c = false; |
|
241 | - if (! empty($payments)) { |
|
242 | - foreach ($payments as $payment) { |
|
243 | - /* @var $payment EE_Payment */ |
|
244 | - ?> |
|
240 | + $c = false; |
|
241 | + if (! empty($payments)) { |
|
242 | + foreach ($payments as $payment) { |
|
243 | + /* @var $payment EE_Payment */ |
|
244 | + ?> |
|
245 | 245 | <tr class='item <?php echo(($c = ! $c) ? ' odd' : '') ?>'> |
246 | 246 | <td><?php $payment->e('PAY_gateway') ?></td> |
247 | 247 | <td><?php echo $payment->timestamp('D M j, Y') ?></td> |
@@ -251,17 +251,17 @@ discard block |
||
251 | 251 | <td class='item_r'><?php echo EEH_Template::format_currency($payment->amount()); ?></td> |
252 | 252 | </tr> |
253 | 253 | <?php } |
254 | - } else { |
|
255 | - ?> |
|
254 | + } else { |
|
255 | + ?> |
|
256 | 256 | <tr class='item'> |
257 | 257 | <td class='aln-cntr' colspan=6> |
258 | 258 | <?php _e( |
259 | - "No approved payments have been received", |
|
260 | - 'event_espresso' |
|
261 | - ) ?></td> |
|
259 | + "No approved payments have been received", |
|
260 | + 'event_espresso' |
|
261 | + ) ?></td> |
|
262 | 262 | </tr> |
263 | 263 | <?php } |
264 | - ?> |
|
264 | + ?> |
|
265 | 265 | </tbody> |
266 | 266 | <tfoot> |
267 | 267 | <tr class='total_tr'> |
@@ -238,7 +238,7 @@ |
||
238 | 238 | <tbody> |
239 | 239 | <?php |
240 | 240 | $c = false; |
241 | - if (! empty($payments)) { |
|
241 | + if ( ! empty($payments)) { |
|
242 | 242 | foreach ($payments as $payment) { |
243 | 243 | /* @var $payment EE_Payment */ |
244 | 244 | ?> |
@@ -8,9 +8,9 @@ |
||
8 | 8 | <head> |
9 | 9 | <title>[organization]<?php __(' Invoice #', 'event_espresso'); ?>[registration_code] |
10 | 10 | <?php __( |
11 | - ' for ', |
|
12 | - 'event_espresso' |
|
13 | - ); ?>[name]</title> |
|
11 | + ' for ', |
|
12 | + 'event_espresso' |
|
13 | + ); ?>[name]</title> |
|
14 | 14 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
15 | 15 | <!-- Base Stylesheet do not change or remove --> |
16 | 16 | <link rel="stylesheet" type="text/css" href="[base_url]base.css" media="screen"/> |
@@ -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,12 +27,12 @@ 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 ?>'> |
32 | 32 | <?php _e( |
33 | - 'View Payment Options', |
|
34 | - 'event_espresso' |
|
35 | - ); ?></a></span> |
|
33 | + 'View Payment Options', |
|
34 | + 'event_espresso' |
|
35 | + ); ?></a></span> |
|
36 | 36 | <?php } ?> |
37 | 37 | </td> |
38 | 38 | </tr> |
@@ -45,9 +45,9 @@ discard block |
||
45 | 45 | </td> |
46 | 46 | </tr> |
47 | 47 | <?php do_action( |
48 | - 'AHEE__thank_you_page_transaction_details_template__after_transaction_table_row', |
|
49 | - $transaction |
|
50 | - ); ?> |
|
48 | + 'AHEE__thank_you_page_transaction_details_template__after_transaction_table_row', |
|
49 | + $transaction |
|
50 | + ); ?> |
|
51 | 51 | </tbody> |
52 | 52 | </table> |
53 | 53 | |
@@ -55,9 +55,9 @@ discard block |
||
55 | 55 | <p class="small-text jst-rght"> |
56 | 56 | <a href='<?php echo $SPCO_payment_options_url ?>'> |
57 | 57 | <?php _e( |
58 | - "Click here to view Payment Options", |
|
59 | - 'event_espresso' |
|
60 | - ); ?></a> |
|
58 | + "Click here to view Payment Options", |
|
59 | + 'event_espresso' |
|
60 | + ); ?></a> |
|
61 | 61 | </p> |
62 | 62 | <br/> |
63 | 63 |
@@ -13,24 +13,24 @@ |
||
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 echo apply_filters( |
31 | - 'FHEE__thank_you_page_overview_template__order_conf_button_text', |
|
32 | - __('View Full Order Confirmation Receipt', 'event_espresso') |
|
33 | - ); ?></a> |
|
31 | + 'FHEE__thank_you_page_overview_template__order_conf_button_text', |
|
32 | + __('View Full Order Confirmation Receipt', 'event_espresso') |
|
33 | + ); ?></a> |
|
34 | 34 | </div> |
35 | 35 | <?php endif; ?> |
36 | 36 | </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" |
@@ -9,22 +9,22 @@ discard block |
||
9 | 9 | |
10 | 10 | <div class="ee-registration-details-dv"> |
11 | 11 | <?php |
12 | - $registrations = $transaction->registrations(); |
|
13 | - $registrations = is_array($registrations) ? $registrations : array(); |
|
14 | - $reg_count = count($registrations); |
|
15 | - $reg_cntr = 0; |
|
16 | - $event_name = ''; |
|
17 | - $wait_list = false; |
|
18 | - foreach ($registrations as $registration) { |
|
19 | - if ($registration instanceof EE_Registration) { |
|
20 | - if ($event_name != $registration->event_name() && ! empty($event_name)) { ?> |
|
12 | + $registrations = $transaction->registrations(); |
|
13 | + $registrations = is_array($registrations) ? $registrations : array(); |
|
14 | + $reg_count = count($registrations); |
|
15 | + $reg_cntr = 0; |
|
16 | + $event_name = ''; |
|
17 | + $wait_list = false; |
|
18 | + foreach ($registrations as $registration) { |
|
19 | + if ($registration instanceof EE_Registration) { |
|
20 | + if ($event_name != $registration->event_name() && ! empty($event_name)) { ?> |
|
21 | 21 | </tbody> |
22 | 22 | </table> |
23 | 23 | <?php |
24 | - } |
|
25 | - $reg_cntr++; |
|
26 | - if ($event_name != $registration->event_name()) { |
|
27 | - ?> |
|
24 | + } |
|
25 | + $reg_cntr++; |
|
26 | + if ($event_name != $registration->event_name()) { |
|
27 | + ?> |
|
28 | 28 | <h5> |
29 | 29 | <span class="smaller-text grey-text"><?php _e('for', 'event_espresso'); ?> |
30 | 30 | : </span> <?php echo htmlentities($registration->event_name(), ENT_QUOTES, 'UTF-8'); ?> |
@@ -45,46 +45,46 @@ discard block |
||
45 | 45 | </thead> |
46 | 46 | <tbody> |
47 | 47 | <?php |
48 | - } |
|
49 | - if ($is_primary || (! $is_primary && $reg_url_link == $registration->reg_url_link())) { ?> |
|
48 | + } |
|
49 | + if ($is_primary || (! $is_primary && $reg_url_link == $registration->reg_url_link())) { ?> |
|
50 | 50 | <tr> |
51 | 51 | <td width="40%"> |
52 | 52 | <?php |
53 | - if ($registration->attendee() instanceof EE_Attendee) { |
|
54 | - echo $registration->attendee()->full_name(true); |
|
55 | - } |
|
56 | - ?> |
|
53 | + if ($registration->attendee() instanceof EE_Attendee) { |
|
54 | + echo $registration->attendee()->full_name(true); |
|
55 | + } |
|
56 | + ?> |
|
57 | 57 | <p class="tiny-text" style="margin: .75em 0 0;"> |
58 | 58 | <?php |
59 | - if ($registration->count_question_groups()) { |
|
60 | - ?> |
|
59 | + if ($registration->count_question_groups()) { |
|
60 | + ?> |
|
61 | 61 | <a class="ee-icon-only-lnk" |
62 | 62 | href="<?php echo $registration->edit_attendee_information_url(); ?>" |
63 | 63 | title="<?php |
64 | - esc_attr_e( |
|
65 | - 'Click here to edit Attendee Information', |
|
66 | - 'event_espresso' |
|
67 | - ); ?>"><span class="ee-icon ee-icon-user-edit"></span> |
|
64 | + esc_attr_e( |
|
65 | + 'Click here to edit Attendee Information', |
|
66 | + 'event_espresso' |
|
67 | + ); ?>"><span class="ee-icon ee-icon-user-edit"></span> |
|
68 | 68 | <?php _e( |
69 | - 'edit info', |
|
70 | - 'event_espresso' |
|
71 | - ); ?></a> |
|
69 | + 'edit info', |
|
70 | + 'event_espresso' |
|
71 | + ); ?></a> |
|
72 | 72 | <?php } ?> |
73 | 73 | <a class="ee-resend-reg-confirmation-email ee-icon-only-lnk" |
74 | 74 | href="<?php |
75 | - echo add_query_arg( |
|
76 | - array('token' => $registration->reg_url_link(), 'resend_reg_confirmation' => 'true'), |
|
77 | - EE_Registry::instance()->CFG->core->thank_you_page_url() |
|
78 | - ); ?>" title="<?php |
|
79 | - esc_attr_e( |
|
80 | - 'Click here to resend the Registration Confirmation email', |
|
81 | - 'event_espresso' |
|
82 | - ); ?>" rel="<?php echo $registration->reg_url_link(); ?>"><span |
|
75 | + echo add_query_arg( |
|
76 | + array('token' => $registration->reg_url_link(), 'resend_reg_confirmation' => 'true'), |
|
77 | + EE_Registry::instance()->CFG->core->thank_you_page_url() |
|
78 | + ); ?>" title="<?php |
|
79 | + esc_attr_e( |
|
80 | + 'Click here to resend the Registration Confirmation email', |
|
81 | + 'event_espresso' |
|
82 | + ); ?>" rel="<?php echo $registration->reg_url_link(); ?>"><span |
|
83 | 83 | class="dashicons dashicons-email-alt"></span> |
84 | 84 | <?php _e( |
85 | - 'resend email', |
|
86 | - 'event_espresso' |
|
87 | - ); ?></a> |
|
85 | + 'resend email', |
|
86 | + 'event_espresso' |
|
87 | + ); ?></a> |
|
88 | 88 | </p> |
89 | 89 | </td> |
90 | 90 | <td width="25%" class="jst-left"> |
@@ -93,53 +93,53 @@ discard block |
||
93 | 93 | <td width="35%" class="jst-left"> |
94 | 94 | <?php $registration->e_pretty_status(true) ?> |
95 | 95 | <?php |
96 | - if ($registration->status_ID() === EEM_Registration::status_id_wait_list) { |
|
97 | - $wait_list = true; |
|
98 | - } |
|
99 | - ?> |
|
96 | + if ($registration->status_ID() === EEM_Registration::status_id_wait_list) { |
|
97 | + $wait_list = true; |
|
98 | + } |
|
99 | + ?> |
|
100 | 100 | </td> |
101 | 101 | </tr> |
102 | 102 | <?php do_action( |
103 | - 'AHEE__thank_you_page_registration_details_template__after_registration_table_row', |
|
104 | - $registration |
|
105 | - ); ?> |
|
103 | + 'AHEE__thank_you_page_registration_details_template__after_registration_table_row', |
|
104 | + $registration |
|
105 | + ); ?> |
|
106 | 106 | <?php |
107 | - $event_name = $registration->event_name(); |
|
108 | - } |
|
109 | - if ($reg_cntr >= $reg_count) { |
|
110 | - ?> |
|
107 | + $event_name = $registration->event_name(); |
|
108 | + } |
|
109 | + if ($reg_cntr >= $reg_count) { |
|
110 | + ?> |
|
111 | 111 | </tbody> |
112 | 112 | </table> |
113 | 113 | <?php |
114 | - } |
|
115 | - } |
|
116 | - } |
|
117 | - ?> |
|
114 | + } |
|
115 | + } |
|
116 | + } |
|
117 | + ?> |
|
118 | 118 | <?php if ($is_primary && $SPCO_attendee_information_url) { ?> |
119 | 119 | <p class="small-text jst-rght"> |
120 | 120 | <a href='<?php echo $SPCO_attendee_information_url ?>'> |
121 | 121 | <?php _e( |
122 | - "Click here to edit All Attendee Information", |
|
123 | - 'event_espresso' |
|
124 | - ); ?></a> |
|
122 | + "Click here to edit All Attendee Information", |
|
123 | + 'event_espresso' |
|
124 | + ); ?></a> |
|
125 | 125 | </p> |
126 | 126 | <?php } ?> |
127 | 127 | <?php |
128 | - if ($wait_list) { ?> |
|
128 | + if ($wait_list) { ?> |
|
129 | 129 | <?php |
130 | - echo apply_filters( |
|
131 | - 'AFEE__thank_you_page_registration_details_template__wait_list_notice', |
|
132 | - sprintf( |
|
133 | - __( |
|
134 | - '%1$sre: Wait List Registrations%2$sPlease note that the total cost listed below in the Transaction Details is for ALL registrations, including those that are on the wait list, even though they can not be currently paid for. If any spaces become available however, you may be notified by the Event admin and have the opportunity to secure the remaining tickets by making a payment for them.%3$s', |
|
135 | - 'event_espresso' |
|
136 | - ), |
|
137 | - '<h6 class="" style="margin-bottom:.25em;"><span class="dashicons dashicons-clipboard ee-icon-size-16 purple-text"></span>', |
|
138 | - '</h6 ><p class="ee-wait-list-notice">', |
|
139 | - '</p ><br />' |
|
140 | - ) |
|
141 | - ); |
|
142 | - ?> |
|
130 | + echo apply_filters( |
|
131 | + 'AFEE__thank_you_page_registration_details_template__wait_list_notice', |
|
132 | + sprintf( |
|
133 | + __( |
|
134 | + '%1$sre: Wait List Registrations%2$sPlease note that the total cost listed below in the Transaction Details is for ALL registrations, including those that are on the wait list, even though they can not be currently paid for. If any spaces become available however, you may be notified by the Event admin and have the opportunity to secure the remaining tickets by making a payment for them.%3$s', |
|
135 | + 'event_espresso' |
|
136 | + ), |
|
137 | + '<h6 class="" style="margin-bottom:.25em;"><span class="dashicons dashicons-clipboard ee-icon-size-16 purple-text"></span>', |
|
138 | + '</h6 ><p class="ee-wait-list-notice">', |
|
139 | + '</p ><br />' |
|
140 | + ) |
|
141 | + ); |
|
142 | + ?> |
|
143 | 143 | |
144 | 144 | <?php } ?> |
145 | 145 |
@@ -46,7 +46,7 @@ |
||
46 | 46 | <tbody> |
47 | 47 | <?php |
48 | 48 | } |
49 | - if ($is_primary || (! $is_primary && $reg_url_link == $registration->reg_url_link())) { ?> |
|
49 | + if ($is_primary || ( ! $is_primary && $reg_url_link == $registration->reg_url_link())) { ?> |
|
50 | 50 | <tr> |
51 | 51 | <td width="40%"> |
52 | 52 | <?php |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | |
6 | 6 | <div id="espresso-thank-you-page-payment-details-dv"> |
7 | 7 | <?php |
8 | - if (! empty($payments)) { ?> |
|
8 | + if (! empty($payments)) { ?> |
|
9 | 9 | <table class="ee-table"> |
10 | 10 | <thead> |
11 | 11 | <tr> |
@@ -25,40 +25,40 @@ discard block |
||
25 | 25 | </thead> |
26 | 26 | <tbody> |
27 | 27 | <?php |
28 | - foreach ($payments as $payment) { |
|
29 | - echo $payment; |
|
30 | - } |
|
31 | - ?> |
|
28 | + foreach ($payments as $payment) { |
|
29 | + echo $payment; |
|
30 | + } |
|
31 | + ?> |
|
32 | 32 | </tbody> |
33 | 33 | </table> |
34 | 34 | <?php |
35 | - } else { |
|
36 | - if ($transaction->total()) { |
|
37 | - echo apply_filters( |
|
38 | - 'FHEE__payment_overview_template__no_payments_made', |
|
39 | - sprintf( |
|
40 | - __('%sNo payments towards this transaction have been received.%s', 'event_espresso'), |
|
41 | - '<p class="important-notice">', |
|
42 | - '</p>' |
|
43 | - ) |
|
44 | - ); |
|
45 | - do_action('AHEE__thank_you_page_payment_details_template__no_payments_made', $transaction); |
|
46 | - } else { |
|
47 | - echo apply_filters( |
|
48 | - 'FHEE__payment_overview_template__no_payment_required', |
|
49 | - sprintf( |
|
50 | - __('%sNo payment is required for this transaction.%s', 'event_espresso'), |
|
51 | - '<p>', |
|
52 | - '</p>' |
|
53 | - ) |
|
54 | - ); |
|
55 | - do_action('AHEE__thank_you_page_payment_details_template__no_payment_required'); |
|
56 | - } |
|
57 | - } |
|
58 | - echo $gateway_content; |
|
59 | - do_action('AHEE__thank_you_page_payment_details_template__after_gateway_content', $gateway_content); |
|
35 | + } else { |
|
36 | + if ($transaction->total()) { |
|
37 | + echo apply_filters( |
|
38 | + 'FHEE__payment_overview_template__no_payments_made', |
|
39 | + sprintf( |
|
40 | + __('%sNo payments towards this transaction have been received.%s', 'event_espresso'), |
|
41 | + '<p class="important-notice">', |
|
42 | + '</p>' |
|
43 | + ) |
|
44 | + ); |
|
45 | + do_action('AHEE__thank_you_page_payment_details_template__no_payments_made', $transaction); |
|
46 | + } else { |
|
47 | + echo apply_filters( |
|
48 | + 'FHEE__payment_overview_template__no_payment_required', |
|
49 | + sprintf( |
|
50 | + __('%sNo payment is required for this transaction.%s', 'event_espresso'), |
|
51 | + '<p>', |
|
52 | + '</p>' |
|
53 | + ) |
|
54 | + ); |
|
55 | + do_action('AHEE__thank_you_page_payment_details_template__no_payment_required'); |
|
56 | + } |
|
57 | + } |
|
58 | + echo $gateway_content; |
|
59 | + do_action('AHEE__thank_you_page_payment_details_template__after_gateway_content', $gateway_content); |
|
60 | 60 | |
61 | - ?> |
|
61 | + ?> |
|
62 | 62 | |
63 | 63 | <br/> |
64 | 64 | <?php do_action('AHEE__thank_you_page_payment_details_template__after_payment_details'); |
@@ -5,7 +5,7 @@ |
||
5 | 5 | |
6 | 6 | <div id="espresso-thank-you-page-payment-details-dv"> |
7 | 7 | <?php |
8 | - if (! empty($payments)) { ?> |
|
8 | + if ( ! empty($payments)) { ?> |
|
9 | 9 | <table class="ee-table"> |
10 | 10 | <thead> |
11 | 11 | <tr> |
@@ -3,9 +3,9 @@ discard block |
||
3 | 3 | <p class="spco-copy-all-attendee-pg"> |
4 | 4 | <label class="ee-checkbox-label-before ee-checkbox-label-wide"> |
5 | 5 | <?php _e( |
6 | - 'Use Attendee #1\'s information for ALL attendees', |
|
7 | - 'event_espresso' |
|
8 | - ); ?> |
|
6 | + 'Use Attendee #1\'s information for ALL attendees', |
|
7 | + 'event_espresso' |
|
8 | + ); ?> |
|
9 | 9 | <input id="spco-copy-all-attendee-chk" class="spco-copy-all-attendee-chk ee-do-not-validate" type="checkbox" |
10 | 10 | value="copy-all"> |
11 | 11 | </label> |
@@ -13,23 +13,23 @@ discard block |
||
13 | 13 | |
14 | 14 | <p class="spco-copy-attendee-pg"> |
15 | 15 | <?php echo apply_filters( |
16 | - 'FHEE__registration_page_attendee_information__copy_attendee_pg', |
|
17 | - sprintf( |
|
18 | - __( |
|
19 | - 'This option allows you to use the above information for all additional attendee question fields. %sPlease note:%s some events may have additional questions that you may still be required to answer in order to complete your registration.', |
|
20 | - 'event_espresso' |
|
21 | - ), |
|
22 | - '<strong>', |
|
23 | - '</strong>' |
|
24 | - ) |
|
25 | - ); ?></p> |
|
16 | + 'FHEE__registration_page_attendee_information__copy_attendee_pg', |
|
17 | + sprintf( |
|
18 | + __( |
|
19 | + 'This option allows you to use the above information for all additional attendee question fields. %sPlease note:%s some events may have additional questions that you may still be required to answer in order to complete your registration.', |
|
20 | + 'event_espresso' |
|
21 | + ), |
|
22 | + '<strong>', |
|
23 | + '</strong>' |
|
24 | + ) |
|
25 | + ); ?></p> |
|
26 | 26 | |
27 | 27 | <a id="display-more-attendee-copy-options" class="display-the-hidden smaller-text float-right" |
28 | 28 | rel="more-attendee-copy-options"><span class="dashicons dashicons-arrow-right"></span> |
29 | 29 | <?php _e( |
30 | - 'advanced copy options', |
|
31 | - 'event_espresso' |
|
32 | - ); ?></a> |
|
30 | + 'advanced copy options', |
|
31 | + 'event_espresso' |
|
32 | + ); ?></a> |
|
33 | 33 | <a id="hide-more-attendee-copy-options" class="hide-the-displayed smaller-text float-right" |
34 | 34 | rel="more-attendee-copy-options" style="display: none;"><span |
35 | 35 | class="dashicons dashicons-arrow-down"></span><?php _e('basic copy options', 'event_espresso'); ?></a> |
@@ -38,15 +38,15 @@ discard block |
||
38 | 38 | |
39 | 39 | <p class="spco-copy-attendee-pg"> |
40 | 40 | <?php _e( |
41 | - 'Only copy the above information to the following selected additional attendees.', |
|
42 | - 'event_espresso' |
|
43 | - ); ?> |
|
41 | + 'Only copy the above information to the following selected additional attendees.', |
|
42 | + 'event_espresso' |
|
43 | + ); ?> |
|
44 | 44 | </p> |
45 | 45 | |
46 | 46 | <?php |
47 | - foreach ($spco_copy_attendee_chk as $spco_copy_chk) { |
|
48 | - echo $spco_copy_chk; |
|
49 | - } ?> |
|
47 | + foreach ($spco_copy_attendee_chk as $spco_copy_chk) { |
|
48 | + echo $spco_copy_chk; |
|
49 | + } ?> |
|
50 | 50 | |
51 | 51 | </div> |
52 | 52 | <div class="clear-float"></div> |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <p id="spco-auto-copy-attendee-pg" class="smaller-text lt-grey-text"> |
2 | 2 | <?php echo apply_filters( |
3 | - 'FHEE__registration_page_attendee_information__auto_copy_attendee_pg', |
|
4 | - __( |
|
5 | - 'The above information will be used for any additional tickets/attendees.', |
|
6 | - 'event_espresso' |
|
7 | - ) |
|
8 | - ); ?> |
|
3 | + 'FHEE__registration_page_attendee_information__auto_copy_attendee_pg', |
|
4 | + __( |
|
5 | + 'The above information will be used for any additional tickets/attendees.', |
|
6 | + 'event_espresso' |
|
7 | + ) |
|
8 | + ); ?> |
|
9 | 9 | </p> |
10 | 10 | \ No newline at end of file |