Completed
Branch FET/11199/integrate-persistent... (5935c5)
by
unknown
17:34 queued 15:28
created
registrations/help_tours/Registration_Overview_Help_Tour.class.php 2 patches
Spacing   +20 added lines, -20 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
 /**
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
 	protected function _set_tour_properties() {
33 33
 		$this->_label = __('Registrations Overview Tour', 'event_espresso');
34
-		if ( isset( $this->_req_data['event_id'] ) )
34
+		if (isset($this->_req_data['event_id']))
35 35
 			$this->_slug = 'registration-per-event-overview-joyride';
36 36
 		else
37 37
 			$this->_slug = 'registration-overview-joyride';
@@ -174,69 +174,69 @@  discard block
 block discarded – undo
174 174
 
175 175
 
176 176
 	protected function _start() {
177
-		$content = '<h3>' . __('Registration Overview', 'event_espresso') . '</h3>';
178
-		if ( isset( $this->_req_data['event_id'] ) ) {
179
-			$content .= '<p>' . __('An introduction to the Registration Overview page for a single event. This view is pretty much the same as the default overview registration page except you are only seeing registrations for a specific event.  There are also some changes to the available columns in this view.', 'event_espresso') . '</p>';
177
+		$content = '<h3>'.__('Registration Overview', 'event_espresso').'</h3>';
178
+		if (isset($this->_req_data['event_id'])) {
179
+			$content .= '<p>'.__('An introduction to the Registration Overview page for a single event. This view is pretty much the same as the default overview registration page except you are only seeing registrations for a specific event.  There are also some changes to the available columns in this view.', 'event_espresso').'</p>';
180 180
 		} else {
181
-			$content .= '<p>' . __('This tour of the Registration Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>';
181
+			$content .= '<p>'.__('This tour of the Registration Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>';
182 182
 		}
183 183
 		return $content;
184 184
 	}
185 185
 
186 186
 	protected function _reg_id_stop() {
187
-		return '<p>' . __('View the registration ID. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
187
+		return '<p>'.__('View the registration ID. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
188 188
 	}
189 189
 
190 190
 	protected function _reg_count_stop() {
191
-		return '<p>' . __('View registration number.', 'event_espresso') . '</p>';
191
+		return '<p>'.__('View registration number.', 'event_espresso').'</p>';
192 192
 	}
193 193
 
194 194
 	protected function _attendee_name_stop() {
195
-		return '<p>' . __('View the name of the registrant. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
195
+		return '<p>'.__('View the name of the registrant. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
196 196
 	}
197 197
 
198 198
 	protected function _reg_date_stop() {
199
-		return '<p>' . __('View registration date. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
199
+		return '<p>'.__('View registration date. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
200 200
 	}
201 201
 
202 202
 	protected function _event_name_stop() {
203
-		return '<p>' . __('View the name of the event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
203
+		return '<p>'.__('View the name of the event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
204 204
 	}
205 205
 
206 206
 	protected function _dtt_evt_start_stop() {
207
-		return '<p>' . __('View the date of the event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
207
+		return '<p>'.__('View the date of the event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
208 208
 	}
209 209
 
210 210
 	protected function _reg_code_stop() {
211
-		return '<p>' . __('View registration code for a registrant.', 'event_espresso') . '</p>';
211
+		return '<p>'.__('View registration code for a registrant.', 'event_espresso').'</p>';
212 212
 	}
213 213
 
214 214
 	protected function _txn_total_stop() {
215
-		return '<p>' . __('View price of registration.', 'event_espresso') . '</p>';
215
+		return '<p>'.__('View price of registration.', 'event_espresso').'</p>';
216 216
 	}
217 217
 
218 218
 	protected function _actions_stop() {
219
-		return '<p>' . __('Perform an action to a registration. See legend in bottom left corner.', 'event_espresso') . '</p>';
219
+		return '<p>'.__('Perform an action to a registration. See legend in bottom left corner.', 'event_espresso').'</p>';
220 220
 	}
221 221
 
222 222
 	protected function _legend_stop() {
223
-		return '<p>' . __('This is the legend that describes the actions available in the actions column. Also shows available statuses for a registration.', 'event_espresso') . '</p>';
223
+		return '<p>'.__('This is the legend that describes the actions available in the actions column. Also shows available statuses for a registration.', 'event_espresso').'</p>';
224 224
 	}
225 225
 
226 226
 	protected function _views_stop() {
227
-		return '<p>' . __('You can select different views by time period or look at registrations which have been moved to the trash.') . '</p>';
227
+		return '<p>'.__('You can select different views by time period or look at registrations which have been moved to the trash.').'</p>';
228 228
 	}
229 229
 
230 230
 	protected function _bulkactions_stop() {
231
-		return '<p>' . __('Perform a bulk action to multiple registrations.', 'event_espresso') . '</p>';
231
+		return '<p>'.__('Perform a bulk action to multiple registrations.', 'event_espresso').'</p>';
232 232
 	}
233 233
 
234 234
 	protected function _stop_about_filters() {
235
-		return '<p>' . __('Registrations can be filtered by date, categories, or status.', 'event_espresso') . '</p>';
235
+		return '<p>'.__('Registrations can be filtered by date, categories, or status.', 'event_espresso').'</p>';
236 236
 	}
237 237
 	
238 238
 	protected function _search_stop() {
239
-		return '<p>' . __('Search through registrations. The following sources will be searched: Event Name, Event Description, First Name, Last Name, Biography, Email Address, Address, Comments, Notes, Registration Final Price, Registration Code, Registration Group Size, Ticket Name, and Ticket Description.', 'event_espresso') . '</p>';
239
+		return '<p>'.__('Search through registrations. The following sources will be searched: Event Name, Event Description, First Name, Last Name, Biography, Email Address, Address, Comments, Notes, Registration Final Price, Registration Code, Registration Group Size, Ticket Name, and Ticket Description.', 'event_espresso').'</p>';
240 240
 	}
241 241
 
242 242
 }
243 243
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +7 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,7 @@  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 6
 /**
6 7
  * Event Espresso
@@ -31,10 +32,11 @@  discard block
 block discarded – undo
31 32
 
32 33
 	protected function _set_tour_properties() {
33 34
 		$this->_label = __('Registrations Overview Tour', 'event_espresso');
34
-		if ( isset( $this->_req_data['event_id'] ) )
35
-			$this->_slug = 'registration-per-event-overview-joyride';
36
-		else
37
-			$this->_slug = 'registration-overview-joyride';
35
+		if ( isset( $this->_req_data['event_id'] ) ) {
36
+					$this->_slug = 'registration-per-event-overview-joyride';
37
+		} else {
38
+					$this->_slug = 'registration-overview-joyride';
39
+		}
38 40
 	}
39 41
 
40 42
 
Please login to merge, or discard this patch.
registrations/help_tours/Registration_Reports_Help_Tour.class.php 2 patches
Spacing   +5 added lines, -5 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
 /**
@@ -60,17 +60,17 @@  discard block
 block discarded – undo
60 60
 	}
61 61
 
62 62
 	protected function _start() {
63
-		$content = '<h3>' . __('Registration Reports', 'event_espresso') . '</h3>';
64
-		$content .= '<p>' . __('This tour of the Registration Reports page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>';
63
+		$content = '<h3>'.__('Registration Reports', 'event_espresso').'</h3>';
64
+		$content .= '<p>'.__('This tour of the Registration Reports page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>';
65 65
 		return $content;
66 66
 	}
67 67
 
68 68
 	protected function _reg_per_day_report_stop() {
69
-		return '<p>' . __('This graph shows registrations for each day.', 'event_espresso') . '</p>';
69
+		return '<p>'.__('This graph shows registrations for each day.', 'event_espresso').'</p>';
70 70
 	}
71 71
 
72 72
 	protected function _reg_per_event_report_stop() {
73
-		return '<p>' . __('This graph shows registrations for each event.', 'event_espresso') . '</p>';
73
+		return '<p>'.__('This graph shows registrations for each event.', 'event_espresso').'</p>';
74 74
 	}
75 75
 
76 76
 }
77 77
\ 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/registrations/help_tours/Registration_View_Help_Tour.class.php 2 patches
Spacing   +9 added lines, -9 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
 /**
@@ -97,39 +97,39 @@  discard block
 block discarded – undo
97 97
 
98 98
 
99 99
 	protected function _start() {
100
-		$content = '<h3>' . __('Welcome to the Registration Details page!', 'event_espresso') . '</h3>';
101
-		$content .= '<p>' . __('An introduction to the registration details page', 'event_espresso') . '</p>';
100
+		$content = '<h3>'.__('Welcome to the Registration Details page!', 'event_espresso').'</h3>';
101
+		$content .= '<p>'.__('An introduction to the registration details page', 'event_espresso').'</p>';
102 102
 		return $content;
103 103
 	}
104 104
 
105 105
 
106 106
 	protected function _reg_date_title() {
107
-		return '<p>' . __('About the reg date') . '</p>';
107
+		return '<p>'.__('About the reg date').'</p>';
108 108
 	}
109 109
 
110 110
 	
111 111
 
112 112
 	protected function _reg_details_stop() {
113
-		return '<p>' . __('About the reg details area (pending, buttons they can push and what happens)', 'event_espresso') . '</p>';
113
+		return '<p>'.__('About the reg details area (pending, buttons they can push and what happens)', 'event_espresso').'</p>';
114 114
 	}
115 115
 
116 116
 
117 117
 	protected function _reg_details_table() {
118
-		return '<p>' . __('about the registration details metabox', 'event_espresso') . '</p>';
118
+		return '<p>'.__('about the registration details metabox', 'event_espresso').'</p>';
119 119
 	}
120 120
 
121 121
 
122 122
 	protected function _display_additional_info_stop() {
123
-		return '<p>' . __('what happens when they click this link?  What\'s it here for', 'event_espresso') . '</p>';
123
+		return '<p>'.__('what happens when they click this link?  What\'s it here for', 'event_espresso').'</p>';
124 124
 	}
125 125
 
126 126
 
127 127
 	protected function _attendee_details_stop() {
128
-		return '<p>' . __('details on the registrant attached to this registration', 'event_espresso') . '</p>';
128
+		return '<p>'.__('details on the registrant attached to this registration', 'event_espresso').'</p>';
129 129
 	}
130 130
 
131 131
 
132 132
 	protected function _edit_reg_question_stop() {
133
-		return '<p>' . __('info about how they can edit the questions related to this registration here', 'event_espresso') . '</p>';
133
+		return '<p>'.__('info about how they can edit the questions related to this registration here', 'event_espresso').'</p>';
134 134
 	}
135 135
 }
136 136
\ 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.
templates/attendee_address_details_metabox_content.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-EEH_Template_Validator::verify_instanceof( $attendee, '$attendee', 'EE_Attendee');
2
+EEH_Template_Validator::verify_instanceof($attendee, '$attendee', 'EE_Attendee');
3 3
 /*
4 4
  * @var $attendee EE_Attendee 
5 5
  * @var $state_html html for displaying the attendee's state
Please login to merge, or discard this patch.
templates/attendee_details_after_title_form_fields.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-EEH_Template_Validator::verify_instanceof( $attendee, '$attendee', 'EE_Attendee');
2
+EEH_Template_Validator::verify_instanceof($attendee, '$attendee', 'EE_Attendee');
3 3
 /**
4 4
  * @var $attendee - instance of EE_Attendee
5 5
  */
