@@ -5,38 +5,38 @@ |
||
5 | 5 | |
6 | 6 | <?php |
7 | 7 | $settings_array = array( |
8 | - 'max_registrants' => '<p> |
|
8 | + 'max_registrants' => '<p> |
|
9 | 9 | <label for="max-registrants">' |
10 | - . esc_html__( |
|
11 | - 'Maximum number of tickets allowed per order for this event: ', |
|
12 | - 'event_espresso' |
|
13 | - ) . '</label> |
|
10 | + . esc_html__( |
|
11 | + 'Maximum number of tickets allowed per order for this event: ', |
|
12 | + 'event_espresso' |
|
13 | + ) . '</label> |
|
14 | 14 | <input class="ee-numeric" type="text" id="max-registrants" name="additional_limit" value="' . $additional_limit . '" size="4" /> |
15 | 15 | </p>', |
16 | - 'additional_registration_options' => $additional_registration_options, |
|
17 | - 'display_ticket_selector' => '<p> |
|
16 | + 'additional_registration_options' => $additional_registration_options, |
|
17 | + 'display_ticket_selector' => '<p> |
|
18 | 18 | <label>' . esc_html__('Display Ticket Selector', 'event_espresso') . '</label>' . $display_ticket_selector . '</p>', |
19 | - 'alternative_registration_page' => '<p> |
|
19 | + 'alternative_registration_page' => '<p> |
|
20 | 20 | <label>' . esc_html__('Alternative Registration Page', 'event_espresso') . '</label> |
21 | 21 | <input name="externalURL" size="20" type="text" value="' . $_event->external_url() . '"> |
22 | 22 | </p>', |
23 | - 'event_phone_number' => '<p> |
|
23 | + 'event_phone_number' => '<p> |
|
24 | 24 | <label>' . esc_html__('Event Phone Number', 'event_espresso') . '</label> |
25 | 25 | <input name="event_phone" size="20" type="text" value="' . $_event->phone() . '"> |
26 | 26 | </p>', |
27 | - 'default_registration_status' => '<p> |
|
27 | + 'default_registration_status' => '<p> |
|
28 | 28 | <label>' |
29 | - . esc_html__( |
|
30 | - 'Default Registration Status', |
|
31 | - 'event_espresso' |
|
32 | - ) . '</label>' |
|
33 | - . EEH_Template::get_help_tab_link('event_editor_event_registration_options_help_tab') |
|
34 | - . $EVT_default_registration_status . '</p>', |
|
29 | + . esc_html__( |
|
30 | + 'Default Registration Status', |
|
31 | + 'event_espresso' |
|
32 | + ) . '</label>' |
|
33 | + . EEH_Template::get_help_tab_link('event_editor_event_registration_options_help_tab') |
|
34 | + . $EVT_default_registration_status . '</p>', |
|
35 | 35 | ); |
36 | 36 | // filter |
37 | 37 | $settings_array = apply_filters('FHEE__caffeinated_event_registration_options__template__settings', $settings_array); |
38 | 38 | |
39 | 39 | // echo |
40 | 40 | foreach ($settings_array as $item) { |
41 | - echo $item; |
|
41 | + echo $item; |
|
42 | 42 | } |
@@ -10,28 +10,28 @@ |
||
10 | 10 | . esc_html__( |
11 | 11 | 'Maximum number of tickets allowed per order for this event: ', |
12 | 12 | 'event_espresso' |
13 | - ) . '</label> |
|
14 | - <input class="ee-numeric" type="text" id="max-registrants" name="additional_limit" value="' . $additional_limit . '" size="4" /> |
|
13 | + ).'</label> |
|
14 | + <input class="ee-numeric" type="text" id="max-registrants" name="additional_limit" value="' . $additional_limit.'" size="4" /> |
|
15 | 15 | </p>', |
16 | 16 | 'additional_registration_options' => $additional_registration_options, |
17 | 17 | 'display_ticket_selector' => '<p> |
18 | - <label>' . esc_html__('Display Ticket Selector', 'event_espresso') . '</label>' . $display_ticket_selector . '</p>', |
|
18 | + <label>' . esc_html__('Display Ticket Selector', 'event_espresso').'</label>'.$display_ticket_selector.'</p>', |
|
19 | 19 | 'alternative_registration_page' => '<p> |
20 | - <label>' . esc_html__('Alternative Registration Page', 'event_espresso') . '</label> |
|
21 | - <input name="externalURL" size="20" type="text" value="' . $_event->external_url() . '"> |
|
20 | + <label>' . esc_html__('Alternative Registration Page', 'event_espresso').'</label> |
|
21 | + <input name="externalURL" size="20" type="text" value="' . $_event->external_url().'"> |
|
22 | 22 | </p>', |
23 | 23 | 'event_phone_number' => '<p> |
24 | - <label>' . esc_html__('Event Phone Number', 'event_espresso') . '</label> |
|
25 | - <input name="event_phone" size="20" type="text" value="' . $_event->phone() . '"> |
|
24 | + <label>' . esc_html__('Event Phone Number', 'event_espresso').'</label> |
|
25 | + <input name="event_phone" size="20" type="text" value="' . $_event->phone().'"> |
|
26 | 26 | </p>', |
27 | 27 | 'default_registration_status' => '<p> |
28 | 28 | <label>' |
29 | 29 | . esc_html__( |
30 | 30 | 'Default Registration Status', |
31 | 31 | 'event_espresso' |
32 | - ) . '</label>' |
|
32 | + ).'</label>' |
|
33 | 33 | . EEH_Template::get_help_tab_link('event_editor_event_registration_options_help_tab') |
34 | - . $EVT_default_registration_status . '</p>', |
|
34 | + . $EVT_default_registration_status.'</p>', |
|
35 | 35 | ); |
36 | 36 | // filter |
37 | 37 | $settings_array = apply_filters('FHEE__caffeinated_event_registration_options__template__settings', $settings_array); |
@@ -57,38 +57,38 @@ |
||
57 | 57 | <div> |
58 | 58 | <strong><?php echo EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'sentence'); ?></strong><br /> |
59 | 59 | <?php printf( |
60 | - esc_html__( |
|
61 | - /* translators: Approved Registration status */ |
|
62 | - 'A status of %s means that a registration has been accepted as complete. The registration will count towards the registration limit, remaining tickets, and calculations for available seats. Payments (if necessary) can also be made by primary registrants with this status.', |
|
63 | - 'event_espresso' |
|
64 | - ), |
|
65 | - EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'sentence') |
|
60 | + esc_html__( |
|
61 | + /* translators: Approved Registration status */ |
|
62 | + 'A status of %s means that a registration has been accepted as complete. The registration will count towards the registration limit, remaining tickets, and calculations for available seats. Payments (if necessary) can also be made by primary registrants with this status.', |
|
63 | + 'event_espresso' |
|
64 | + ), |
|
65 | + EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'sentence') |
|
66 | 66 | ); ?> |
67 | 67 | </div> |
68 | 68 | <div> |
69 | 69 | <strong><?php echo EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'sentence'); ?></strong><br /> |
70 | 70 | <?php printf( |
71 | - esc_html__( |
|
72 | - /* translators: 1: Pending Payment, 2: Pending Payment, 3: Approved */ |
|
73 | - 'A status of %1$s means that a registration has not paid but they ARE able to make payments (if necessary). %2$s registrations do NOT count towards registration limits, remaining tickets, and calculations for available seats. If registration for a free event occurs, then registrations are automatically set to %3$s. For paid tickets, %1$s registrations are set to %3$s when full payment is recorded.', |
|
74 | - 'event_espresso' |
|
75 | - ), |
|
76 | - EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'sentence'), |
|
77 | - EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'sentence'), |
|
78 | - EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'sentence') |
|
71 | + esc_html__( |
|
72 | + /* translators: 1: Pending Payment, 2: Pending Payment, 3: Approved */ |
|
73 | + 'A status of %1$s means that a registration has not paid but they ARE able to make payments (if necessary). %2$s registrations do NOT count towards registration limits, remaining tickets, and calculations for available seats. If registration for a free event occurs, then registrations are automatically set to %3$s. For paid tickets, %1$s registrations are set to %3$s when full payment is recorded.', |
|
74 | + 'event_espresso' |
|
75 | + ), |
|
76 | + EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'sentence'), |
|
77 | + EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'sentence'), |
|
78 | + EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'sentence') |
|
79 | 79 | ); ?> |
80 | 80 | </div> |
81 | 81 | <div> |
82 | 82 | <strong><?php echo EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, false, 'sentence'); ?></strong><br /> |
83 | 83 | <?php printf( |
84 | - esc_html__( |
|
85 | - /* translators: 1: Not Approved, 2: Pending Payment, 3: Approved */ |
|
86 | - 'A status of %1$s means that a registration has not paid and they cannot make payments for towards an event. Un-approved registrations do NOT count towards registration limits, remaining tickets, and calculations for available seats. This setting differs from the "%2$s" default in that free ticket registrations and paid in full ticket registrations do NOT automatically switch the Registration to %3$s. Instead, the event admin must manually set the registration to either "%2$s" for registrations requiring payments, or "%3$s" for free events.', |
|
87 | - 'event_espresso' |
|
88 | - ), |
|
89 | - EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, false, 'sentence'), |
|
90 | - EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'upper'), |
|
91 | - EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'upper') |
|
84 | + esc_html__( |
|
85 | + /* translators: 1: Not Approved, 2: Pending Payment, 3: Approved */ |
|
86 | + 'A status of %1$s means that a registration has not paid and they cannot make payments for towards an event. Un-approved registrations do NOT count towards registration limits, remaining tickets, and calculations for available seats. This setting differs from the "%2$s" default in that free ticket registrations and paid in full ticket registrations do NOT automatically switch the Registration to %3$s. Instead, the event admin must manually set the registration to either "%2$s" for registrations requiring payments, or "%3$s" for free events.', |
|
87 | + 'event_espresso' |
|
88 | + ), |
|
89 | + EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, false, 'sentence'), |
|
90 | + EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'upper'), |
|
91 | + EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'upper') |
|
92 | 92 | ); ?> |
93 | 93 | </div> |
94 | 94 | </li> |