@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | 10 => array( |
41 | 41 | 'content' => $this->_start(), |
42 | 42 | ), |
43 | - 20 => array( |
|
43 | + 20 => array( |
|
44 | 44 | 'id' => 'id', |
45 | 45 | 'content' => $this->_event_id_stop(), |
46 | 46 | 'options' => array( |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | 'tipAdjustmentY' => -30 |
86 | 86 | ) |
87 | 87 | ), |
88 | - 70 => array( |
|
88 | + 70 => array( |
|
89 | 89 | 'id' => 'attendees', |
90 | 90 | 'content' => $this->_event_registrations_stop(), |
91 | 91 | 'options' => array( |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | 'tipAdjustmentX' => 10 |
122 | 122 | ) |
123 | 123 | ), |
124 | - 110 => array( |
|
124 | + 110 => array( |
|
125 | 125 | 'class' => 'subsubsub', |
126 | 126 | 'content' => $this->_views_stop(), |
127 | 127 | 'options' => array( |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | 'tipAdjustmentX' => 15 |
140 | 140 | ) |
141 | 141 | ), |
142 | - 130 => array( |
|
142 | + 130 => array( |
|
143 | 143 | 'id' => 'EVT_CAT', |
144 | 144 | 'content' => $this->_stop_about_filters(), |
145 | 145 | 'options' => array( |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | 'tipAdjustmentX' => -15 |
158 | 158 | ) |
159 | 159 | ), |
160 | - 150 => array( |
|
160 | + 150 => array( |
|
161 | 161 | 'id' => 'add-new-event', |
162 | 162 | 'content' => $this->_add_new_event_stop(), |
163 | 163 | 'options' => array( |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | ); |
170 | 170 | } |
171 | 171 | |
172 | - protected function _start() { |
|
172 | + protected function _start() { |
|
173 | 173 | $content = '<h3>' . __('Events Overview', 'event_espresso') . '</h3>'; |
174 | 174 | $content .= '<p>' . __('This tour of the Events Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
175 | 175 | return $content; |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | return '<p>' . __('View the date and time that an event begins on. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
193 | 193 | } |
194 | 194 | |
195 | - protected function _event_onsale_stop() { |
|
195 | + protected function _event_onsale_stop() { |
|
196 | 196 | return '<p>' . __('View the datetime that the first ticket for an event is available for purchase. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
197 | 197 | } |
198 | 198 | |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | return '<p>' . __('View the number of approved registrations for an event.', 'event_espresso') . '</p>'; |
201 | 201 | } |
202 | 202 | |
203 | - protected function _actions_stop() { |
|
203 | + protected function _actions_stop() { |
|
204 | 204 | return '<p>' . __('Perform an action to an event. See legend in bottom left corner.', 'event_espresso') . '</p>'; |
205 | 205 | } |
206 | 206 | |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | return '<p>' . __('Search through events. The following sources will be searched: Event Name, Event Description, and Event Short Description.', 'event_espresso') . '</p>'; |
229 | 229 | } |
230 | 230 | |
231 | - protected function _add_new_event_stop() { |
|
231 | + protected function _add_new_event_stop() { |
|
232 | 232 | return '<p>' . __('Click this button to add a new event.', 'event_espresso') . '</p>'; |
233 | 233 | } |
234 | 234 |
@@ -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 | /** |
@@ -170,42 +170,42 @@ discard block |
||
170 | 170 | } |
171 | 171 | |
172 | 172 | protected function _start() { |
173 | - $content = '<h3>' . __('Events Overview', 'event_espresso') . '</h3>'; |
|
174 | - $content .= '<p>' . __('This tour of the Events Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
173 | + $content = '<h3>'.__('Events Overview', 'event_espresso').'</h3>'; |
|
174 | + $content .= '<p>'.__('This tour of the Events Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
175 | 175 | return $content; |
176 | 176 | } |
177 | 177 | |
178 | 178 | |
179 | 179 | protected function _event_id_stop() { |
180 | - return '<p>' . __('View an ID for an event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
180 | + return '<p>'.__('View an ID for an event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
181 | 181 | } |
182 | 182 | |
183 | 183 | protected function _event_name_stop() { |
184 | - return '<p>' . __('View the name (title) of an event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
184 | + return '<p>'.__('View the name (title) of an event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | protected function _event_venue_stop() { |
188 | - return '<p>' . __('View the venue for an event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
188 | + return '<p>'.__('View the venue for an event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
189 | 189 | } |
190 | 190 | |
191 | 191 | protected function _event_start_date_stop() { |
192 | - return '<p>' . __('View the date and time that an event begins on. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
192 | + return '<p>'.__('View the date and time that an event begins on. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
193 | 193 | } |
194 | 194 | |
195 | 195 | protected function _event_onsale_stop() { |
196 | - return '<p>' . __('View the datetime that the first ticket for an event is available for purchase. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
196 | + return '<p>'.__('View the datetime that the first ticket for an event is available for purchase. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
197 | 197 | } |
198 | 198 | |
199 | 199 | protected function _event_registrations_stop() { |
200 | - return '<p>' . __('View the number of approved registrations for an event.', 'event_espresso') . '</p>'; |
|
200 | + return '<p>'.__('View the number of approved registrations for an event.', 'event_espresso').'</p>'; |
|
201 | 201 | } |
202 | 202 | |
203 | 203 | protected function _actions_stop() { |
204 | - return '<p>' . __('Perform an action to an event. See legend in bottom left corner.', 'event_espresso') . '</p>'; |
|
204 | + return '<p>'.__('Perform an action to an event. See legend in bottom left corner.', 'event_espresso').'</p>'; |
|
205 | 205 | } |
206 | 206 | |
207 | 207 | protected function _legend_stop() { |
208 | - return '<p>' . __('This is the legend that describes the actions available in the actions column. Also shows the statuses that are available for an event.', 'event_espresso') . '</p>'; |
|
208 | + return '<p>'.__('This is the legend that describes the actions available in the actions column. Also shows the statuses that are available for an event.', 'event_espresso').'</p>'; |
|
209 | 209 | } |
210 | 210 | |
211 | 211 | protected function _stop_archive_button() { |
@@ -213,23 +213,23 @@ discard block |
||
213 | 213 | } |
214 | 214 | |
215 | 215 | protected function _views_stop() { |
216 | - return '<p>' . __('You can select different views by draft, time period, or look at events which have been moved to the trash.') . '</p>'; |
|
216 | + return '<p>'.__('You can select different views by draft, time period, or look at events which have been moved to the trash.').'</p>'; |
|
217 | 217 | } |
218 | 218 | |
219 | 219 | protected function _bulkactions_stop() { |
220 | - return '<p>' . __('Perform a bulk action to multiple events.', 'event_espresso') . '</p>'; |
|
220 | + return '<p>'.__('Perform a bulk action to multiple events.', 'event_espresso').'</p>'; |
|
221 | 221 | } |
222 | 222 | |
223 | 223 | protected function _stop_about_filters() { |
224 | - return '<p>' . __('Events can be filtered by status, date, or category.', 'event_espresso') . '</p>'; |
|
224 | + return '<p>'.__('Events can be filtered by status, date, or category.', 'event_espresso').'</p>'; |
|
225 | 225 | } |
226 | 226 | |
227 | 227 | protected function _search_stop() { |
228 | - return '<p>' . __('Search through events. The following sources will be searched: Event Name, Event Description, and Event Short Description.', 'event_espresso') . '</p>'; |
|
228 | + return '<p>'.__('Search through events. The following sources will be searched: Event Name, Event Description, and Event Short Description.', 'event_espresso').'</p>'; |
|
229 | 229 | } |
230 | 230 | |
231 | 231 | protected function _add_new_event_stop() { |
232 | - return '<p>' . __('Click this button to add a new event.', 'event_espresso') . '</p>'; |
|
232 | + return '<p>'.__('Click this button to add a new event.', 'event_espresso').'</p>'; |
|
233 | 233 | } |
234 | 234 | |
235 | 235 | } |
236 | 236 | \ No newline at end of file |
@@ -1,6 +1,7 @@ |
||
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 | 6 | /** |
6 | 7 | * Event Espresso |
@@ -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 | /** |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * @return string |
56 | 56 | */ |
57 | 57 | protected function _end() { |
58 | - return '<p>' . 'This is just testing that multiple tours still work' . '</p>'; |
|
58 | + return '<p>'.'This is just testing that multiple tours still work'.'</p>'; |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | } |
62 | 62 | \ No newline at end of file |
@@ -1,6 +1,7 @@ |
||
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 | 6 | /** |
6 | 7 | * Event Espresso |
@@ -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 |
@@ -1,6 +1,7 @@ |
||
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 | 6 | /** |
6 | 7 | * Event Espresso |
@@ -5,15 +5,15 @@ |
||
5 | 5 | <th><label for="category_name"> |
6 | 6 | <?php _e('Category Name', 'event_espresso'); ?> |
7 | 7 | <em title="<?php esc_attr_e('This field is required', 'event_espresso') ?>"> *</em></label></th> |
8 | - <td><input id="category_name" type="text" name="category_name" value="<?php echo $category->category_name;?>" /></td> |
|
8 | + <td><input id="category_name" type="text" name="category_name" value="<?php echo $category->category_name; ?>" /></td> |
|
9 | 9 | </tr> |
10 | 10 | <tr> |
11 | 11 | <th><label for="cat_id"> |
12 | 12 | <?php _e('Unique ID', 'event_espresso'); ?> |
13 | 13 | <?php echo $unique_id_info_help_link; ?> |
14 | 14 | </label></th> |
15 | - <td><input id="cat_id" type="text" name="category_identifier" value="<?php echo $category->category_identifier;?>"<?php echo $disable; ?>/> |
|
16 | - <?php if ( $disabled_message ) : ?> |
|
15 | + <td><input id="cat_id" type="text" name="category_identifier" value="<?php echo $category->category_identifier; ?>"<?php echo $disable; ?>/> |
|
16 | + <?php if ($disabled_message) : ?> |
|
17 | 17 | <br /> |
18 | 18 | <p class="small-text"><?php _e('This is a default category so you can edit the label and the description but not the slug', 'event_espresso'); ?></p> |
19 | 19 | <?php endif; ?> |
@@ -1,22 +1,22 @@ discard block |
||
1 | 1 | |
2 | 2 | <div class="misc-pub-section"> |
3 | 3 | <span class="dashicons dashicons-groups ee-icon-color-ee-green ee-icon-size-20"></span> |
4 | - <a href="<?php echo $view_approved_reg_url;?>"> |
|
5 | - <?php printf( __('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_approved, FALSE, 'sentence') ); ?> |
|
4 | + <a href="<?php echo $view_approved_reg_url; ?>"> |
|
5 | + <?php printf(__('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_approved, FALSE, 'sentence')); ?> |
|
6 | 6 | </a>: |
7 | 7 | <?php echo $approved_regs; ?> |
8 | 8 | </div> |
9 | 9 | <div class="misc-pub-section"> |
10 | 10 | <span class="dashicons dashicons-groups ee-icon-color-ee-blue ee-icon-size-20"></span> |
11 | - <a href="<?php echo $view_pending_payment_reg_url;?>"> |
|
12 | - <?php printf( __('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, FALSE, 'sentence') ); ?> |
|
11 | + <a href="<?php echo $view_pending_payment_reg_url; ?>"> |
|
12 | + <?php printf(__('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, FALSE, 'sentence')); ?> |
|
13 | 13 | </a>: |
14 | 14 | <?php echo $pending_payment_regs; ?> |
15 | 15 | </div> |
16 | 16 | <div class="misc-pub-section"> |
17 | 17 | <span class="dashicons dashicons-groups ee-icon-color-ee-orange ee-icon-size-20"></span> |
18 | - <a href="<?php echo $view_not_approved_reg_url;?>"> |
|
19 | - <?php printf( __('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, FALSE, 'sentence') ); ?> |
|
18 | + <a href="<?php echo $view_not_approved_reg_url; ?>"> |
|
19 | + <?php printf(__('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, FALSE, 'sentence')); ?> |
|
20 | 20 | </a>: |
21 | 21 | <?php echo $not_approved_regs; ?> |
22 | 22 | </div> |
@@ -29,4 +29,4 @@ discard block |
||
29 | 29 | </a> |
30 | 30 | </div> /**/ ?> |
31 | 31 | |
32 | -<?php echo $event_editor_overview_add;?> |
|
33 | 32 | \ No newline at end of file |
33 | +<?php echo $event_editor_overview_add; ?> |
|
34 | 34 | \ No newline at end of file |
@@ -10,14 +10,14 @@ |
||
10 | 10 | </label> |
11 | 11 | </th> |
12 | 12 | <td> |
13 | - <p><?php echo EEH_Form_Fields::select_input('default_reg_status', $reg_status_array, $default_reg_status ) ?></p> |
|
13 | + <p><?php echo EEH_Form_Fields::select_input('default_reg_status', $reg_status_array, $default_reg_status) ?></p> |
|
14 | 14 | <p class="description"> |
15 | 15 | <?php _e('This setting allows you to preselect what the default registration status setting is when creating an event. Note that changing this setting does NOT retroactively apply it to existing events.', 'event_espresso'); ?> |
16 | 16 | </p> |
17 | 17 | </td> |
18 | 18 | </tr> |
19 | 19 | |
20 | - <?php do_action( 'AHEE__event_settings__template', $template_args ); ?> |
|
20 | + <?php do_action('AHEE__event_settings__template', $template_args); ?> |
|
21 | 21 | |
22 | 22 | </tbody> |
23 | 23 | </table> |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | <span class="ticket-price-info-display ticket-price-dollar-sign-display"><?php echo $price_currency_symbol; ?></span> |
16 | 16 | </td> |
17 | 17 | <td> |
18 | - <?php if ( empty( $disabled ) ) : ?> |
|
18 | + <?php if (empty($disabled)) : ?> |
|
19 | 19 | <input type="text" size="1" class="edit-price-PRC_amount ee-small-text-inp ee-inp-right" name="edit_prices[<?php echo $ticketrow; ?>][1][PRC_amount]" value="<?php echo $PRC_amount; ?>"> |
20 | 20 | <?php else : ?> |
21 | 21 | <input type="text" size="1" class="edit-price-PRC_amount ee-small-text-inp ee-inp-right" name="disabled_price_amount" value="<?php echo $PRC_amount; ?>"<?php echo $disabled; ?>> |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | <input type="hidden" name="edit_prices[<?php echo $ticketrow; ?>][1][PRC_is_default]" class="edit-price-PRC_is_default" value="<?php echo $PRC_is_default; ?>"> |
28 | 28 | </td> |
29 | 29 | <td> |
30 | - <?php if ( empty( $disabled ) ) : ?> |
|
30 | + <?php if (empty($disabled)) : ?> |
|
31 | 31 | <input type="text" class="edit-ticket-TKT_qty ee-small-text-inp ee-inp-right" name="<?php echo $edit_ticketrow_name; ?>[<?php echo $ticketrow; ?>][TKT_qty]" value="<?php echo $TKT_qty; ?>"> |
32 | 32 | <?php else : ?> |
33 | 33 | <input type="text" class="edit-ticket-TKT_qty ee-small-text-inp ee-inp-right" name="disabled_tkt_qty" value="<?php echo $TKT_qty; ?>"<?php echo $disabled; ?>> |
@@ -17,8 +17,11 @@ discard block |
||
17 | 17 | <td> |
18 | 18 | <?php if ( empty( $disabled ) ) : ?> |
19 | 19 | <input type="text" size="1" class="edit-price-PRC_amount ee-small-text-inp ee-inp-right" name="edit_prices[<?php echo $ticketrow; ?>][1][PRC_amount]" value="<?php echo $PRC_amount; ?>"> |
20 | - <?php else : ?> |
|
21 | - <input type="text" size="1" class="edit-price-PRC_amount ee-small-text-inp ee-inp-right" name="disabled_price_amount" value="<?php echo $PRC_amount; ?>"<?php echo $disabled; ?>> |
|
20 | + <?php else { |
|
21 | + : ?> |
|
22 | + <input type="text" size="1" class="edit-price-PRC_amount ee-small-text-inp ee-inp-right" name="disabled_price_amount" value="<?php echo $PRC_amount; |
|
23 | +} |
|
24 | +?>"<?php echo $disabled; ?>> |
|
22 | 25 | <input type="hidden" size="1" class="edit-price-PRC_amount ee-small-text-inp ee-inp-right" name="edit_prices[<?php echo $ticketrow; ?>][1][PRC_amount]" value="<?php echo $PRC_amount; ?>"> |
23 | 26 | <?php endif; ?> |
24 | 27 | |
@@ -29,8 +32,11 @@ discard block |
||
29 | 32 | <td> |
30 | 33 | <?php if ( empty( $disabled ) ) : ?> |
31 | 34 | <input type="text" class="edit-ticket-TKT_qty ee-small-text-inp ee-inp-right" name="<?php echo $edit_ticketrow_name; ?>[<?php echo $ticketrow; ?>][TKT_qty]" value="<?php echo $TKT_qty; ?>"> |
32 | - <?php else : ?> |
|
33 | - <input type="text" class="edit-ticket-TKT_qty ee-small-text-inp ee-inp-right" name="disabled_tkt_qty" value="<?php echo $TKT_qty; ?>"<?php echo $disabled; ?>> |
|
35 | + <?php else { |
|
36 | + : ?> |
|
37 | + <input type="text" class="edit-ticket-TKT_qty ee-small-text-inp ee-inp-right" name="disabled_tkt_qty" value="<?php echo $TKT_qty; |
|
38 | +} |
|
39 | +?>"<?php echo $disabled; ?>> |
|
34 | 40 | <input type="hidden" class="edit-ticket-TKT_qty ee-small-text-inp ee-inp-right" name="<?php echo $edit_ticketrow_name; ?>[<?php echo $ticketrow; ?>][TKT_qty]" value="<?php echo $TKT_qty; ?>"> |
35 | 41 | <?php endif; ?> |
36 | 42 | </td> |
@@ -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 | /** |
@@ -33,12 +33,12 @@ discard block |
||
33 | 33 | |
34 | 34 | public function __construct() { |
35 | 35 | //define some constants |
36 | - define( 'GEN_SET_PG_SLUG', 'espresso_general_settings' ); |
|
37 | - define( 'GEN_SET_LABEL', __('General Settings', 'event_espresso')); |
|
38 | - define( 'GEN_SET_ADMIN', EE_ADMIN_PAGES . 'general_settings' . DS ); |
|
39 | - define( 'GEN_SET_ADMIN_URL', admin_url( 'admin.php?page=' . GEN_SET_PG_SLUG )); |
|
40 | - define( 'GEN_SET_TEMPLATE_PATH', GEN_SET_ADMIN . 'templates' . DS ); |
|
41 | - define( 'GEN_SET_ASSETS_URL', EE_ADMIN_PAGES_URL . 'general_settings/assets/' ); |
|
36 | + define('GEN_SET_PG_SLUG', 'espresso_general_settings'); |
|
37 | + define('GEN_SET_LABEL', __('General Settings', 'event_espresso')); |
|
38 | + define('GEN_SET_ADMIN', EE_ADMIN_PAGES.'general_settings'.DS); |
|
39 | + define('GEN_SET_ADMIN_URL', admin_url('admin.php?page='.GEN_SET_PG_SLUG)); |
|
40 | + define('GEN_SET_TEMPLATE_PATH', GEN_SET_ADMIN.'templates'.DS); |
|
41 | + define('GEN_SET_ASSETS_URL', EE_ADMIN_PAGES_URL.'general_settings/assets/'); |
|
42 | 42 | |
43 | 43 | parent::__construct(); |
44 | 44 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | protected function _set_menu_map() { |
51 | - $this->_menu_map = new EE_Admin_Page_Sub_Menu( array( |
|
51 | + $this->_menu_map = new EE_Admin_Page_Sub_Menu(array( |
|
52 | 52 | 'menu_group' => 'settings', |
53 | 53 | 'menu_order' => 20, |
54 | 54 | 'show_on_menu' => EE_Admin_Page_Menu_Map::BLOG_ADMIN_ONLY, |
@@ -1,6 +1,7 @@ |
||
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 | 6 | /** |
6 | 7 | * Event Espresso |
@@ -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 | /** |
@@ -81,24 +81,24 @@ discard block |
||
81 | 81 | |
82 | 82 | |
83 | 83 | protected function _start() { |
84 | - $content = '<h3>' . __('Admin Options', 'event_espresso') . '</h3>'; |
|
85 | - $content .= '<p>' . __('This tour of the Admin Options page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
84 | + $content = '<h3>'.__('Admin Options', 'event_espresso').'</h3>'; |
|
85 | + $content .= '<p>'.__('This tour of the Admin Options page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
86 | 86 | return $content; |
87 | 87 | } |
88 | 88 | |
89 | 89 | protected function _use_full_logging_stop() { |
90 | - return '<p>' . __('When enabled, a log file is created which can be useful for debugging. Please disable this option when you are finished debugging.', 'event_espresso') . '</p>'; |
|
90 | + return '<p>'.__('When enabled, a log file is created which can be useful for debugging. Please disable this option when you are finished debugging.', 'event_espresso').'</p>'; |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | protected function _use_remote_logging_stop() { |
94 | - return '<p>' . __(' This option sends all Event Espresso debugging data and get / post variables to the specified URL below.', 'event_espresso') . '</p>'; |
|
94 | + return '<p>'.__(' This option sends all Event Espresso debugging data and get / post variables to the specified URL below.', 'event_espresso').'</p>'; |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | protected function _show_reg_footer_stop() { |
98 | - return '<p>' . __('Support us by adding a small link to Event Espresso in your event pages. You can even earn money for yourself by adding your affiliate link there!', 'event_espresso') . '</p>'; |
|
98 | + return '<p>'.__('Support us by adding a small link to Event Espresso in your event pages. You can even earn money for yourself by adding your affiliate link there!', 'event_espresso').'</p>'; |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | protected function _help_tour_activation_stop() { |
102 | - return '<p>' . __('Turn these help tours on / off for Event Espresso pages.', 'event_espresso') . '</p>'; |
|
102 | + return '<p>'.__('Turn these help tours on / off for Event Espresso pages.', 'event_espresso').'</p>'; |
|
103 | 103 | } |
104 | 104 | } |
105 | 105 | \ No newline at end of file |
@@ -1,6 +1,7 @@ |
||
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 | 6 | /** |
6 | 7 | * Event Espresso |