Please login to merge, or discard this patch.
templates/reg_admin_details_main_meta_box_reg_questions.template.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,11 @@
 block discarded – undo
11 11
 		<?php echo $att_questions; ?>
12 12
 		<?php if ( !empty($att_questions) ) : ?>
13 13
 			<input id="reg-admin-attendee-questions-submit" class="button-primary" value="Update Registration Questions" type="submit" />
14
-		<?php else : ?>
15
-			<p class="ee-attention"><?php _e('There were no custom questions asked for this registration.', 'event_espresso'); ?></p>
14
+		<?php else {
15
+	: ?>
16
+			<p class="ee-attention"><?php _e('There were no custom questions asked for this registration.', 'event_espresso');
17
+}
18
+?></p>
16 19
 		<?php endif; ?>
17 20
 
18 21
 	</form>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 	<p><?php _e('This displays the custom questions and answers for this registrant.  Please note that any answers to system questions have been saved with the contact record.  You can edit those answers via the "View/Edit this Contact" link in the Contact Details metabox in the sidebar.', 'event_espresso'); ?></p>
3 3
 	
4 4
 	<form name="reg-admin-attendee-questions-frm" id="reg-admin-attendee-questions-frm" action="<?php echo REG_ADMIN_URL; ?>" method="post">
5
-		<?php wp_nonce_field( $reg_questions_form_action . '_nonce', $reg_questions_form_action . '_nonce' ); ?>
5
+		<?php wp_nonce_field($reg_questions_form_action.'_nonce', $reg_questions_form_action.'_nonce'); ?>
6 6
 		<input  type="hidden" name="page" value="<?php echo REG_PG_SLUG; ?>"/>
