@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | 10 => array( |
40 | 40 | 'content' => $this->_start(), |
41 | 41 | ), |
42 | - 15 => array( |
|
42 | + 15 => array( |
|
43 | 43 | 'id' => 'display_status_banner_single', |
44 | 44 | 'content' => $this->_default_status_banner_single_stop(), |
45 | 45 | 'options' => array( |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | 'tipAdjustmentX' => 15 |
112 | 112 | ) |
113 | 113 | ), |
114 | - 90 => array( |
|
114 | + 90 => array( |
|
115 | 115 | 'id' => 'reset_event_list_settings', |
116 | 116 | 'content' => $this->_reset_event_list_settings_stop(), |
117 | 117 | 'options' => array( |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | 'tipAdjustmentX' => 15 |
121 | 121 | ) |
122 | 122 | ), |
123 | - 100 => array( |
|
123 | + 100 => array( |
|
124 | 124 | 'id' => 'display_status_banner', |
125 | 125 | 'content' => $this->_display_status_banner_stop(), |
126 | 126 | 'options' => array( |
@@ -180,11 +180,11 @@ discard block |
||
180 | 180 | return '<p>' . __('This is the website address (URL) for your event listings page.', 'event_espresso') . '</p>'; |
181 | 181 | } |
182 | 182 | |
183 | - protected function _reset_event_list_settings_stop() { |
|
183 | + protected function _reset_event_list_settings_stop() { |
|
184 | 184 | return '<p>' . __('Notice: When this option is set to yes, any customization from the above settings will be lost and your event list settings will be set to default.', 'event_espresso') . '</p>'; |
185 | 185 | } |
186 | 186 | |
187 | - protected function _display_status_banner_stop() { |
|
187 | + protected function _display_status_banner_stop() { |
|
188 | 188 | return '<p>' . __('Specify whether event status banners should be shown next to the title on the event list page.', 'event_espresso') . '</p>'; |
189 | 189 | } |
190 | 190 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
3 | 3 | exit('NO direct script access allowed'); |
4 | 4 | |
5 | 5 | /** |
@@ -143,53 +143,53 @@ discard block |
||
143 | 143 | |
144 | 144 | |
145 | 145 | protected function _start() { |
146 | - $content = '<h3>' . __('Template Settings', 'event_espresso') . '</h3>'; |
|
147 | - $content .= '<p>' . __('This tour of the Templates Page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
146 | + $content = '<h3>'.__('Template Settings', 'event_espresso').'</h3>'; |
|
147 | + $content .= '<p>'.__('This tour of the Templates Page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
148 | 148 | return $content; |
149 | 149 | } |
150 | 150 | |
151 | 151 | protected function _default_status_banner_single_stop() { |
152 | - return '<p>' . __('Specify whether event status banners should be shown next to the title on the single event page.', 'event_espresso') . '</p>'; |
|
152 | + return '<p>'.__('Specify whether event status banners should be shown next to the title on the single event page.', 'event_espresso').'</p>'; |
|
153 | 153 | } |
154 | 154 | |
155 | 155 | protected function _default_view_stop() { |
156 | - return '<p>' . __('Define how your basic event list will appear.', 'event_espresso') . '</p>'; |
|
156 | + return '<p>'.__('Define how your basic event list will appear.', 'event_espresso').'</p>'; |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | protected function _event_list_grid_size_stop() { |
160 | - return '<p>' . __('If you have selected grid view in the option above, then you can use these settings to change the size of the grids.', 'event_espresso') . '</p>'; |
|
160 | + return '<p>'.__('If you have selected grid view in the option above, then you can use these settings to change the size of the grids.', 'event_espresso').'</p>'; |
|
161 | 161 | } |
162 | 162 | |
163 | 163 | protected function _display_description_stop() { |
164 | - return '<p>' . __('Specify whether descriptions be shown on the event list.', 'event_espresso') . '</p>'; |
|
164 | + return '<p>'.__('Specify whether descriptions be shown on the event list.', 'event_espresso').'</p>'; |
|
165 | 165 | } |
166 | 166 | |
167 | 167 | protected function _display_address_stop() { |
168 | - return '<p>' . __('Specify whether the venue address be displayed on the event list.', 'event_espresso') . '</p>'; |
|
168 | + return '<p>'.__('Specify whether the venue address be displayed on the event list.', 'event_espresso').'</p>'; |
|
169 | 169 | } |
170 | 170 | |
171 | 171 | protected function _display_venue_stop() { |
172 | - return '<p>' . __('Specify whether the venue information be displayed on the event list.', 'event_espresso') . '</p>'; |
|
172 | + return '<p>'.__('Specify whether the venue information be displayed on the event list.', 'event_espresso').'</p>'; |
|
173 | 173 | } |
174 | 174 | |
175 | 175 | protected function _display_expired_events_stop() { |
176 | - return '<p>' . __('Should expired events be shown on the default event list.', 'event_espresso') . '</p>'; |
|
176 | + return '<p>'.__('Should expired events be shown on the default event list.', 'event_espresso').'</p>'; |
|
177 | 177 | } |
178 | 178 | |
179 | 179 | protected function _event_listings_url_stop() { |
180 | - return '<p>' . __('This is the website address (URL) for your event listings page.', 'event_espresso') . '</p>'; |
|
180 | + return '<p>'.__('This is the website address (URL) for your event listings page.', 'event_espresso').'</p>'; |
|
181 | 181 | } |
182 | 182 | |
183 | 183 | protected function _reset_event_list_settings_stop() { |
184 | - return '<p>' . __('Notice: When this option is set to yes, any customization from the above settings will be lost and your event list settings will be set to default.', 'event_espresso') . '</p>'; |
|
184 | + return '<p>'.__('Notice: When this option is set to yes, any customization from the above settings will be lost and your event list settings will be set to default.', 'event_espresso').'</p>'; |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | protected function _display_status_banner_stop() { |
188 | - return '<p>' . __('Specify whether event status banners should be shown next to the title on the event list page.', 'event_espresso') . '</p>'; |
|
188 | + return '<p>'.__('Specify whether event status banners should be shown next to the title on the event list page.', 'event_espresso').'</p>'; |
|
189 | 189 | } |
190 | 190 | |
191 | 191 | protected function _display_address_in_reg_form_stop() { |
192 | - return '<p>' . __('Specify whether the address for a venue be shown on the single registration page.', 'event_espresso') . '</p>'; |
|
192 | + return '<p>'.__('Specify whether the address for a venue be shown on the single registration page.', 'event_espresso').'</p>'; |
|
193 | 193 | } |
194 | 194 | |
195 | 195 | } |
196 | 196 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | <tbody> |
22 | 22 | <tr> |
23 | 23 | <th> |
24 | - <label for="QST_display_text"><?php echo $fields['QST_display_text']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('question_text_info');?> |
|
24 | + <label for="QST_display_text"><?php echo $fields['QST_display_text']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('question_text_info'); ?> |
|
25 | 25 | </th> |
26 | 26 | <td> |
27 | 27 | <input type="text" class="regular-text" id="QST_display_text" name="QST_display_text" value="<?php $question->f('QST_display_text')?>"/> |
@@ -31,23 +31,23 @@ discard block |
||
31 | 31 | |
32 | 32 | <tr> |
33 | 33 | <th> |
34 | - <label for="QST_admin_label"><?php echo $fields['QST_admin_label']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('question_label_info');?> |
|
34 | + <label for="QST_admin_label"><?php echo $fields['QST_admin_label']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('question_label_info'); ?> |
|
35 | 35 | </th> |
36 | 36 | <td> |
37 | 37 | <?php |
38 | - $disabled = ! empty( $QST_system ) ? ' disabled="disabled"' : ''; |
|
39 | - $id = ! empty( $QST_system ) ? '_disabled' : ''; |
|
38 | + $disabled = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
39 | + $id = ! empty($QST_system) ? '_disabled' : ''; |
|
40 | 40 | ?> |
41 | 41 | <input type="text" class="regular-text" id="QST_admin_label<?php echo $id?>" name="QST_admin_label<?php echo $id?>" value="<?php $question->f('QST_admin_label')?>"<?php echo $disabled?>/> |
42 | 42 | <input class="QST_order" type="hidden" id="QST_order<?php echo $id; ?>" name = "QST_order<?php echo $id; ?>" value="<?php echo $question->get('QST_order'); ?>" /> |
43 | - <?php if ( ! empty( $QST_system )) { ?> |
|
43 | + <?php if ( ! empty($QST_system)) { ?> |
|
44 | 44 | <input type="hidden" id="QST_admin_label" name="QST_admin_label" value="<?php echo $question->admin_label()?>"/> |
45 | 45 | <?php } ?> |
46 | 46 | <br/> |
47 | 47 | <p class="description"> |
48 | - <?php if ( ! empty( $QST_system )) { ?> |
|
48 | + <?php if ( ! empty($QST_system)) { ?> |
|
49 | 49 | <span class="description" style="color:#D54E21;"> |
50 | - <?php _e('System question! This field cannot be changed.','event_espresso')?> |
|
50 | + <?php _e('System question! This field cannot be changed.', 'event_espresso')?> |
|
51 | 51 | </span> |
52 | 52 | <?php } ?> |
53 | 53 | |
@@ -57,21 +57,21 @@ discard block |
||
57 | 57 | |
58 | 58 | <tr> |
59 | 59 | <th> |
60 | - <label for="QST_admin_only"><?php echo $fields['QST_admin_only']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('question_admin_only_info');?> |
|
60 | + <label for="QST_admin_only"><?php echo $fields['QST_admin_only']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('question_admin_only_info'); ?> |
|
61 | 61 | </th> |
62 | 62 | <td> |
63 | 63 | <?php |
64 | - $disabled = ! empty( $QST_system ) ? ' disabled="disabled"' : ''; |
|
65 | - $id = ! empty( $QST_system ) ? '_disabled' : ''; |
|
64 | + $disabled = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
65 | + $id = ! empty($QST_system) ? '_disabled' : ''; |
|
66 | 66 | $admin_only = $question->get('QST_admin_only'); |
67 | - $checked = !empty( $admin_only ) ? ' checked="checked"' : ''; |
|
67 | + $checked = ! empty($admin_only) ? ' checked="checked"' : ''; |
|
68 | 68 | ?> |
69 | 69 | <input class="QST_admin_only" type="checkbox" id="QST_admin_only<?php echo $id; ?>" name = "QST_admin_only<?php echo $id; ?>" value="1"<?php echo $disabled; echo $checked; ?>/> |
70 | 70 | <br/> |
71 | 71 | <p class="description"> |
72 | - <?php if ( ! empty( $QST_system )) { ?> |
|
72 | + <?php if ( ! empty($QST_system)) { ?> |
|
73 | 73 | <span class="description" style="color:#D54E21;"> |
74 | - <?php _e('System question! This field cannot be changed.','event_espresso')?> |
|
74 | + <?php _e('System question! This field cannot be changed.', 'event_espresso')?> |
|
75 | 75 | </span> |
76 | 76 | <?php } ?> |
77 | 77 | |
@@ -81,22 +81,22 @@ discard block |
||
81 | 81 | |
82 | 82 | <tr> |
83 | 83 | <th> |
84 | - <label for="QST_type"><?php echo $fields['QST_type']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('question_type_info');?> |
|
84 | + <label for="QST_type"><?php echo $fields['QST_type']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('question_type_info'); ?> |
|
85 | 85 | </th> |
86 | 86 | <td> |
87 | 87 | <?php |
88 | - $disabled = ! empty( $QST_system ) ? ' disabled="disabled"' : ''; |
|
89 | - $id = ! empty( $QST_system ) ? '_disabled' : ''; |
|
88 | + $disabled = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
89 | + $id = ! empty($QST_system) ? '_disabled' : ''; |
|
90 | 90 | $disabled = $has_answers ? ' disabled="disabled"' : $disabled; |
91 | 91 | $id = $has_answers ? ' _disabled' : $id; |
92 | - echo EEH_Form_Fields::select_input( 'QST_type' . $id, $question_types, $question->type(), 'id="QST_type' . $id . '"' . $disabled ); |
|
93 | - if ( ! empty( $QST_system ) || $has_answers ) { ?> |
|
92 | + echo EEH_Form_Fields::select_input('QST_type'.$id, $question_types, $question->type(), 'id="QST_type'.$id.'"'.$disabled); |
|
93 | + if ( ! empty($QST_system) || $has_answers) { ?> |
|
94 | 94 | <input type="hidden" id="QST_type" name="QST_type" value="<?php echo $question->type()?>"/> |
95 | 95 | <p><span class="description" style="color:#D54E21;"> |
96 | - <?php if ( $has_answers ) : ?> |
|
97 | - <?php _e('This field cannot be changed because there are currently answers for this question in the database.','event_espresso')?> |
|
96 | + <?php if ($has_answers) : ?> |
|
97 | + <?php _e('This field cannot be changed because there are currently answers for this question in the database.', 'event_espresso')?> |
|
98 | 98 | <?php else : ?> |
99 | - <?php _e('System question! This field cannot be changed.','event_espresso')?> |
|
99 | + <?php _e('System question! This field cannot be changed.', 'event_espresso')?> |
|
100 | 100 | <?php endif; ?> |
101 | 101 | </span></p> |
102 | 102 | <?php } ?> |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | <tr id="question_options"> |
110 | 110 | <th> |
111 | 111 | <label> |
112 | - <?php _e('Answer Options','event_espresso')?> |
|
112 | + <?php _e('Answer Options', 'event_espresso')?> |
|
113 | 113 | </label> |
114 | 114 | </th> |
115 | 115 | <td> |
@@ -118,10 +118,10 @@ discard block |
||
118 | 118 | <thead> |
119 | 119 | <tr> |
120 | 120 | <th class="option-value-header"> |
121 | - <?php _e('Value','event_espresso')?> |
|
121 | + <?php _e('Value', 'event_espresso')?> |
|
122 | 122 | </th> |
123 | 123 | <th class="option-desc-header"> |
124 | - <?php _e('Description (optional, only shown on registration form)','event_espresso')?> |
|
124 | + <?php _e('Description (optional, only shown on registration form)', 'event_espresso')?> |
|
125 | 125 | </th> |
126 | 126 | <th> |
127 | 127 | </th> |
@@ -144,18 +144,18 @@ discard block |
||
144 | 144 | </tr> |
145 | 145 | |
146 | 146 | <?php |
147 | - $count=0; |
|
147 | + $count = 0; |
|
148 | 148 | $question_options = $question->options(); |
149 | - if ( ! empty( $question_options )) { |
|
150 | - foreach( $question_options as $option_id => $option ) { |
|
151 | - $disabled = $has_answers ? ' disabled="disabled"' : ''; |
|
149 | + if ( ! empty($question_options)) { |
|
150 | + foreach ($question_options as $option_id => $option) { |
|
151 | + $disabled = $has_answers ? ' disabled="disabled"' : ''; |
|
152 | 152 | $id = $has_answers ? '_disabled' : ''; |
153 | 153 | ?> |
154 | 154 | <tr class="question-option ee-options-sortable"> |
155 | 155 | <td class="option-value-cell"> |
156 | - <input type="hidden" class="QSO_order" name="question_options<?php echo $id;?>[<?php echo $count; ?>][QSO_order]" value="<?php $count; ?>"> |
|
156 | + <input type="hidden" class="QSO_order" name="question_options<?php echo $id; ?>[<?php echo $count; ?>][QSO_order]" value="<?php $count; ?>"> |
|
157 | 157 | <input type="text" class="option-value regular-text" name="question_options<?php echo $id; ?>[<?php echo $count?>][QSO_value]" value="<?php $option->f('QSO_value')?>"<?php echo $disabled; ?>> |
158 | - <?php if ( $has_answers ) : ?> |
|
158 | + <?php if ($has_answers) : ?> |
|
159 | 159 | <input type="hidden" name="question_options[<?php echo $count; ?>][QSO_value]" value="<?php echo $option->f('QSO_value'); ?>" > |
160 | 160 | <?php endif; ?> |
161 | 161 | </td> |
@@ -200,13 +200,13 @@ discard block |
||
200 | 200 | </table> |
201 | 201 | |
202 | 202 | <a id="new-question-option" class="button" style="margin:0 0 1em 3px;"> |
203 | - <?php _e('Add Another Answer Option','event_espresso')?> |
|
203 | + <?php _e('Add Another Answer Option', 'event_espresso')?> |
|
204 | 204 | </a><br/> |
205 | 205 | |
206 | 206 | <p class="description"> |
207 | - <?php _e('Answer Options are the choices that you give people to select from for RADIO_BTN, CHECKBOX or DROPDOWN questions. The Value is a simple key that will be saved to the database and the description is optional. Note that values CANNOT contain any HTML, but descriptions can.','event_espresso')?> |
|
207 | + <?php _e('Answer Options are the choices that you give people to select from for RADIO_BTN, CHECKBOX or DROPDOWN questions. The Value is a simple key that will be saved to the database and the description is optional. Note that values CANNOT contain any HTML, but descriptions can.', 'event_espresso')?> |
|
208 | 208 | </p> |
209 | - <?php if ( $has_answers ) : ?> |
|
209 | + <?php if ($has_answers) : ?> |
|
210 | 210 | <p class="description" style="color:#D54E21;"> |
211 | 211 | <?php _e('Answer values that are uneditable are this way because there are registrations in the database that have answers for this question. If you need to correct a mistake, or edit an existing option value, then trash the existing one and create a new option with the changes. This will ensure that the existing registrations that chose the original answer will preserve that answer.', 'event_espresso'); ?> |
212 | 212 | </p> |
@@ -217,32 +217,32 @@ discard block |
||
217 | 217 | |
218 | 218 | <tr> |
219 | 219 | <th> |
220 | - <label for="QST_required"><?php echo $fields['QST_required']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('required_question_info');?> |
|
220 | + <label for="QST_required"><?php echo $fields['QST_required']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('required_question_info'); ?> |
|
221 | 221 | </th> |
222 | 222 | <td> |
223 | 223 | <?php |
224 | - $system_required = array( 'fname', 'lname', 'email' ); |
|
225 | - $disabled = in_array( $QST_system, $system_required ) ? ' disabled="disabled"' : ''; |
|
224 | + $system_required = array('fname', 'lname', 'email'); |
|
225 | + $disabled = in_array($QST_system, $system_required) ? ' disabled="disabled"' : ''; |
|
226 | 226 | $required_on = $question->get('QST_admin_only'); |
227 | 227 | $show_required_msg = $required_on ? '' : ' display:none;'; |
228 | - $disabled = $required_on || ! empty( $disabled ) ? ' disabled="disabled"' : ''; |
|
229 | - $id = ! empty( $disabled ) && in_array( $QST_system, $system_required) ? '_disabled' : ''; |
|
230 | - $requiredOptions=array( |
|
231 | - array('text'=>'Optional','id'=>0), |
|
232 | - array('text'=>'Required','id'=>1) |
|
228 | + $disabled = $required_on || ! empty($disabled) ? ' disabled="disabled"' : ''; |
|
229 | + $id = ! empty($disabled) && in_array($QST_system, $system_required) ? '_disabled' : ''; |
|
230 | + $requiredOptions = array( |
|
231 | + array('text'=>'Optional', 'id'=>0), |
|
232 | + array('text'=>'Required', 'id'=>1) |
|
233 | 233 | ); |
234 | - echo EEH_Form_Fields::select_input('QST_required' . $id, $requiredOptions, $question->required(), 'id="QST_required' . $id . '"' . $disabled ); |
|
234 | + echo EEH_Form_Fields::select_input('QST_required'.$id, $requiredOptions, $question->required(), 'id="QST_required'.$id.'"'.$disabled); |
|
235 | 235 | ?> |
236 | 236 | <p><span id="required_toggled_on" class="description" style="color:#D54E21;<?php echo $show_required_msg; ?>"> |
237 | - <?php _e('Required is set to optional, and this field is disabled, because the question is Admin-Only.','event_espresso')?> |
|
237 | + <?php _e('Required is set to optional, and this field is disabled, because the question is Admin-Only.', 'event_espresso')?> |
|
238 | 238 | </span></p> |
239 | 239 | <p><span id="required_toggled_off" class="description" style="color:#D54E21; display: none;"> |
240 | - <?php _e('Required option field is no longer disabled because the question is not Admin-Only','event_espresso')?> |
|
240 | + <?php _e('Required option field is no longer disabled because the question is not Admin-Only', 'event_espresso')?> |
|
241 | 241 | </span></p> |
242 | - <?php if ( ! empty( $disabled ) && in_array( $QST_system, $system_required ) ) { ?> |
|
242 | + <?php if ( ! empty($disabled) && in_array($QST_system, $system_required)) { ?> |
|
243 | 243 | <input type="hidden" id="QST_required" name="QST_required" value="1"/> |
244 | 244 | <p><span class="description" style="color:#D54E21;"> |
245 | - <?php _e('System question! This field cannot be changed.','event_espresso')?> |
|
245 | + <?php _e('System question! This field cannot be changed.', 'event_espresso')?> |
|
246 | 246 | </span></p> |
247 | 247 | <?php } ?> |
248 | 248 | |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | |
252 | 252 | <tr> |
253 | 253 | <th> |
254 | - <label for="QST_required_text"><?php _e('Required Text', 'event_espresso'); ?></label> <?php echo EEH_Template::get_help_tab_link('required_text_info');?> |
|
254 | + <label for="QST_required_text"><?php _e('Required Text', 'event_espresso'); ?></label> <?php echo EEH_Template::get_help_tab_link('required_text_info'); ?> |
|
255 | 255 | </th> |
256 | 256 | <td> |
257 | 257 | <input type="text" class="regular-text" id="QST_required_text" name="QST_required_text" value="<?php $question->f('QST_required_text')?>"/> |
@@ -95,9 +95,12 @@ |
||
95 | 95 | <p><span class="description" style="color:#D54E21;"> |
96 | 96 | <?php if ( $has_answers ) : ?> |
97 | 97 | <?php _e('This field cannot be changed because there are currently answers for this question in the database.','event_espresso')?> |
98 | - <?php else : ?> |
|
98 | + <?php else { |
|
99 | + : ?> |
|
99 | 100 | <?php _e('System question! This field cannot be changed.','event_espresso')?> |
100 | - <?php endif; ?> |
|
101 | + <?php endif; |
|
102 | +} |
|
103 | +?> |
|
101 | 104 | </span></p> |
102 | 105 | <?php } ?> |
103 | 106 |
@@ -5,42 +5,42 @@ |
||
5 | 5 | <table class="admin-primary-mbox-tbl"> |
6 | 6 | <thead> |
7 | 7 | <tr> |
8 | - <th class="jst-left"><?php _e( 'Event Name', 'event_espresso' );?></th> |
|
9 | - <th class="jst-left"><?php _e( 'REG ID', 'event_espresso' );?></th> |
|
10 | - <th class="jst-left"><?php _e( 'TXN ID', 'event_espresso' );?></th> |
|
11 | - <th class="jst-left"><?php _e( 'Reg Code', 'event_espresso' );?></th> |
|
12 | - <th class="jst-rght"><?php _e( 'Ticket Price', 'event_espresso' );?></th> |
|
8 | + <th class="jst-left"><?php _e('Event Name', 'event_espresso'); ?></th> |
|
9 | + <th class="jst-left"><?php _e('REG ID', 'event_espresso'); ?></th> |
|
10 | + <th class="jst-left"><?php _e('TXN ID', 'event_espresso'); ?></th> |
|
11 | + <th class="jst-left"><?php _e('Reg Code', 'event_espresso'); ?></th> |
|
12 | + <th class="jst-rght"><?php _e('Ticket Price', 'event_espresso'); ?></th> |
|
13 | 13 | </tr> |
14 | 14 | </thead> |
15 | 15 | <tbody> |
16 | - <?php foreach( $registrations as $registration ) : ?> |
|
16 | + <?php foreach ($registrations as $registration) : ?> |
|
17 | 17 | <tr> |
18 | 18 | <td class="jst-left"> |
19 | 19 | <?php |
20 | - $event_url = add_query_arg( array( 'action' => 'edit', 'post' => $registration->event_ID() ), admin_url( 'admin.php?page=espresso_events' )); |
|
21 | - echo EE_Registry::instance()->CAP->current_user_can( 'ee_edit_event', 'espresso_events_edit', $registration->event_ID() ) ? '<a href="'. $event_url .'" title="'. esc_attr__( 'Edit Event', 'event_espresso' ) .'">' . $registration->event_name() . '</a>' : $registration->event_name(); |
|
20 | + $event_url = add_query_arg(array('action' => 'edit', 'post' => $registration->event_ID()), admin_url('admin.php?page=espresso_events')); |
|
21 | + echo EE_Registry::instance()->CAP->current_user_can('ee_edit_event', 'espresso_events_edit', $registration->event_ID()) ? '<a href="'.$event_url.'" title="'.esc_attr__('Edit Event', 'event_espresso').'">'.$registration->event_name().'</a>' : $registration->event_name(); |
|
22 | 22 | ?> |
23 | 23 | </td> |
24 | 24 | <td class="jst-left"> |
25 | 25 | <?php |
26 | - $reg_url = EE_Admin_Page::add_query_args_and_nonce( array( 'action'=>'view_registration', '_REG_ID'=>$registration->ID() ), REG_ADMIN_URL ); |
|
27 | - echo EE_Registry::instance()->CAP->current_user_can( 'ee_read_registration', 'espresso_registrations_view_registration', $registration->ID() ) ? ' |
|
28 | - <a href="'.$reg_url.'" title="' . esc_attr__( 'View Registration Details', 'event_espresso' ) . '">' . sprintf( __( ' |
|
29 | - View Registration ', 'event_espresso'), $registration->ID() ) . |
|
26 | + $reg_url = EE_Admin_Page::add_query_args_and_nonce(array('action'=>'view_registration', '_REG_ID'=>$registration->ID()), REG_ADMIN_URL); |
|
27 | + echo EE_Registry::instance()->CAP->current_user_can('ee_read_registration', 'espresso_registrations_view_registration', $registration->ID()) ? ' |
|
28 | + <a href="'.$reg_url.'" title="'.esc_attr__('View Registration Details', 'event_espresso').'">'.sprintf(__(' |
|
29 | + View Registration ', 'event_espresso'), $registration->ID()). |
|
30 | 30 | '</a>' : ''; |
31 | 31 | ?> |
32 | 32 | </td> |
33 | 33 | <td class="jst-left"> |
34 | 34 | <?php |
35 | - $txn_url = EE_Admin_Page::add_query_args_and_nonce( array( 'action'=>'view_transaction', 'TXN_ID'=>$registration->transaction_ID() ), TXN_ADMIN_URL ); |
|
36 | - echo EE_Registry::instance()->CAP->current_user_can( 'ee_read_transaction', 'espresso_transactions_view_transaction' ) ? ' |
|
37 | - <a href="'.$txn_url.'" title="' . esc_attr__( 'View Transaction Details', 'event_espresso' ) . '"> |
|
38 | - View Transaction ' . $registration->transaction_ID() . ' |
|
35 | + $txn_url = EE_Admin_Page::add_query_args_and_nonce(array('action'=>'view_transaction', 'TXN_ID'=>$registration->transaction_ID()), TXN_ADMIN_URL); |
|
36 | + echo EE_Registry::instance()->CAP->current_user_can('ee_read_transaction', 'espresso_transactions_view_transaction') ? ' |
|
37 | + <a href="'.$txn_url.'" title="'.esc_attr__('View Transaction Details', 'event_espresso').'"> |
|
38 | + View Transaction ' . $registration->transaction_ID().' |
|
39 | 39 | </a>' : ''; |
40 | 40 | ?> |
41 | 41 | </td> |
42 | - <td class="jst-left"><?php echo $registration->reg_code();?></td> |
|
43 | - <td class="jst-rght"><?php echo EEH_Template::format_currency( $registration->price_paid() );?></td> |
|
42 | + <td class="jst-left"><?php echo $registration->reg_code(); ?></td> |
|
43 | + <td class="jst-rght"><?php echo EEH_Template::format_currency($registration->price_paid()); ?></td> |
|
44 | 44 | </tr> |
45 | 45 | <?php endforeach; ?> |
46 | 46 | </tbody> |
@@ -1,21 +1,21 @@ |
||
1 | 1 | |
2 | 2 | <div class="wrap"> |
3 | 3 | |
4 | - <h3><?php echo __( 'Registration # ', 'event_espresso' ) . $reg_nmbr['value'];?></h3> |
|
5 | - <h2><?php echo $reg_datetime['value'];?></h2> |
|
6 | - <h2><?php echo __( 'Registration Status : ', 'event_espresso' );?><span class="<?php echo $reg_status['class'];?>"><?php echo $reg_status['value'];?></span></h2> |
|
4 | + <h3><?php echo __('Registration # ', 'event_espresso').$reg_nmbr['value']; ?></h3> |
|
5 | + <h2><?php echo $reg_datetime['value']; ?></h2> |
|
6 | + <h2><?php echo __('Registration Status : ', 'event_espresso'); ?><span class="<?php echo $reg_status['class']; ?>"><?php echo $reg_status['value']; ?></span></h2> |
|
7 | 7 | |
8 | 8 | <?php echo $notices; ?> |
9 | 9 | |
10 | 10 | <div id="poststuff" class="metabox-holder has-right-sidebar"> |
11 | 11 | |
12 | 12 | <div id="side-info-column" class="inner-sidebar"> |
13 | - <?php do_meta_boxes( $registrations_page, 'side', '' ); ?> |
|
13 | + <?php do_meta_boxes($registrations_page, 'side', ''); ?> |
|
14 | 14 | </div> |
15 | 15 | |
16 | 16 | <div id="post-body" class=""> |
17 | 17 | <div id="post-body-content" class=""> |
18 | - <?php do_meta_boxes( $registrations_page, 'normal', '' ); ?> |
|
18 | + <?php do_meta_boxes($registrations_page, 'normal', ''); ?> |
|
19 | 19 | </div> |
20 | 20 | </div> |
21 | 21 | <br class="clear"/> |
@@ -4,13 +4,13 @@ |
||
4 | 4 | <input type="hidden" name="return" value="view_registration"> |
5 | 5 | <?php echo $nonce; ?> |
6 | 6 | <?php echo $status_buttons; ?> |
7 | - <?php if ( $attendee instanceof EE_Attendee && EE_Registry::instance()->CAP->current_user_can( 'ee_send_message', 'registration_message_type' ) ) : ?> |
|
7 | + <?php if ($attendee instanceof EE_Attendee && EE_Registry::instance()->CAP->current_user_can('ee_send_message', 'registration_message_type')) : ?> |
|
8 | 8 | <div class="ee-attention"> |
9 | - <label for="txn_reg_status_change" class="last"><?php _e( 'Send Related Message?', 'event_espresso' );?></label> |
|
9 | + <label for="txn_reg_status_change" class="last"><?php _e('Send Related Message?', 'event_espresso'); ?></label> |
|
10 | 10 | <input type="checkbox" value="1" name="txn_reg_status_change[send_notifications]"> |
11 | 11 | <br/> |
12 | 12 | <br /> |
13 | - <p class="description"><?php _e( 'If checked when changing status, the related messages will be sent to the registrant.', 'event_espresso' );?></p><br/> |
|
13 | + <p class="description"><?php _e('If checked when changing status, the related messages will be sent to the registrant.', 'event_espresso'); ?></p><br/> |
|
14 | 14 | <label></label> |
15 | 15 | </div> |
16 | 16 | <?php endif; ?> |
@@ -1,26 +1,26 @@ |
||
1 | 1 | |
2 | - <h3 style="padding:0;margin:-.5em 0 1em;"><?php echo __( 'Transaction # ', 'event_espresso' ) . $txn_nmbr['value'];?></h3> |
|
2 | + <h3 style="padding:0;margin:-.5em 0 1em;"><?php echo __('Transaction # ', 'event_espresso').$txn_nmbr['value']; ?></h3> |
|
3 | 3 | |
4 | - <h2 id="txn-date-h2" style="padding:0;margin:0 0 1em;"><?php echo $txn_datetime['value'];?></h2> |
|
4 | + <h2 id="txn-date-h2" style="padding:0;margin:0 0 1em;"><?php echo $txn_datetime['value']; ?></h2> |
|
5 | 5 | |
6 | 6 | <?php echo $send_payment_reminder_button; ?> |
7 | 7 | <h2 id="txn-status-h2" style="padding:0;margin:0 0 1em;"> |
8 | - <?php echo __( 'Transaction Status: ', 'event_espresso' );?><span id="txn-status" class="<?php echo $txn_status['class'];?>"><?php echo $txn_status['value'];?></span> |
|
8 | + <?php echo __('Transaction Status: ', 'event_espresso'); ?><span id="txn-status" class="<?php echo $txn_status['class']; ?>"><?php echo $txn_status['value']; ?></span> |
|
9 | 9 | </h2> |
10 | 10 | |
11 | - <?php if ( $amount_due ) : ?> |
|
11 | + <?php if ($amount_due) : ?> |
|
12 | 12 | <h2 id="txn-amount-due-h2" style="padding:0;margin:0 0 1em;"> |
13 | - <?php echo __( 'Total Amount Due: ', 'event_espresso' );?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
|
13 | + <?php echo __('Total Amount Due: ', 'event_espresso'); ?><span class="<?php echo $amount_due_class; ?>"><?php echo $amount_due; ?></span> |
|
14 | 14 | </h2> |
15 | 15 | <?php else : ?> |
16 | 16 | <h2 id="txn-amount-due-h2" class="hidden" style="padding:0;margin:0 0 1em;"> |
17 | - <?php echo __( 'Total Amount Due: ', 'event_espresso' );?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
|
17 | + <?php echo __('Total Amount Due: ', 'event_espresso'); ?><span class="<?php echo $amount_due_class; ?>"><?php echo $amount_due; ?></span> |
|
18 | 18 | </h2> |
19 | 19 | <?php endif; ?> |
20 | 20 | |
21 | - <?php if ( $method_of_payment ) : ?> |
|
21 | + <?php if ($method_of_payment) : ?> |
|
22 | 22 | <h3 id="txn-selected-method-of-payment-h3" style="padding:0;margin:0 0 1em;"> |
23 | - <?php echo __( 'Selected Method of Payment: ', 'event_espresso' );?><?php echo $method_of_payment;?> |
|
23 | + <?php echo __('Selected Method of Payment: ', 'event_espresso'); ?><?php echo $method_of_payment; ?> |
|
24 | 24 | </h3> |
25 | 25 | <?php endif; ?> |
26 | 26 |
@@ -12,9 +12,12 @@ |
||
12 | 12 | <h2 id="txn-amount-due-h2" style="padding:0;margin:0 0 1em;"> |
13 | 13 | <?php echo __( 'Total Amount Due: ', 'event_espresso' );?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
14 | 14 | </h2> |
15 | - <?php else : ?> |
|
15 | + <?php else { |
|
16 | + : ?> |
|
16 | 17 | <h2 id="txn-amount-due-h2" class="hidden" style="padding:0;margin:0 0 1em;"> |
17 | - <?php echo __( 'Total Amount Due: ', 'event_espresso' );?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
|
18 | + <?php echo __( 'Total Amount Due: ', 'event_espresso' ); |
|
19 | +} |
|
20 | +?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
|
18 | 21 | </h2> |
19 | 22 | <?php endif; ?> |
20 | 23 |
@@ -1,31 +1,31 @@ |
||
1 | 1 | |
2 | - <h3><?php echo __( 'Transaction # ', 'event_espresso' ) . $txn_nmbr['value'];?></h3> |
|
2 | + <h3><?php echo __('Transaction # ', 'event_espresso').$txn_nmbr['value']; ?></h3> |
|
3 | 3 | |
4 | - <h2><?php echo $txn_datetime['value'];?></h2> |
|
4 | + <h2><?php echo $txn_datetime['value']; ?></h2> |
|
5 | 5 | |
6 | 6 | <h2 id="txn-status-h2"> |
7 | - <?php echo __( 'Transaction Status : ', 'event_espresso' );?><span id="txn-status" class="<?php echo $txn_status['class'];?>"><?php echo $txn_status['value'];?></span> |
|
7 | + <?php echo __('Transaction Status : ', 'event_espresso'); ?><span id="txn-status" class="<?php echo $txn_status['class']; ?>"><?php echo $txn_status['value']; ?></span> |
|
8 | 8 | </h2> |
9 | 9 | |
10 | - <?php if ( $amount_due ) : ?> |
|
10 | + <?php if ($amount_due) : ?> |
|
11 | 11 | <h2 id="txn-amount-due-h2"> |
12 | - <?php echo __( 'Total Amount Due : ', 'event_espresso' );?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
|
12 | + <?php echo __('Total Amount Due : ', 'event_espresso'); ?><span class="<?php echo $amount_due_class; ?>"><?php echo $amount_due; ?></span> |
|
13 | 13 | </h2> |
14 | 14 | <?php else : ?> |
15 | 15 | <h2 id="txn-amount-due-h2" class="hidden"> |
16 | - <?php echo __( 'Total Amount Due : ', 'event_espresso' );?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
|
16 | + <?php echo __('Total Amount Due : ', 'event_espresso'); ?><span class="<?php echo $amount_due_class; ?>"><?php echo $amount_due; ?></span> |
|
17 | 17 | </h2> |
18 | 18 | <?php endif; ?> |
19 | 19 | |
20 | 20 | <div id="poststuff" class="metabox-holder has-right-sidebar"> |
21 | 21 | |
22 | 22 | <div id="side-info-column" class="inner-sidebar"> |
23 | - <?php do_meta_boxes( $transactions_page, 'side', '' ); ?> |
|
23 | + <?php do_meta_boxes($transactions_page, 'side', ''); ?> |
|
24 | 24 | </div> |
25 | 25 | |
26 | 26 | <div id="post-body" class=""> |
27 | 27 | <div id="post-body-content" class=""> |
28 | - <?php do_meta_boxes( $transactions_page, 'normal', '' ); ?> |
|
28 | + <?php do_meta_boxes($transactions_page, 'normal', ''); ?> |
|
29 | 29 | </div> |
30 | 30 | </div> |
31 | 31 | <br class="clear"/> |
@@ -11,9 +11,12 @@ |
||
11 | 11 | <h2 id="txn-amount-due-h2"> |
12 | 12 | <?php echo __( 'Total Amount Due : ', 'event_espresso' );?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
13 | 13 | </h2> |
14 | - <?php else : ?> |
|
14 | + <?php else { |
|
15 | + : ?> |
|
15 | 16 | <h2 id="txn-amount-due-h2" class="hidden"> |
16 | - <?php echo __( 'Total Amount Due : ', 'event_espresso' );?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
|
17 | + <?php echo __( 'Total Amount Due : ', 'event_espresso' ); |
|
18 | +} |
|
19 | +?><span class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
|
17 | 20 | </h2> |
18 | 21 | <?php endif; ?> |
19 | 22 |
@@ -87,19 +87,19 @@ discard block |
||
87 | 87 | <td> |
88 | 88 | <label for="event_details_control_type-default" class="ee-admin-radio-lbl"> |
89 | 89 | <?php $checked = $map_settings->event_details_control_type == 'default' ? 'checked="checked"' : ''; ?> |
90 | - <input id="event_details_control_type-default" type="radio" name="event_details_control_type" value="default"<?php echo $checked;?>/> |
|
90 | + <input id="event_details_control_type-default" type="radio" name="event_details_control_type" value="default"<?php echo $checked; ?>/> |
|
91 | 91 | <?php _e(' Default', 'event_espresso') ?> |
92 | 92 | </label> |
93 | 93 | |
94 | 94 | <label for="event_details_control_type-horizontal" class="ee-admin-radio-lbl"> |
95 | 95 | <?php $checked = $map_settings->event_details_control_type == 'horizontal' ? 'checked="checked"' : ''; ?> |
96 | - <input id="event_details_control_type-horizontal" type="radio" name="event_details_control_type" value="horizontal"<?php echo $checked;?>/> |
|
96 | + <input id="event_details_control_type-horizontal" type="radio" name="event_details_control_type" value="horizontal"<?php echo $checked; ?>/> |
|
97 | 97 | <?php _e(' Horizontal', 'event_espresso') ?> |
98 | 98 | </label> |
99 | 99 | |
100 | 100 | <label for="event_details_control_type-dropdown" class="ee-admin-radio-lbl"> |
101 | 101 | <?php $checked = $map_settings->event_details_control_type == 'dropdown' ? 'checked="checked"' : ''; ?> |
102 | - <input id="event_details_control_type-dropdown" type="radio" name="event_details_control_type" value="dropdown"<?php echo $checked;?>/> |
|
102 | + <input id="event_details_control_type-dropdown" type="radio" name="event_details_control_type" value="dropdown"<?php echo $checked; ?>/> |
|
103 | 103 | <?php _e(' Dropdown', 'event_espresso') ?> |
104 | 104 | </label> |
105 | 105 | </td> |
@@ -112,25 +112,25 @@ discard block |
||
112 | 112 | <td> |
113 | 113 | <label for="event_details_map_align-none" class="ee-admin-radio-lbl"> |
114 | 114 | <?php $checked = $map_settings->event_details_map_align == 'none' ? 'checked="checked"' : ''; ?> |
115 | - <input id="event_details_map_align-none" type="radio" name="event_details_map_align" value="none"<?php echo $checked;?>/> |
|
115 | + <input id="event_details_map_align-none" type="radio" name="event_details_map_align" value="none"<?php echo $checked; ?>/> |
|
116 | 116 | <?php _e(' None', 'event_espresso') ?> |
117 | 117 | </label> |
118 | 118 | |
119 | 119 | <label for="event_details_map_align-left" class="ee-admin-radio-lbl"> |
120 | 120 | <?php $checked = $map_settings->event_details_map_align == 'left' ? 'checked="checked"' : ''; ?> |
121 | - <input id="event_details_map_align-left" type="radio" name="event_details_map_align" value="left"<?php echo $checked;?>/> |
|
121 | + <input id="event_details_map_align-left" type="radio" name="event_details_map_align" value="left"<?php echo $checked; ?>/> |
|
122 | 122 | <?php _e(' Align Left', 'event_espresso') ?> |
123 | 123 | </label> |
124 | 124 | |
125 | 125 | <label for="event_details_map_align-center" class="ee-admin-radio-lbl"> |
126 | 126 | <?php $checked = $map_settings->event_details_map_align == 'center' ? 'checked="checked"' : ''; ?> |
127 | - <input id="event_details_map_align-center" type="radio" name="event_details_map_align" value="center"<?php echo $checked;?>/> |
|
127 | + <input id="event_details_map_align-center" type="radio" name="event_details_map_align" value="center"<?php echo $checked; ?>/> |
|
128 | 128 | <?php _e(' Align Center', 'event_espresso') ?> |
129 | 129 | </label> |
130 | 130 | |
131 | 131 | <label for="event_details_map_align-right" class="ee-admin-radio-lbl"> |
132 | 132 | <?php $checked = $map_settings->event_details_map_align == 'right' ? 'checked="checked"' : ''; ?> |
133 | - <input id="event_details_map_align-right" type="radio" name="event_details_map_align" value="right"<?php echo $checked;?>/> |
|
133 | + <input id="event_details_map_align-right" type="radio" name="event_details_map_align" value="right"<?php echo $checked; ?>/> |
|
134 | 134 | <?php _e(' Align Right', 'event_espresso') ?> |
135 | 135 | </label> |
136 | 136 | </td> |
@@ -205,19 +205,19 @@ discard block |
||
205 | 205 | <td> |
206 | 206 | <label for="event_list_control_type-default" class="ee-admin-radio-lbl"> |
207 | 207 | <?php $checked = $map_settings->event_list_control_type == 'default' ? 'checked="checked"' : ''; ?> |
208 | - <input id="event_list_control_type-default" type="radio" name="event_list_control_type" value="default"<?php echo $checked;?>/> |
|
208 | + <input id="event_list_control_type-default" type="radio" name="event_list_control_type" value="default"<?php echo $checked; ?>/> |
|
209 | 209 | <?php _e(' Default', 'event_espresso') ?> |
210 | 210 | </label> |
211 | 211 | |
212 | 212 | <label for="event_list_control_type-horizontal" class="ee-admin-radio-lbl"> |
213 | 213 | <?php $checked = $map_settings->event_list_control_type == 'horizontal' ? 'checked="checked"' : ''; ?> |
214 | - <input id="event_list_control_type-horizontal" type="radio" name="event_list_control_type" value="horizontal"<?php echo $checked;?>/> |
|
214 | + <input id="event_list_control_type-horizontal" type="radio" name="event_list_control_type" value="horizontal"<?php echo $checked; ?>/> |
|
215 | 215 | <?php _e(' Horizontal', 'event_espresso') ?> |
216 | 216 | </label> |
217 | 217 | |
218 | 218 | <label for="event_list_control_type-dropdown" class="ee-admin-radio-lbl"> |
219 | 219 | <?php $checked = $map_settings->event_list_control_type == 'dropdown' ? 'checked="checked"' : ''; ?> |
220 | - <input id="event_list_control_type-dropdown" type="radio" name="event_list_control_type" value="dropdown"<?php echo $checked;?>/> |
|
220 | + <input id="event_list_control_type-dropdown" type="radio" name="event_list_control_type" value="dropdown"<?php echo $checked; ?>/> |
|
221 | 221 | <?php _e(' Dropdown', 'event_espresso') ?> |
222 | 222 | </label> |
223 | 223 | |
@@ -231,25 +231,25 @@ discard block |
||
231 | 231 | <td> |
232 | 232 | <label for="event_list_map_align-none" class="ee-admin-radio-lbl"> |
233 | 233 | <?php $checked = $map_settings->event_list_map_align == 'none' ? 'checked="checked"' : ''; ?> |
234 | - <input id="event_list_map_align-none" type="radio" name="event_list_map_align" value="none"<?php echo $checked;?>/> |
|
234 | + <input id="event_list_map_align-none" type="radio" name="event_list_map_align" value="none"<?php echo $checked; ?>/> |
|
235 | 235 | <?php _e(' None', 'event_espresso') ?> |
236 | 236 | </label> |
237 | 237 | |
238 | 238 | <label for="event_list_map_align-left" class="ee-admin-radio-lbl"> |
239 | 239 | <?php $checked = $map_settings->event_list_map_align == 'left' ? 'checked="checked"' : ''; ?> |
240 | - <input id="event_list_map_align-left" type="radio" name="event_list_map_align" value="left"<?php echo $checked;?>/> |
|
240 | + <input id="event_list_map_align-left" type="radio" name="event_list_map_align" value="left"<?php echo $checked; ?>/> |
|
241 | 241 | <?php _e(' Align Left', 'event_espresso') ?> |
242 | 242 | </label> |
243 | 243 | |
244 | 244 | <label for="event_list_map_align-center" class="ee-admin-radio-lbl"> |
245 | 245 | <?php $checked = $map_settings->event_list_map_align == 'center' ? 'checked="checked"' : ''; ?> |
246 | - <input id="event_list_map_align-center" type="radio" name="event_list_map_align" value="center"<?php echo $checked;?>/> |
|
246 | + <input id="event_list_map_align-center" type="radio" name="event_list_map_align" value="center"<?php echo $checked; ?>/> |
|
247 | 247 | <?php _e(' Align Center', 'event_espresso') ?> |
248 | 248 | </label> |
249 | 249 | |
250 | 250 | <label for="event_list_map_align-right" class="ee-admin-radio-lbl"> |
251 | 251 | <?php $checked = $map_settings->event_list_map_align == 'right' ? 'checked="checked"' : ''; ?> |
252 | - <input id="event_list_map_align-right" type="radio" name="event_list_map_align" value="right"<?php echo $checked;?>/> |
|
252 | + <input id="event_list_map_align-right" type="radio" name="event_list_map_align" value="right"<?php echo $checked; ?>/> |
|
253 | 253 | <?php _e(' Align Right', 'event_espresso') ?> |
254 | 254 | </label> |
255 | 255 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <div class="padding"> |
2 | 2 | |
3 | - <?php do_action( 'AHEE__template_settings__template__before_settings_form' ); ?> |
|
3 | + <?php do_action('AHEE__template_settings__template__before_settings_form'); ?> |
|
4 | 4 | |
5 | 5 | </div> |
6 | 6 | \ No newline at end of file |