Completed
Branch FET/11199/integrate-persistent... (5935c5)
by
unknown
17:34 queued 15:28
created
admin_pages/events/help_tours/Event_Edit_Help_Tour.class.php 3 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,14 +122,14 @@  discard block
 block discarded – undo
122 122
 					'tipLocation' => 'left'
123 123
 					)
124 124
 				),
125
-            110 => array(
125
+			110 => array(
126 126
 				'id' => 'espresso_event_editor_event_options',
127 127
 				'content' => $this->_event_registration_options_stop(),
128 128
 				'options' => array(
129 129
 					'tipLocation' => 'left'
130 130
 					)
131 131
 				),
132
-            120 => array(
132
+			120 => array(
133 133
 				'id' => 'submitpost',
134 134
 				'content' => $this->_publish_event_stop(),
135 135
 				'options' => array(
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 		return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>';
196 196
 	}
197 197
     
198
-    protected function _publish_event_stop() {
198
+	protected function _publish_event_stop() {
199 199
 		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 200
 	}
201 201
 	
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 /**
@@ -142,8 +142,8 @@  discard block
 block discarded – undo
142 142
 
143 143
 
144 144
 	protected function _start() {
145
-		$content = '<h3>' . __('Event Editor', 'event_espresso') . '</h3>';
146
-		$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>';
145
+		$content = '<h3>'.__('Event Editor', 'event_espresso').'</h3>';
146
+		$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>';
147 147
 		return $content;
148 148
 	}
149 149
 
@@ -152,51 +152,51 @@  discard block
 block discarded – undo
152 152
 	}
153 153
 
154 154
 	protected function _event_description_stop() {
155
-		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>';
155
+		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 156
 	}
157 157
 
158 158
 	protected function _event_venues_caf() {
159
-		return '<p>' . __('In this section, you can select the venue that is hosting your event.', 'event_espresso') . '</p>';
159
+		return '<p>'.__('In this section, you can select the venue that is hosting your event.', 'event_espresso').'</p>';
160 160
 	}
161 161
 
162 162
 	protected function _event_venues_stop() {
163
-		return '<p>' . __('In this section, you can enter information about the venue that is hosting your event.', 'event_espresso') . '</p>';
163
+		return '<p>'.__('In this section, you can enter information about the venue that is hosting your event.', 'event_espresso').'</p>';
164 164
 	}
165 165
 
166 166
 	protected function _event_pricing_stop() {
167
-		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>';
167
+		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 168
 	}
169 169
 
170 170
 	protected function _event_pricing_caf() {
171
-		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>';
171
+		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 172
 	}
173 173
 	
174 174
 	protected function _event_registration_options_stop() {
175
-		return '<p>' . __('Setup custom options for your event registration.', 'event_espresso') . '</p>';
175
+		return '<p>'.__('Setup custom options for your event registration.', 'event_espresso').'</p>';
176 176
 	}
177 177
 	
178 178
 	protected function _event_post_tag_stop() {
179
-		return '<p>' . __('Quickly add tags to your event.', 'event_espresso') . '</p>';
179
+		return '<p>'.__('Quickly add tags to your event.', 'event_espresso').'</p>';
180 180
 	}
181 181
 
182 182
 	protected function _event_categories_stop() {
183
-		return '<p>' . __('Events can also be categorized if you wish.', 'event_espresso') . '</p>';
183
+		return '<p>'.__('Events can also be categorized if you wish.', 'event_espresso').'</p>';
184 184
 	}
185 185
 
186 186
 	protected function _primary_question_stop_caf() {
187
-		return '<p>' . __('Use the questions group to request information from your primary registrant.', 'event_espresso') . '</p>';
187
+		return '<p>'.__('Use the questions group to request information from your primary registrant.', 'event_espresso').'</p>';
188 188
 	}
189 189
 
190 190
 	protected function _additional_questions_stop_caf() {
191
-		return '<p>' . __('Use the questions group to request information from your additional registrant.', 'event_espresso') . '</p>';
191
+		return '<p>'.__('Use the questions group to request information from your additional registrant.', 'event_espresso').'</p>';
192 192
 	}
193 193
 	
194 194
 	protected function _featured_image_stop() {
195
-		return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>';
195
+		return '<p>'.__('Set a feature image for your event here.', 'event_espresso').'</p>';
196 196
 	}
197 197
     
198 198
     protected function _publish_event_stop() {
199
-		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>';
199
+		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 200
 	}
201 201
 	
202 202
 }
203 203
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
admin_pages/events/help_tours/Event_Import_Help_Tour.class.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
admin_pages/events/help_tours/Event_Overview_Help_Tour.class.php 3 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
admin_pages/events/help_tours/New_Features_Test_Help_Tour.class.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
admin_pages/events/help_tours/Templates_Help_Tour.class.php 3 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
admin_pages/events/templates/event_category_details.template.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,15 +5,15 @@
 block discarded – undo
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; ?>
Please login to merge, or discard this patch.
admin_pages/events/templates/event_settings.template.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,14 +10,14 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
admin_pages/events/templates/event_tickets_metabox_ticket_row.template.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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; ?>>
Please login to merge, or discard this patch.
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,8 +17,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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>
Please login to merge, or discard this patch.
admin_pages/general_settings/General_Settings_Admin_Page_Init.core.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.