7 7
 		<input  type="hidden" name="action" value="<?php echo $reg_questions_form_action; ?>"/>
8 8
 		<input  type="hidden" name="_REG_ID" value="<?php echo $REG_ID; ?>"/>
9 9
 		<input  type="hidden" name="espresso_ajax" id="espresso-ajax" value="0"/>
10 10
 		<input  type="hidden" name="noheader" id="reg-admin-noheader-inp" value="true"/>
11 11
 		<?php echo $att_questions; ?>
12
-		<?php if ( !empty($att_questions) ) : ?>
12
+		<?php if ( ! empty($att_questions)) : ?>
13 13
 			<input id="reg-admin-attendee-questions-submit" class="button-primary" value="Update Registration Questions" type="submit" />
14 14
 		<?php else : ?>
15 15
 			<p class="ee-attention"><?php _e('There were no custom questions asked for this registration.', 'event_espresso'); ?></p>
Please login to merge, or discard this patch.
registrations/templates/reg_admin_register_new_attendee.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,2 +1,2 @@
 block discarded – undo
1
-<h1><span class="small-text not-bold"><?php _e( 'Adding Registration For: ', 'event_espresso' );?></span><?php echo $event_name;?></h1>
1
+<h1><span class="small-text not-bold"><?php _e('Adding Registration For: ', 'event_espresso'); ?></span><?php echo $event_name; ?></h1>
2 2
 <?php echo $step_content; ?>
