Completed
Branch BUG-9583-fix-fetching-term-rel... (646110)
by
unknown
539:15 queued 523:53
created
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
@@ -6,8 +6,9 @@
 block discarded – undo
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
  *
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
@@ -6,8 +6,9 @@
 block discarded – undo
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
  *
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
@@ -6,8 +6,9 @@
 block discarded – undo
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
  *
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
@@ -6,8 +6,9 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
admin_pages/events/qtips/EE_Event_Editor_Decaf_Tips.lib.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
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')
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_publish_box_extras.template.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
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.