@@ -123,14 +123,14 @@ discard block |
||
123 | 123 | 'tipLocation' => 'left' |
124 | 124 | ) |
125 | 125 | ), |
126 | - 110 => array( |
|
126 | + 110 => array( |
|
127 | 127 | 'id' => 'espresso_event_editor_event_options', |
128 | 128 | 'content' => $this->_event_registration_options_stop(), |
129 | 129 | 'options' => array( |
130 | 130 | 'tipLocation' => 'left' |
131 | 131 | ) |
132 | 132 | ), |
133 | - 120 => array( |
|
133 | + 120 => array( |
|
134 | 134 | 'id' => 'submitpost', |
135 | 135 | 'content' => $this->_publish_event_stop(), |
136 | 136 | 'options' => array( |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>'; |
197 | 197 | } |
198 | 198 | |
199 | - protected function _publish_event_stop() { |
|
199 | + protected function _publish_event_stop() { |
|
200 | 200 | return '<p>' . __('Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.', 'event_espresso') . '</p>'; |
201 | 201 | } |
202 | 202 |
@@ -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,8 +143,8 @@ discard block |
||
143 | 143 | |
144 | 144 | |
145 | 145 | protected function _start() { |
146 | - $content = '<h3>' . __('Event Editor', 'event_espresso') . '</h3>'; |
|
147 | - $content .= '<p>' . __('This tour of the Event Editor will provide an overview of the different areas of the screen to help you understand what they are used for. Let\'s get started on setting up your first event with Event Espresso!', 'event_espresso') . '</p>'; |
|
146 | + $content = '<h3>'.__('Event Editor', 'event_espresso').'</h3>'; |
|
147 | + $content .= '<p>'.__('This tour of the Event Editor will provide an overview of the different areas of the screen to help you understand what they are used for. Let\'s get started on setting up your first event with Event Espresso!', 'event_espresso').'</p>'; |
|
148 | 148 | return $content; |
149 | 149 | } |
150 | 150 | |
@@ -153,51 +153,51 @@ discard block |
||
153 | 153 | } |
154 | 154 | |
155 | 155 | protected function _event_description_stop() { |
156 | - return '<p>' . __('The rich text editor can be used to add information about your event. Images and links can also be added along with your text.', 'event_espresso') . '</p>'; |
|
156 | + return '<p>'.__('The rich text editor can be used to add information about your event. Images and links can also be added along with your text.', 'event_espresso').'</p>'; |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | protected function _event_venues_caf() { |
160 | - return '<p>' . __('In this section, you can select the venue that is hosting your event.', 'event_espresso') . '</p>'; |
|
160 | + return '<p>'.__('In this section, you can select the venue that is hosting your event.', 'event_espresso').'</p>'; |
|
161 | 161 | } |
162 | 162 | |
163 | 163 | protected function _event_venues_stop() { |
164 | - return '<p>' . __('In this section, you can enter information about the venue that is hosting your event.', 'event_espresso') . '</p>'; |
|
164 | + return '<p>'.__('In this section, you can enter information about the venue that is hosting your event.', 'event_espresso').'</p>'; |
|
165 | 165 | } |
166 | 166 | |
167 | 167 | protected function _event_pricing_stop() { |
168 | - return '<p>' . __('Use the Event Datetime & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', 'event_espresso') . '</p>'; |
|
168 | + return '<p>'.__('Use the Event Datetime & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', 'event_espresso').'</p>'; |
|
169 | 169 | } |
170 | 170 | |
171 | 171 | protected function _event_pricing_caf() { |
172 | - return '<p>' . __('Use the Event Datetimes & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', 'event_espresso') . '</p>'; |
|
172 | + return '<p>'.__('Use the Event Datetimes & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', 'event_espresso').'</p>'; |
|
173 | 173 | } |
174 | 174 | |
175 | 175 | protected function _event_registration_options_stop() { |
176 | - return '<p>' . __('Setup custom options for your event registration.', 'event_espresso') . '</p>'; |
|
176 | + return '<p>'.__('Setup custom options for your event registration.', 'event_espresso').'</p>'; |
|
177 | 177 | } |
178 | 178 | |
179 | 179 | protected function _event_post_tag_stop() { |
180 | - return '<p>' . __('Quickly add tags to your event.', 'event_espresso') . '</p>'; |
|
180 | + return '<p>'.__('Quickly add tags to your event.', 'event_espresso').'</p>'; |
|
181 | 181 | } |
182 | 182 | |
183 | 183 | protected function _event_categories_stop() { |
184 | - return '<p>' . __('Events can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
184 | + return '<p>'.__('Events can also be categorized if you wish.', 'event_espresso').'</p>'; |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | protected function _primary_question_stop_caf() { |
188 | - return '<p>' . __('Use the questions group to request information from your primary registrant.', 'event_espresso') . '</p>'; |
|
188 | + return '<p>'.__('Use the questions group to request information from your primary registrant.', 'event_espresso').'</p>'; |
|
189 | 189 | } |
190 | 190 | |
191 | 191 | protected function _additional_questions_stop_caf() { |
192 | - return '<p>' . __('Use the questions group to request information from your additional registrant.', 'event_espresso') . '</p>'; |
|
192 | + return '<p>'.__('Use the questions group to request information from your additional registrant.', 'event_espresso').'</p>'; |
|
193 | 193 | } |
194 | 194 | |
195 | 195 | protected function _featured_image_stop() { |
196 | - return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>'; |
|
196 | + return '<p>'.__('Set a feature image for your event here.', 'event_espresso').'</p>'; |
|
197 | 197 | } |
198 | 198 | |
199 | 199 | protected function _publish_event_stop() { |
200 | - return '<p>' . __('Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.', 'event_espresso') . '</p>'; |
|
200 | + return '<p>'.__('Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.', 'event_espresso').'</p>'; |
|
201 | 201 | } |
202 | 202 | |
203 | 203 | } |
204 | 204 | \ 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 | * |
@@ -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,21 +55,21 @@ discard block |
||
55 | 55 | |
56 | 56 | |
57 | 57 | protected function _stop_one() { |
58 | - $content = '<h3>' . __('Import', 'event_espresso') . '</h3>'; |
|
59 | - $content .= '<p>' . __('Learn how to import information into Event Espresso.', 'event_espresso') . '</p>'; |
|
58 | + $content = '<h3>'.__('Import', 'event_espresso').'</h3>'; |
|
59 | + $content .= '<p>'.__('Learn how to import information into Event Espresso.', 'event_espresso').'</p>'; |
|
60 | 60 | return $content; |
61 | 61 | } |
62 | 62 | |
63 | 63 | protected function _stop_two() { |
64 | - return '<p>' . __('A sample CSV file can be downloaded by creating an event through the Event Editor and then saving that event. Then return to the Event Overview screen and hover of the name of the event and click on Export.', 'event_espresso') . '</p>'; |
|
64 | + return '<p>'.__('A sample CSV file can be downloaded by creating an event through the Event Editor and then saving that event. Then return to the Event Overview screen and hover of the name of the event and click on Export.', 'event_espresso').'</p>'; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | protected function _stop_three() { |
68 | - return '<p>' . __('Click on Choose File and browse to the location of your CSV file on your computer.', 'event_espresso') . '</p>'; |
|
68 | + return '<p>'.__('Click on Choose File and browse to the location of your CSV file on your computer.', 'event_espresso').'</p>'; |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | protected function _stop_four() { |
72 | - return '<p>' . __('Click on Upload File.', 'event_espresso') . '</p>'; |
|
72 | + return '<p>'.__('Click on Upload File.', 'event_espresso').'</p>'; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | } |
76 | 76 | \ 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 | * |
@@ -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 |
@@ -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 | * |
@@ -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 |
@@ -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 | * |
@@ -150,7 +150,7 @@ |
||
150 | 150 | 'target' => '.ticket-archived .ee-lock-icon', |
151 | 151 | 'content' => __('This ticket was automatically locked and archived because it has a sold quantity and the price was modified. Existing ticket holders will still be verified using these ticket details. However, Event Espresso has automatically created a new active ticket with the modified price for new registrants. This lock is meant to prevent accidental trashing of this ticket. Certain details of this ticket can still be edited (non disabled inputs).', 'event_espresso') |
152 | 152 | ), |
153 | - 135 => array( |
|
153 | + 135 => array( |
|
154 | 154 | 'content_id' => 'ticket-lock-icon-event-editor', |
155 | 155 | 'target' => '.ee-lock-icon', |
156 | 156 | 'content' => __('This datetime can no longer be duplicated or deleted because tickets associated with this datetime have already been sold.', 'event_espresso') |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | 0 => array( |
34 | 34 | 'content_id' => 'attendee-column-tip', |
35 | 35 | 'target' => '.column-attendees .dashicons-groups', |
36 | - 'content' => sprintf( __('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_approved, FALSE, 'sentence') ), |
|
36 | + 'content' => sprintf(__('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_approved, FALSE, 'sentence')), |
|
37 | 37 | 'options' => array( |
38 | 38 | 'position' => array( |
39 | 39 | 'my' => 'bottom left', |
@@ -46,8 +46,8 @@ discard block |
||
46 | 46 | ) |
47 | 47 | ), |
48 | 48 | 1 => array( |
49 | - 'content_id' => 'ee-event-status-' . EE_Datetime::active, |
|
50 | - 'target' => '.event-status-' . EE_Datetime::active, |
|
49 | + 'content_id' => 'ee-event-status-'.EE_Datetime::active, |
|
50 | + 'target' => '.event-status-'.EE_Datetime::active, |
|
51 | 51 | 'content' => $this->_event_status_legend(EE_Datetime::active), |
52 | 52 | 'options' => array( |
53 | 53 | 'position' => array( |
@@ -56,8 +56,8 @@ discard block |
||
56 | 56 | ) |
57 | 57 | ), |
58 | 58 | 2 => array( |
59 | - 'content_id' => 'ee-event-status-' . EE_Datetime::upcoming, |
|
60 | - 'target' => '.event-status-' . EE_Datetime::upcoming, |
|
59 | + 'content_id' => 'ee-event-status-'.EE_Datetime::upcoming, |
|
60 | + 'target' => '.event-status-'.EE_Datetime::upcoming, |
|
61 | 61 | 'content' => $this->_event_status_legend(EE_Datetime::upcoming), |
62 | 62 | 'options' => array( |
63 | 63 | 'position' => array( |
@@ -66,8 +66,8 @@ discard block |
||
66 | 66 | ) |
67 | 67 | ), |
68 | 68 | 3 => array( |
69 | - 'content_id' => 'ee-event-status-' . EE_Datetime::postponed, |
|
70 | - 'target' => '.event-status-' . EE_Datetime::postponed, |
|
69 | + 'content_id' => 'ee-event-status-'.EE_Datetime::postponed, |
|
70 | + 'target' => '.event-status-'.EE_Datetime::postponed, |
|
71 | 71 | 'content' => $this->_event_status_legend(EE_Datetime::postponed), |
72 | 72 | 'options' => array( |
73 | 73 | 'position' => array( |
@@ -76,8 +76,8 @@ discard block |
||
76 | 76 | ) |
77 | 77 | ), |
78 | 78 | 4 => array( |
79 | - 'content_id' => 'ee-event-status-' . EE_Datetime::sold_out, |
|
80 | - 'target' => '.event-status-' . EE_Datetime::sold_out, |
|
79 | + 'content_id' => 'ee-event-status-'.EE_Datetime::sold_out, |
|
80 | + 'target' => '.event-status-'.EE_Datetime::sold_out, |
|
81 | 81 | 'content' => $this->_event_status_legend(EE_Datetime::sold_out), |
82 | 82 | 'options' => array( |
83 | 83 | 'position' => array( |
@@ -86,8 +86,8 @@ discard block |
||
86 | 86 | ) |
87 | 87 | ), |
88 | 88 | 5 => array( |
89 | - 'content_id' => 'ee-event-status-' . EE_Datetime::cancelled, |
|
90 | - 'target' => '.event-status-' . EE_Datetime::cancelled, |
|
89 | + 'content_id' => 'ee-event-status-'.EE_Datetime::cancelled, |
|
90 | + 'target' => '.event-status-'.EE_Datetime::cancelled, |
|
91 | 91 | 'content' => $this->_event_status_legend(EE_Datetime::cancelled), |
92 | 92 | 'options' => array( |
93 | 93 | 'position' => array( |
@@ -96,8 +96,8 @@ discard block |
||
96 | 96 | ) |
97 | 97 | ), |
98 | 98 | 6 => array( |
99 | - 'content_id' => 'ee-event-status-' . EE_Datetime::expired, |
|
100 | - 'target' => '.event-status-' . EE_Datetime::expired, |
|
99 | + 'content_id' => 'ee-event-status-'.EE_Datetime::expired, |
|
100 | + 'target' => '.event-status-'.EE_Datetime::expired, |
|
101 | 101 | 'content' => $this->_event_status_legend(EE_Datetime::expired), |
102 | 102 | 'options' => array( |
103 | 103 | 'position' => array( |
@@ -106,8 +106,8 @@ discard block |
||
106 | 106 | ) |
107 | 107 | ), |
108 | 108 | 7 => array( |
109 | - 'content_id' => 'ee-event-status-' . EE_Datetime::inactive, |
|
110 | - 'target' => '.event-status-' . EE_Datetime::inactive, |
|
109 | + 'content_id' => 'ee-event-status-'.EE_Datetime::inactive, |
|
110 | + 'target' => '.event-status-'.EE_Datetime::inactive, |
|
111 | 111 | 'content' => $this->_event_status_legend(EE_Datetime::inactive), |
112 | 112 | 'options' => array( |
113 | 113 | 'position' => array( |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * @param EE_Datetime constant $status What status is set (by class) |
124 | 124 | * @return string The status legend with the related status highlighted |
125 | 125 | */ |
126 | - private function _event_status_legend( $status ) { |
|
126 | + private function _event_status_legend($status) { |
|
127 | 127 | |
128 | 128 | $status_array = array( |
129 | 129 | 'active_status' => EE_Datetime::active, |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | 'inactive_status' => EE_Datetime::inactive |
136 | 136 | ); |
137 | 137 | |
138 | - return EEH_Template::status_legend( $status_array, $status ); |
|
138 | + return EEH_Template::status_legend($status_array, $status); |
|
139 | 139 | } |
140 | 140 | |
141 | 141 | } |
142 | 142 | \ No newline at end of file |
@@ -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> |