3 3
\ No newline at end of file
Please login to merge, or discard this patch.
templates/reg_admin_register_new_attendee_step_content.template.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 	<h2 class="ee-new-registration-step-header"><?php echo $title ?></h2>
3 3
 	<div class="ee-new-registration-step-content">
4 4
 		<?php echo $content; ?>
5
-		<?php if ( $show_notification_toggle && EE_Registry::instance()->CAP->current_user_can( 'ee_send_message', 'registration_message_type' ) ) : ?>
5
+		<?php if ($show_notification_toggle && EE_Registry::instance()->CAP->current_user_can('ee_send_message', 'registration_message_type')) : ?>
6 6
 			<div class="ee-attention">
7
-				<label for="txn_reg_status_change" class="last"><?php _e( 'Send Related Messages?', 'event_espresso' );?></label>
7
+				<label for="txn_reg_status_change" class="last"><?php _e('Send Related Messages?', 'event_espresso'); ?></label>
8 8
 				<input type="checkbox" value="1" name="txn_reg_status_change[send_notifications]" checked=checked>
9 9
 				<br/>
10 10
 				<br />
11
-				<p class="description"><?php _e( 'Send a notification to registrants after processing?', 'event_espresso' );?></p><br/>
11
+				<p class="description"><?php _e('Send a notification to registrants after processing?', 'event_espresso'); ?></p><br/>
12 12
 				<label></label>
13 13
 			</div>
14 14
 		<?php endif; ?>
Please login to merge, or discard this patch.
templates/registration_page_registration_questions.template.php 1 patch
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <div id="single-page-checkout" class="ui-widget">
2
-	<?php do_action( 'AHEE__registration_page_registration_questions__template__after_spco_attendee_information_header' )?>
2
+	<?php do_action('AHEE__registration_page_registration_questions__template__after_spco_attendee_information_header')?>
3 3
 	<div id="spco-attendee_information-dv" class="spco-step-dv">
4 4
 
5 5
 		<p id="spco-attendee_information-pg" class="spco-steps-pg small-text drk-grey-text">
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 			__('In order to process your registration, we ask you to provide the following information.%1$sPlease note that all fields marked with an asterisk (%2$s) are required.', 'event_espresso'),
8 8
 			'<br />',
9 9
 			'<span class="asterisk">*</span>'
10
-			);?>
10
+			); ?>
11 11
 		</p>
12 12
 
13 13
 	<?php
@@ -15,20 +15,20 @@  discard block
 block discarded – undo
15 15
 	$att_nmbr = 0;
16 16
 	$prev_event = '';
17 17
 
18
-	if ( $event_queue['total_items'] > 0 ) {
19
-		foreach ( $event_queue['items'] as $line_item => $item ) {
18
+	if ($event_queue['total_items'] > 0) {
19
+		foreach ($event_queue['items'] as $line_item => $item) {
20 20
 			$att_nmbr++;
21
-			if ( $item['attendee_questions'] != '' ) {
21
+			if ($item['attendee_questions'] != '') {
22 22
 	?>
23 23
 
24
-			<div id="spco-attendee-panel-dv-<?php echo $line_item;?>" class="spco-attendee-panel-dv">
24
+			<div id="spco-attendee-panel-dv-<?php echo $line_item; ?>" class="spco-attendee-panel-dv">
25 25
 
26
-				<?php if ( $item['ticket']->name() != $prev_event ) { ?>
26
+				<?php if ($item['ticket']->name() != $prev_event) { ?>
27 27
 			<p class="spco-ticket-info-pg">
28 28
 			<?php
29
-				echo $item['ticket']->name() . ':  ' . EEH_Template::format_currency( $item['ticket']->price(), FALSE, FALSE );
30
-				echo $item['ticket']->qty() ? ' &nbsp; x &nbsp; ' . $ticket_count[ $item['ticket']->ID() ] . __(' tickets', 'event_espresso') . ' &nbsp; = &nbsp; ' . EEH_Template::format_currency( $item['ticket']->price() * $ticket_count[ $item['ticket']->ID() ] ) : '';
31
-				echo $item['ticket']->description() ? '<br/>' . __('Ticket Details: ', 'event_espresso') . $item['ticket']->description() : '';
29
+				echo $item['ticket']->name().':  '.EEH_Template::format_currency($item['ticket']->price(), FALSE, FALSE);
30
+				echo $item['ticket']->qty() ? ' &nbsp; x &nbsp; '.$ticket_count[$item['ticket']->ID()].__(' tickets', 'event_espresso').' &nbsp; = &nbsp; '.EEH_Template::format_currency($item['ticket']->price() * $ticket_count[$item['ticket']->ID()]) : '';
31
+				echo $item['ticket']->description() ? '<br/>'.__('Ticket Details: ', 'event_espresso').$item['ticket']->description() : '';
32 32
 			?>
33 33
 			</p>
34 34
 
@@ -36,50 +36,50 @@  discard block
 block discarded – undo
36 36
 				}
37 37
 			?>
38 38
 
39
-				<fieldset id="spco-attendee-wrap-<?php echo $line_item;?>" class="spco-attendee-wrap-fs">
40
-	  				<legend class="spco-attendee-lgnd smaller-text lt-grey-text"><?php echo __('Registrant #', 'event_espresso') . $att_nmbr;?></legend>
39
+				<fieldset id="spco-attendee-wrap-<?php echo $line_item; ?>" class="spco-attendee-wrap-fs">
40
+	  				<legend class="spco-attendee-lgnd smaller-text lt-grey-text"><?php echo __('Registrant #', 'event_espresso').$att_nmbr; ?></legend>
41 41
 
42 42
 			<?php
43 43
 				//do an action before the questions output, including the item and count
44
-				echo do_action( 'AHEE__registration_page_registration_questions__template___before_questions', $item, $att_nmbr );
44
+				echo do_action('AHEE__registration_page_registration_questions__template___before_questions', $item, $att_nmbr);
45 45
 				echo $item['attendee_questions'];
46 46
 
47
-				if ( $att_nmbr == 1 && $print_copy_info ) { ?>
47
+				if ($att_nmbr == 1 && $print_copy_info) { ?>
48 48
 
49 49
 						<input type="hidden" id="primary-attendee" name="qstn[primary_attendee]" value="<?php echo $prmy_att_input_name ?>" />
50 50
 
51 51
 						<div id="spco-copy-attendee-dv" class="hide-if-no-js">
52 52
 
53 53
 							<p class="spco-copy-all-attendee-pg">
54
-								<label class="wide"><?php  _e('Use Registrant #1\'s information for ALL registrants', 'event_espresso');?>
54
+								<label class="wide"><?php  _e('Use Registrant #1\'s information for ALL registrants', 'event_espresso'); ?>
55 55
 									<input id="spco-copy-all-attendee-chk" class="spco-copy-all-attendee-chk ui-widget-content ui-corner-all" type="checkbox" value="copy-all">
56 56
 								</label>
57 57
 							</p>
58 58
 
59 59
 							<p class="spco-copy-attendee-pg"><?php _e('This option allows you to use the above information for all additional registrant question fields. <span>(&nbsp;Please note that some events may have additional questions that you may still be required to answer in order to complete your registration.&nbsp;)</span>', 'event_espresso'); ?></p>
60 60
 
61
-							<a id="display-more-attendee-copy-options" class="display-the-hidden smaller-text float-right" rel="more-attendee-copy-options" ><?php  _e('more options', 'event_espresso');?></a>
61
+							<a id="display-more-attendee-copy-options" class="display-the-hidden smaller-text float-right" rel="more-attendee-copy-options" ><?php  _e('more options', 'event_espresso'); ?></a>
62 62
 
63 63
 							<div id="more-attendee-copy-options-dv" class="">
64
-								<a id="hide-more-attendee-copy-options" class="hide-the-displayed smaller-text float-right" rel="more-attendee-copy-options" ><?php  _e('less options', 'event_espresso');?></a>
64
+								<a id="hide-more-attendee-copy-options" class="hide-the-displayed smaller-text float-right" rel="more-attendee-copy-options" ><?php  _e('less options', 'event_espresso'); ?></a>
65 65
 								<p class="spco-copy-attendee-pg">
66 66
 									<?php _e('The following checkboxes allow you to use the above information for only the selected additional event registrants.', 'event_espresso'); ?>
67 67
 								</p>
68 68
 
69 69
 						<?php
70
-								foreach ( $additional_event_attendees as $event_attendees ) {
71
-									foreach ( $event_attendees as $attendee ) {
70
+								foreach ($additional_event_attendees as $event_attendees) {
71
+									foreach ($event_attendees as $attendee) {
72 72
 
73
-										if ( $attendee['event_hdr'] ) { ?>
73
+										if ($attendee['event_hdr']) { ?>
74 74
 								<h6 class="spco-copy-attendee-event-hdr"><?php echo $attendee['event_hdr']; ?></h6>
75 75
 										<?php	} ?>
76 76
 
77 77
 								<p class="event_form_field spco-copy-attendee-chk-pg">
78
-									<label><?php echo __('Attendee #', 'event_espresso') . $attendee['att_nmbr'];?>
78
+									<label><?php echo __('Attendee #', 'event_espresso').$attendee['att_nmbr']; ?>
79 79
 										<input 	type="checkbox"
80
-														id="spco-copy-attendee-chk-<?php echo $attendee['input_id'];?>"
81
-														class="spco-copy-attendee-chk <?php echo $css_class;?>"
82
-														value="<?php echo $attendee['input_id'];?>"
80
+														id="spco-copy-attendee-chk-<?php echo $attendee['input_id']; ?>"
81
+														class="spco-copy-attendee-chk <?php echo $css_class; ?>"
82
+														value="<?php echo $attendee['input_id']; ?>"
83 83
 												/>
84 84
 									</label>
85 85
 								</p>
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 				<?php
96 96
 							$print_copy_info = FALSE;
97 97
 
98
-					} else if ( $att_nmbr == 1 ) {
98
+					} else if ($att_nmbr == 1) {
99 99
 				?>
100 100
 					<p id="spco-auto-copy-attendee-pg" class="smaller-text lt-grey-text">
101 101
 						<?php _e('The above information will be used for any additional tickets/registrants.', 'event_espresso'); ?>
@@ -109,13 +109,13 @@  discard block
 block discarded – undo
109 109
 			</div>
110 110
 	<?php
111 111
 			} else {
112
-				 if ( $att_nmbr == 1 ) {
112
+				 if ($att_nmbr == 1) {
113 113
 			?>
114
-		<div id="spco-attendee-panel-dv-<?php echo $line_item;?>" class="spco-attendee-panel-dv">
114
+		<div id="spco-attendee-panel-dv-<?php echo $line_item; ?>" class="spco-attendee-panel-dv">
115 115
 			<h3 id="event_title-<?php echo $item['ticket']->ID() ?>" class="big-event-title-hdr">
116 116
 				<?php echo $item['event']->name(); ?>
117 117
 			</h3>
118
-			<fieldset id="spco-attendee-wrap-<?php echo $line_item;?>" class="spco-attendee-wrap-fs">
118
+			<fieldset id="spco-attendee-wrap-<?php echo $line_item; ?>" class="spco-attendee-wrap-fs">
119 119
  				<h6><?php _e('No information is required to attend this event. Please proceed to the next Step', 'event_espresso'); ?></h6>
120 120
 				<input type="hidden" id="no-questions" name="qstn[]" value="0" />
121 121
 			</fieldset>
Please login to merge, or discard this patch.