Completed
Branch FET-8162-relation-exists (8f4753)
by
unknown
347:12 queued 335:12
created
admin_pages/transactions/help_tours/Transaction_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,16 +60,16 @@  discard block
 block discarded – undo
60 60
 
61 61
 
62 62
 	protected function _start() {
63
-		$content = '<h3>' . __('Transaction Reports', 'event_espresso') . '</h3>';
64
-		$content .= '<p>' . __('This tour of the Transaction 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>'.__('Transaction Reports', 'event_espresso').'</h3>';
64
+		$content .= '<p>'.__('This tour of the Transaction 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 _txn_per_day_report() {
69
-		return '<p>' . __('This graph shows revenue for each day.', 'event_espresso') . '</p>';
69
+		return '<p>'.__('This graph shows revenue for each day.', 'event_espresso').'</p>';
70 70
 	}
71 71
 
72 72
 	protected function _txn_per_event_report() {
73
-		return '<p>' . __('This graph shows revenue for each event.', 'event_espresso') . '</p>';
73
+		return '<p>'.__('This graph shows revenue for each event.', 'event_espresso').'</p>';
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.
transactions/help_tours/Transactions_Overview_Help_Tour.class.php 2 patches
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
 /**
@@ -144,53 +144,53 @@  discard block
 block discarded – undo
144 144
 
145 145
 
146 146
 	protected function _start() {
147
-		$content = '<h3>' . __('Transactions Overview', 'event_espresso') . '</h3>';
148
-		$content .= '<p>' . __('This tour of the Transactions Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>';
147
+		$content = '<h3>'.__('Transactions Overview', 'event_espresso').'</h3>';
148
+		$content .= '<p>'.__('This tour of the Transactions Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>';
149 149
 		return $content;
150 150
 	}
151 151
 
152 152
 	protected function _txn_id_stop() {
153
-		return '<p>' . __('View transaction ID. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
153
+		return '<p>'.__('View transaction ID. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
154 154
 	}
155 155
 
156 156
 	protected function _txn_timestamp_stop() {
157
-		return '<p>' . __('View transaction date. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
157
+		return '<p>'.__('View transaction date. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
158 158
 	}
159 159
 
160 160
 	protected function _txn_total_stop() {
161
-		return '<p>' . __('View total for transaction.', 'event_espresso') . '</p>';
161
+		return '<p>'.__('View total for transaction.', 'event_espresso').'</p>';
162 162
 	}
163 163
 	
164 164
 	protected function _txn_paid_stop() {
165
-		return '<p>' . __('View amount paid for transaction.', 'event_espresso') . '</p>';
165
+		return '<p>'.__('View amount paid for transaction.', 'event_espresso').'</p>';
166 166
 	}
167 167
 
168 168
 	protected function _attendee_name_stop() {
169
-		return '<p>' . __('View name for the primary registrant. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
169
+		return '<p>'.__('View name for the primary registrant. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
170 170
 	}
171 171
 
172 172
 	protected function _att_email_stop() {
173
-		return '<p>' . __('View email address for primary registrant. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
173
+		return '<p>'.__('View email address for primary registrant. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
174 174
 	}
175 175
 
176 176
 	protected function _event_name_stop() {
177
-		return '<p>' . __('View name of event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>';
177
+		return '<p>'.__('View name of event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>';
178 178
 	}
179 179
 
180 180
 	protected function _actions_stop() {
181
-		return '<p>' . __('Perform an action to a transaction. See legend in bottom left corner.', 'event_espresso') . '</p>';
181
+		return '<p>'.__('Perform an action to a transaction. See legend in bottom left corner.', 'event_espresso').'</p>';
182 182
 	}
183 183
 
184 184
 	protected function _legend_stop() {
185
-		return '<p>' . __('This legend that describes the actions available in the actions column. Also shows available statuses for a transaction.', 'event_espresso') . '</p>';
185
+		return '<p>'.__('This legend that describes the actions available in the actions column. Also shows available statuses for a transaction.', 'event_espresso').'</p>';
186 186
 	}
187 187
 
188 188
 	protected function _stop_about_filters() {
189
-		return '<p>' . __('Filter transactions by date by selecting two dates and clicking on the filter button. You can clear your current date selection by clicking on the reset filters button.', 'event_espresso') . '</p>';
189
+		return '<p>'.__('Filter transactions by date by selecting two dates and clicking on the filter button. You can clear your current date selection by clicking on the reset filters button.', 'event_espresso').'</p>';
190 190
 	}
191 191
 
192 192
 	protected function _search_stop() {
193
-		return '<p>' . __('Search through transactions. 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, Ticket Description, Payment Method, Payment Gateway, Transaction Details, and Transaction Session.', 'event_espresso') . '</p>';
193
+		return '<p>'.__('Search through transactions. 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, Ticket Description, Payment Method, Payment Gateway, Transaction Details, and Transaction Session.', 'event_espresso').'</p>';
194 194
 	}
195 195
 
196 196
 }
197 197
\ 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/transactions/qtips/Transaction_Details_Tips.lib.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@  discard block
 block discarded – undo
31 31
 	protected function _set_tips_array() {
32 32
 		$this->_qtipsa = array(
33 33
 			0 => array(
34
-				'content_id' => 'payment-status-' . EEM_Payment::status_id_approved,
35
-				'target' => '.pymt-status-' . EEM_Payment::status_id_approved,
34
+				'content_id' => 'payment-status-'.EEM_Payment::status_id_approved,
35
+				'target' => '.pymt-status-'.EEM_Payment::status_id_approved,
36 36
 				'content' => $this->_payment_status_legend(EEM_Payment::status_id_approved),
37 37
 				'options' => array(
38 38
 					'position' => array(
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
 					)
42 42
 				),
43 43
 			1 => array(
44
-				'content_id' => 'payment-status-' . EEM_Payment::status_id_pending,
45
-				'target' => '.pymt-status-' . EEM_Payment::status_id_pending,
44
+				'content_id' => 'payment-status-'.EEM_Payment::status_id_pending,
45
+				'target' => '.pymt-status-'.EEM_Payment::status_id_pending,
46 46
 				'content' => $this->_payment_status_legend(EEM_Payment::status_id_pending),
47 47
 				'options' => array(
48 48
 					'position' => array(
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
 					)
52 52
 				),
53 53
 			2 => array(
54
-				'content_id' => 'payment-status-' . EEM_Payment::status_id_cancelled,
55
-				'target' => '.pymt-status-' . EEM_Payment::status_id_cancelled,
54
+				'content_id' => 'payment-status-'.EEM_Payment::status_id_cancelled,
55
+				'target' => '.pymt-status-'.EEM_Payment::status_id_cancelled,
56 56
 				'content' => $this->_payment_status_legend(EEM_Payment::status_id_cancelled),
57 57
 				'options' => array(
58 58
 					'position' => array(
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
 					)
62 62
 				),
63 63
 			3 => array(
64
-				'content_id' => 'payment-status-' . EEM_Payment::status_id_declined,
65
-				'target' => '.pymt-status-' . EEM_Payment::status_id_declined,
64
+				'content_id' => 'payment-status-'.EEM_Payment::status_id_declined,
65
+				'target' => '.pymt-status-'.EEM_Payment::status_id_declined,
66 66
 				'content' => $this->_payment_status_legend(EEM_Payment::status_id_declined),
67 67
 				'options' => array(
68 68
 					'position' => array(
@@ -71,8 +71,8 @@  discard block
 block discarded – undo
71 71
 					)
72 72
 				),
73 73
 			4 => array(
74
-				'content_id' => 'payment-status-' . EEM_Payment::status_id_failed,
75
-				'target' => '.pymt-status-' . EEM_Payment::status_id_failed,
74
+				'content_id' => 'payment-status-'.EEM_Payment::status_id_failed,
75
+				'target' => '.pymt-status-'.EEM_Payment::status_id_failed,
76 76
 				'content' => $this->_payment_status_legend(EEM_Payment::status_id_failed),
77 77
 				'options' => array(
78 78
 					'position' => array(
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 	 * @param  EEM_Payment constant $status What status is set (by class)
93 93
 	 * @return string         The status legend with the related status highlighted
94 94
 	 */
95
-	private function _payment_status_legend( $status ) {
95
+	private function _payment_status_legend($status) {
96 96
 
97 97
 		$status_array = array(
98 98
 			'approved' => EEM_Payment::status_id_approved,
@@ -102,6 +102,6 @@  discard block
 block discarded – undo
102 102
 			'failed' => EEM_Payment::status_id_failed,
103 103
 			);
104 104
 
105
-		return EEH_Template::status_legend( $status_array, $status );
105
+		return EEH_Template::status_legend($status_array, $status);
106 106
 	}
107 107
 }
108 108
\ No newline at end of file
Please login to merge, or discard this patch.
admin_pages/transactions/qtips/Transactions_List_Table_Tips.lib.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@  discard block
 block discarded – undo
31 31
 	protected function _set_tips_array() {
32 32
 		$this->_qtipsa = array(
33 33
 			0 => array(
34
-				'content_id' => 'transaction-status-' . EEM_Transaction::overpaid_status_code,
35
-				'target' => '.txn-status-' . EEM_Transaction::overpaid_status_code,
34
+				'content_id' => 'transaction-status-'.EEM_Transaction::overpaid_status_code,
35
+				'target' => '.txn-status-'.EEM_Transaction::overpaid_status_code,
36 36
 				'content' => $this->_transaction_status_legend(EEM_Transaction::overpaid_status_code),
37 37
 				'options' => array(
38 38
 					'position' => array(
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
 				)
42 42
 			),
43 43
 			1 => array(
44
-				'content_id' => 'transaction-status-' . EEM_Transaction::complete_status_code,
45
-				'target' => '.txn-status-' . EEM_Transaction::complete_status_code,
44
+				'content_id' => 'transaction-status-'.EEM_Transaction::complete_status_code,
45
+				'target' => '.txn-status-'.EEM_Transaction::complete_status_code,
46 46
 				'content' => $this->_transaction_status_legend(EEM_Transaction::complete_status_code),
47 47
 				'options' => array(
48 48
 					'position' => array(
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
 				)
52 52
 			),
53 53
 			2 => array(
54
-				'content_id' => 'transaction-status-' . EEM_Transaction::incomplete_status_code,
55
-				'target' => '.txn-status-' . EEM_Transaction::incomplete_status_code,
54
+				'content_id' => 'transaction-status-'.EEM_Transaction::incomplete_status_code,
55
+				'target' => '.txn-status-'.EEM_Transaction::incomplete_status_code,
56 56
 				'content' => $this->_transaction_status_legend(EEM_Transaction::incomplete_status_code),
57 57
 				'options' => array(
58 58
 					'position' => array(
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
 				)
62 62
 			),
63 63
 			3 => array(
64
-				'content_id' => 'transaction-status-' . EEM_Transaction::failed_status_code,
65
-				'target' => '.txn-status-' . EEM_Transaction::failed_status_code,
64
+				'content_id' => 'transaction-status-'.EEM_Transaction::failed_status_code,
65
+				'target' => '.txn-status-'.EEM_Transaction::failed_status_code,
66 66
 				'content' => $this->_transaction_status_legend(EEM_Transaction::failed_status_code),
67 67
 				'options' => array(
68 68
 					'position' => array(
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 	 * @param  EEM_Transaction constant $status What status is set (by class)
84 84
 	 * @return string         The status legend with the related status highlighted
85 85
 	 */
86
-	private function _transaction_status_legend( $status ) {
86
+	private function _transaction_status_legend($status) {
87 87
 
88 88
 		$status_array = array(
89 89
 			'overpaid' => EEM_Transaction::overpaid_status_code,
@@ -92,6 +92,6 @@  discard block
 block discarded – undo
92 92
 			'failed' => EEM_Transaction::failed_status_code,
93 93
 		);
94 94
 
95
-		return EEH_Template::status_legend( $status_array, $status );
95
+		return EEH_Template::status_legend($status_array, $status);
96 96
 	}
97 97
 }
98 98
\ No newline at end of file
Please login to merge, or discard this patch.
templates/txn_admin_details_main_meta_box_attendees.template.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -5,25 +5,25 @@
 block discarded – undo
5 5
 		<table class="admin-primary-mbox-tbl">
6 6
 			<thead>
7 7
 				<tr>
8
-					<th class="jst-left"><?php _e( '#', 'event_espresso' );?></th>
9
-					<th class="jst-left"><?php _e( 'Event Name and Ticket', 'event_espresso' );?></th>
10
-					<th class="jst-left"><?php _e( 'Registrant', 'event_espresso' );?></th>
11
-					<th class="jst-rght"><?php _e( 'Ticket Price', 'event_espresso' );?></th>
12
-					<th class="jst-left"><?php _e( 'Email', 'event_espresso' );?></th>
13
-					<th class="jst-left"><?php _e( 'Address', 'event_espresso' );?></th>
8
+					<th class="jst-left"><?php _e('#', 'event_espresso'); ?></th>
9
+					<th class="jst-left"><?php _e('Event Name and Ticket', 'event_espresso'); ?></th>
10
+					<th class="jst-left"><?php _e('Registrant', 'event_espresso'); ?></th>
11
+					<th class="jst-rght"><?php _e('Ticket Price', 'event_espresso'); ?></th>
12
+					<th class="jst-left"><?php _e('Email', 'event_espresso'); ?></th>
13
+					<th class="jst-left"><?php _e('Address', 'event_espresso'); ?></th>
14 14
 				</tr>
15 15
 			</thead>
16 16
 			<tbody>
17
-		<?php if ( isset( $event_attendees ) && is_array( $event_attendees )) : ?>
18
-			<?php foreach ( $event_attendees as $registration => $attendee ) : ?>
17
+		<?php if (isset($event_attendees) && is_array($event_attendees)) : ?>
18
+			<?php foreach ($event_attendees as $registration => $attendee) : ?>
19 19
 				<tr>
20
-					<td class="jst-left"><?php echo $attendee['att_num'];?></td>
21
-					<td class="jst-left"><?php echo $attendee['event_ticket_name'];?></td>
20
+					<td class="jst-left"><?php echo $attendee['att_num']; ?></td>
21
+					<td class="jst-left"><?php echo $attendee['event_ticket_name']; ?></td>
22 22
 					<td class="jst-left">
23 23
 						<?php
24
-						$att_link = EE_Admin_Page::add_query_args_and_nonce( array( 'action'=>'view_registration', '_REG_ID'=>$registration), REG_ADMIN_URL );
24
+						$att_link = EE_Admin_Page::add_query_args_and_nonce(array('action'=>'view_registration', '_REG_ID'=>$registration), REG_ADMIN_URL);
25 25
 						?>
26
-						<a href="<?php echo $att_link; ?>" title="<?php _e( 'View details for this registrant', 'event_espresso' );?>">
26
+						<a href="<?php echo $att_link; ?>" title="<?php _e('View details for this registrant', 'event_espresso'); ?>">
27 27
 							<?php echo $attendee['attendee']?>
28 28
 						</a>
29 29
 					</td>
Please login to merge, or discard this patch.
templates/txn_admin_details_main_meta_box_txn_details.template.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,10 +141,13 @@
 block discarded – undo
141 141
 					<th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo $overpaid . sprintf( __( 'Payments Total %s', 'event_espresso' ), '(' . EE_Registry::instance()->CFG->currency->code . ')' );?></span></th>
142 142
 					<th class=" jst-rght"><span id="txn-admin-payment-total"><?php echo EEH_Template::format_currency($payment_total, FALSE, FALSE);?></span></th>
143 143
 				</tr>
144
-		<?php else : ?>
144
+		<?php else {
145
+	: ?>
145 146
 				<tr id="txn-admin-no-payments-tr" class="admin-primary-mbox-total-tr">
146 147
 					<td class=" jst-rght" colspan="11">
147
-						<span class="important-notice"><?php _e( 'No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso' ); ?></span>
148
+						<span class="important-notice"><?php _e( 'No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso' );
149
+}
150
+?></span>
148 151
 					</td>
149 152
 				</tr>
150 153
 				<tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr hidden">
Please login to merge, or discard this patch.
Spacing   +126 added lines, -126 removed lines patch added patch discarded remove patch
@@ -1,48 +1,48 @@  discard block
 block discarded – undo
1 1
 <div id="admin-primary-mbox-dv" class="admin-primary-mbox-dv">
2 2
 
3 3
 	<h4 class="admin-primary-mbox-h4 hdr-has-icon">
4
-		<span class="dashicons dashicons-cart"></span><?php _e( 'Transaction Items', 'event_espresso' );?>
4
+		<span class="dashicons dashicons-cart"></span><?php _e('Transaction Items', 'event_espresso'); ?>
5 5
 	</h4>
6 6
 
7 7
 	<div class="admin-primary-mbox-tbl-wrap">
8 8
 		<table class="admin-primary-mbox-tbl">
9 9
 			<thead>
10 10
 				<tr>
11
-					<th class="jst-left"><?php _e( 'Line Item ID', 'event_espresso' );?></th>
12
-					<th class="jst-left"><?php _e( 'Event Name', 'event_espresso' );?></th>
13
-					<th class="jst-left"><?php _e( 'Ticket Option', 'event_espresso' );?></th>
14
-					<th class="jst-cntr"><?php _e( 'Ticket Price', 'event_espresso' );?></th>
15
-					<th class="jst-cntr"><?php _e( 'Qty', 'event_espresso' );?></th>
16
-					<th class="jst-cntr"><?php _e( 'Line Total', 'event_espresso' );?></th>
11
+					<th class="jst-left"><?php _e('Line Item ID', 'event_espresso'); ?></th>
12
+					<th class="jst-left"><?php _e('Event Name', 'event_espresso'); ?></th>
13
+					<th class="jst-left"><?php _e('Ticket Option', 'event_espresso'); ?></th>
14
+					<th class="jst-cntr"><?php _e('Ticket Price', 'event_espresso'); ?></th>
15
+					<th class="jst-cntr"><?php _e('Qty', 'event_espresso'); ?></th>
16
+					<th class="jst-cntr"><?php _e('Line Total', 'event_espresso'); ?></th>
17 17
 				</tr>
18 18
 			</thead>
19 19
 			<tbody>
20
-		<?php foreach ( $line_items as $item ) : ?>
20
+		<?php foreach ($line_items as $item) : ?>
21 21
 			<?php
22 22
 				$event = $item->get_first_related('Transaction')->get_first_related('Registration')->get_first_related('Event');
23 23
 				$event_name = $event->get('EVT_name');
24 24
 
25 25
 			?>
26 26
 			<tr>
27
-				<td class="jst-left"><?php echo $item->get('LIN_code');?></td>
28
-				<td class="jst-left"><?php echo $event_name;?></td>
29
-				<td class="jst-left"><?php echo $item->get('LIN_name');?></td>
30
-				<td class="jst-rght"><?php echo EEH_Template::format_currency($item->get('LIN_unit_price'), FALSE, FALSE ); ?></td>
31
-				<td class="jst-rght"><?php echo $item->get('LIN_quantity');?></td>
32
-				<td class="jst-rght"><?php echo EEH_Template::format_currency($item->get('LIN_total'), FALSE, FALSE ); ?></td>
27
+				<td class="jst-left"><?php echo $item->get('LIN_code'); ?></td>
28
+				<td class="jst-left"><?php echo $event_name; ?></td>
29
+				<td class="jst-left"><?php echo $item->get('LIN_name'); ?></td>
30
+				<td class="jst-rght"><?php echo EEH_Template::format_currency($item->get('LIN_unit_price'), FALSE, FALSE); ?></td>
31
+				<td class="jst-rght"><?php echo $item->get('LIN_quantity'); ?></td>
32
+				<td class="jst-rght"><?php echo EEH_Template::format_currency($item->get('LIN_total'), FALSE, FALSE); ?></td>
33 33
 			</tr>
34 34
 		<?php endforeach; // $items?>
35
-		<?php if ( is_array($taxes) ) : ?>
36
-			<?php foreach ( $taxes as $tax ) : ?>
35
+		<?php if (is_array($taxes)) : ?>
36
+			<?php foreach ($taxes as $tax) : ?>
37 37
 				<tr class="admin-primary-mbox-taxes-tr">
38
-					<th class=" jst-rght" colspan="5"><?php echo $tax->get('LIN_name');?> (<?php echo $tax->get_pretty('LIN_percent'); ?>%)</th>
39
-					<th class=" jst-rght"><?php echo EEH_Template::format_currency($tax->get('LIN_total'), FALSE, FALSE );?></th>
38
+					<th class=" jst-rght" colspan="5"><?php echo $tax->get('LIN_name'); ?> (<?php echo $tax->get_pretty('LIN_percent'); ?>%)</th>
39
+					<th class=" jst-rght"><?php echo EEH_Template::format_currency($tax->get('LIN_total'), FALSE, FALSE); ?></th>
40 40
 				</tr>
41 41
 			<?php endforeach; // $taxes?>
42 42
 		<?php endif; // $taxes?>
43 43
 				<tr class="admin-primary-mbox-total-tr">
44
-					<th class=" jst-rght" colspan="5"><?php printf( __( 'Transaction Total %s', 'event_espresso' ), '(' . EE_Registry::instance()->CFG->currency->code . ')');?></th>
45
-					<th class=" jst-rght"><?php echo $grand_total;?></th>
44
+					<th class=" jst-rght" colspan="5"><?php printf(__('Transaction Total %s', 'event_espresso'), '('.EE_Registry::instance()->CFG->currency->code.')'); ?></th>
45
+					<th class=" jst-rght"><?php echo $grand_total; ?></th>
46 46
 				</tr>
47 47
 			</tbody>
48 48
 		</table>
@@ -50,27 +50,27 @@  discard block
 block discarded – undo
50 50
 	</div>
51 51
 
52 52
 	<a id="display-additional-transaction-session-info" class="display-the-hidden smaller-text" rel="additional-transaction-session-info">
53
-		<span class="dashicons dashicons-plus-alt"></span><?php _e( 'view additional transaction session details', 'event_espresso' );?>
53
+		<span class="dashicons dashicons-plus-alt"></span><?php _e('view additional transaction session details', 'event_espresso'); ?>
54 54
 	</a>
55 55
 
56 56
 	<div id="additional-transaction-session-info-dv" class="hidden">
57 57
 
58 58
 		<a id="hide-additional-transaction-session-info" class="hide-the-displayed hidden smaller-text" rel="additional-transaction-session-info">
59
-			<span class="dashicons dashicons-dismiss"></span><?php _e( 'hide additional transaction session details', 'event_espresso' );?>
59
+			<span class="dashicons dashicons-dismiss"></span><?php _e('hide additional transaction session details', 'event_espresso'); ?>
60 60
 		</a>
61 61
 	<br class="clear"/>
62 62
 
63
-		<h4 class="admin-primary-mbox-h4"><?php _e( 'Transaction Session Details', 'event_espresso' );?></h4>
63
+		<h4 class="admin-primary-mbox-h4"><?php _e('Transaction Session Details', 'event_espresso'); ?></h4>
64 64
 
65 65
 		<table id="admin-primary-mbox-txn-extra-session-info-tbl" class="form-table skinny-rows">
66 66
 			<tbody>
67
-			<?php foreach ( $txn_details as $key => $txn_detail ) : ?>
67
+			<?php foreach ($txn_details as $key => $txn_detail) : ?>
68 68
 				<tr>
69 69
 					<th>
70
-						<label for="<?php echo $key;?>"><?php echo $txn_detail['label'];?></label>
70
+						<label for="<?php echo $key; ?>"><?php echo $txn_detail['label']; ?></label>
71 71
 					</th>
72 72
 					<td>
73
-						<?php echo $txn_detail['value'];?>
73
+						<?php echo $txn_detail['value']; ?>
74 74
 					</td>
75 75
 				</tr>
76 76
 			<?php endforeach; // $txn_details?>
@@ -80,10 +80,10 @@  discard block
 block discarded – undo
80 80
 	<br class="clear"/>
81 81
 
82 82
 
83
-	<?php if ( $attendee instanceof EE_Attendee && ( $grand_raw_total > 0 || $TXN_status != 'TCM' ) ) : ?>
83
+	<?php if ($attendee instanceof EE_Attendee && ($grand_raw_total > 0 || $TXN_status != 'TCM')) : ?>
84 84
 
85 85
 	<h4 class="admin-primary-mbox-h4 hdr-has-icon">
86
-		<span class="ee-icon ee-icon-cash"></span><?php _e( 'Payment Details', 'event_espresso' );?>
86
+		<span class="ee-icon ee-icon-cash"></span><?php _e('Payment Details', 'event_espresso'); ?>
87 87
 	</h4>
88 88
 
89 89
 	<div class="admin-primary-mbox-tbl-wrap">
@@ -92,74 +92,74 @@  discard block
 block discarded – undo
92 92
 				<tr>
93 93
 					<th></th>
94 94
 					<th class="jst-cntr"></th>
95
-					<th class="jst-cntr"><?php _e( 'ID', 'event_espresso' );?></th>
96
-					<th class="jst-left"><?php _e( 'Date', 'event_espresso' );?></th>
97
-					<th class="jst-cntr"><?php _e( 'Source', 'event_espresso' );?></th>
98
-					<th class="jst-left"><?php _e( 'Method', 'event_espresso' );?></th>
99
-					<th class="jst-left"><?php _e( 'Gateway Response', 'event_espresso' );?></th>
100
-					<th class="jst-left"><?php _e( 'TXN&nbsp;ID / CHQ&nbsp;#', 'event_espresso' );?></th>
101
-					<th class="jst-left"><?php _e( 'P.O. / S.O.&nbsp;#', 'event_espresso' );?></th>
102
-					<th class="jst-left"><?php _e( 'Notes / Extra&nbsp;Accounting', 'event_espresso' );?></th>
103
-					<!--<th class="jst-left"><?php _e( 'Details', 'event_espresso' );?></th>-->
104
-					<th class="jst-cntr"><?php _e( 'Amount', 'event_espresso' );?></th>
95
+					<th class="jst-cntr"><?php _e('ID', 'event_espresso'); ?></th>
96
+					<th class="jst-left"><?php _e('Date', 'event_espresso'); ?></th>
97
+					<th class="jst-cntr"><?php _e('Source', 'event_espresso'); ?></th>
98
+					<th class="jst-left"><?php _e('Method', 'event_espresso'); ?></th>
99
+					<th class="jst-left"><?php _e('Gateway Response', 'event_espresso'); ?></th>
100
+					<th class="jst-left"><?php _e('TXN&nbsp;ID / CHQ&nbsp;#', 'event_espresso'); ?></th>
101
+					<th class="jst-left"><?php _e('P.O. / S.O.&nbsp;#', 'event_espresso'); ?></th>
102
+					<th class="jst-left"><?php _e('Notes / Extra&nbsp;Accounting', 'event_espresso'); ?></th>
103
+					<!--<th class="jst-left"><?php _e('Details', 'event_espresso'); ?></th>-->
104
+					<th class="jst-cntr"><?php _e('Amount', 'event_espresso'); ?></th>
105 105
 				</tr>
106 106
 			</thead>
107 107
 			<tbody>
108
-		<?php if ( $payments ) : ?>
108
+		<?php if ($payments) : ?>
109 109
 			<?php $payment_total = 0; ?>
110
-			<?php foreach ( $payments as $PAY_ID => $payment ) : ?>
111
-				<tr id="txn-admin-payment-tr-<?php echo $PAY_ID;?>">
110
+			<?php foreach ($payments as $PAY_ID => $payment) : ?>
111
+				<tr id="txn-admin-payment-tr-<?php echo $PAY_ID; ?>">
112 112
 					<td>
113 113
 						<span id="payment-status-<?php echo $PAY_ID; ?>" class="ee-status-strip-td ee-status-strip pymt-status-<?php echo $payment->STS_ID(); ?>"></span>
114
-						<div id="payment-STS_ID-<?php echo $PAY_ID;?>" class="hidden"><?php echo $payment->STS_ID();?></div>
114
+						<div id="payment-STS_ID-<?php echo $PAY_ID; ?>" class="hidden"><?php echo $payment->STS_ID(); ?></div>
115 115
 					</td>
116 116
 					<td class=" jst-cntr">
117 117
 						<ul class="txn-overview-actions-ul">
118 118
 							<li>
119
-								<a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e( 'Edit Payment', 'event_espresso' );?>" rel="<?php echo $PAY_ID;?>">
119
+								<a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e('Edit Payment', 'event_espresso'); ?>" rel="<?php echo $PAY_ID; ?>">
120 120
 									<div class="dashicons dashicons-edit" style="margin: 0;"></div>
121 121
 								</a>
122 122
 							</li>
123 123
 							<li>
124
-								<a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e( 'Delete Payment', 'event_espresso' );?>" rel="<?php echo $PAY_ID;?>">
124
+								<a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e('Delete Payment', 'event_espresso'); ?>" rel="<?php echo $PAY_ID; ?>">
125 125
 									<div class="dashicons dashicons-trash" style="margin: 0;"></div>
126 126
 								</a>
127 127
 							</li>
128 128
 						</ul>
129 129
 					</td>
130 130
 					<td class=" jst-rght">
131
-						<div id="payment-id-<?php echo $PAY_ID;?>"><?php echo $PAY_ID;?></div>
131
+						<div id="payment-id-<?php echo $PAY_ID; ?>"><?php echo $PAY_ID; ?></div>
132 132
 					</td>
133 133
 					<td class=" jst-left">
134
-						<div id="payment-date-<?php echo $PAY_ID;?>" class="payment-date-dv"><?php echo $payment->timestamp('Y-m-d', 'h:i a');?></div>
134
+						<div id="payment-date-<?php echo $PAY_ID; ?>" class="payment-date-dv"><?php echo $payment->timestamp('Y-m-d', 'h:i a'); ?></div>
135 135
 					</td>
136 136
 					<td class=" jst-cntr">
137
-						<div id="payment-method-<?php echo $PAY_ID;?>">
138
-							<?php echo $payment->source();?>
137
+						<div id="payment-method-<?php echo $PAY_ID; ?>">
138
+							<?php echo $payment->source(); ?>
139 139
 						</div>
140 140
 					</td>
141 141
 					<td class=" jst-left">
142
-						<div id="payment-gateway-<?php echo $PAY_ID;?>">
143
-							<?php echo $payment->payment_method() ?  $payment->payment_method()->admin_name() : __("Unknown", 'event_espresso');?>
142
+						<div id="payment-gateway-<?php echo $PAY_ID; ?>">
143
+							<?php echo $payment->payment_method() ? $payment->payment_method()->admin_name() : __("Unknown", 'event_espresso'); ?>
144 144
 						</div>
145
-						<div id="payment-gateway-id-<?php echo $PAY_ID;?>" class="hidden"><?php echo $payment->payment_method() ? $payment->payment_method()->ID() : 0;?></div>
145
+						<div id="payment-gateway-id-<?php echo $PAY_ID; ?>" class="hidden"><?php echo $payment->payment_method() ? $payment->payment_method()->ID() : 0; ?></div>
146 146
 					</td>
147 147
 					<td class=" jst-left">
148
-						<div id="payment-response-<?php echo $PAY_ID;?>"><?php echo $payment->gateway_response();?></div>
148
+						<div id="payment-response-<?php echo $PAY_ID; ?>"><?php echo $payment->gateway_response(); ?></div>
149 149
 					</td>
150 150
 					<td class=" jst-left">
151
-						<div id="payment-txn-id-chq-nmbr-<?php echo $PAY_ID;?>"><?php echo $payment->txn_id_chq_nmbr();?></div>
151
+						<div id="payment-txn-id-chq-nmbr-<?php echo $PAY_ID; ?>"><?php echo $payment->txn_id_chq_nmbr(); ?></div>
152 152
 					</td>
153 153
 					<td class=" jst-left">
154
-						<div id="payment-po-nmbr-<?php echo $PAY_ID;?>"><?php echo $payment->po_number();?></div>
154
+						<div id="payment-po-nmbr-<?php echo $PAY_ID; ?>"><?php echo $payment->po_number(); ?></div>
155 155
 					</td>
156 156
 					<td class=" jst-left">
157
-						<div id="payment-accntng-<?php echo $PAY_ID;?>"><?php echo $payment->extra_accntng();?></div>
157
+						<div id="payment-accntng-<?php echo $PAY_ID; ?>"><?php echo $payment->extra_accntng(); ?></div>
158 158
 					</td>
159 159
 					<td class=" jst-rght">
160
-						<?php $payment_class = $payment->amount() > 0 ? 'txn-admin-payment-status-' . $payment->STS_ID() : 'txn-admin-payment-status-PDC'; ?>
161
-						<span class="<?php echo $payment_class;?>">
162
-							<div id="payment-amount-<?php echo $PAY_ID;?>" style="display:inline;"><?php echo EEH_Template::format_currency($payment->amount(), FALSE, FALSE ); ?></div>
160
+						<?php $payment_class = $payment->amount() > 0 ? 'txn-admin-payment-status-'.$payment->STS_ID() : 'txn-admin-payment-status-PDC'; ?>
161
+						<span class="<?php echo $payment_class; ?>">
162
+							<div id="payment-amount-<?php echo $PAY_ID; ?>" style="display:inline;"><?php echo EEH_Template::format_currency($payment->amount(), FALSE, FALSE); ?></div>
163 163
 						</span>
164 164
 					</td>
165 165
 				</tr>
@@ -169,25 +169,25 @@  discard block
 block discarded – undo
169 169
 			<?php endforeach; // $payment?>
170 170
 			<?php
171 171
 				$pay_totals_class = $payment_total > $grand_raw_total ? ' important-notice' : '';
172
-				$overpaid = $payment_total > $grand_raw_total ? '<span id="overpaid">' . __( 'This transaction has been overpaid ! ', 'event_espresso' ) . '</span>' : '';
172
+				$overpaid = $payment_total > $grand_raw_total ? '<span id="overpaid">'.__('This transaction has been overpaid ! ', 'event_espresso').'</span>' : '';
173 173
 			?>
174 174
 				<tr id="txn-admin-no-payments-tr" class="admin-primary-mbox-total-tr hidden">
175 175
 					<td class=" jst-rght" colspan="11">
176
-						<span class="important-notice"><?php _e( 'No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso' ); ?></span>
176
+						<span class="important-notice"><?php _e('No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso'); ?></span>
177 177
 					</td>
178 178
 				</tr>
179
-				<tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr<?php echo $pay_totals_class;?>">
180
-					<th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo $overpaid . sprintf( __( 'Payments Total %s', 'event_espresso' ), '(' . EE_Registry::instance()->CFG->currency->code . ')' );?></span></th>
181
-					<th class=" jst-rght"><span id="txn-admin-payment-total"><?php echo EEH_Template::format_currency($payment_total, FALSE, FALSE);?></span></th>
179
+				<tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr<?php echo $pay_totals_class; ?>">
180
+					<th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo $overpaid.sprintf(__('Payments Total %s', 'event_espresso'), '('.EE_Registry::instance()->CFG->currency->code.')'); ?></span></th>
181
+					<th class=" jst-rght"><span id="txn-admin-payment-total"><?php echo EEH_Template::format_currency($payment_total, FALSE, FALSE); ?></span></th>
182 182
 				</tr>
183 183
 		<?php else : ?>
184 184
 				<tr id="txn-admin-no-payments-tr" class="admin-primary-mbox-total-tr">
185 185
 					<td class=" jst-rght" colspan="11">
186
-						<span class="important-notice"><?php _e( 'No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso' ); ?></span>
186
+						<span class="important-notice"><?php _e('No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso'); ?></span>
187 187
 					</td>
188 188
 				</tr>
189 189
 				<tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr hidden">
190
-					<th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo __( 'Payments Total', 'event_espresso' );?></span></th>
190
+					<th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo __('Payments Total', 'event_espresso'); ?></span></th>
191 191
 					<th class=" jst-rght"><span id="txn-admin-payment-total"></span></th>
192 192
 				</tr>
193 193
 		<?php endif; // $payments?>
@@ -200,12 +200,12 @@  discard block
 block discarded – undo
200 200
 					<td class=" jst-cntr">
201 201
 						<ul class="txn-overview-actions-ul">
202 202
 							<li>
203
-								<a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e( 'Edit Payment', 'event_espresso' );?>" rel="PAY_ID">
203
+								<a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e('Edit Payment', 'event_espresso'); ?>" rel="PAY_ID">
204 204
 									<div class="dashicons dashicons-edit" style="margin: 0;"></div>
205 205
 								</a>
206 206
 							</li>
207 207
 							<li>
208
-								<a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e( 'Delete Payment', 'event_espresso' );?>" rel="PAY_ID">
208
+								<a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e('Delete Payment', 'event_espresso'); ?>" rel="PAY_ID">
209 209
 									<div class="dashicons dashicons-trash" style="margin: 0;"></div>
210 210
 								</a>
211 211
 							</li>
@@ -252,12 +252,12 @@  discard block
 block discarded – undo
252 252
 	<ul id="txn-admin-payment-options-ul">
253 253
 		<li>
254 254
 			<a id="display-txn-admin-apply-payment" class="button-primary no-icon no-hide" rel="txn-admin-apply-payment" > <!--display-the-hidden -->
255
-				<?php _e( 'Apply Payment', 'event_espresso' );?>
255
+				<?php _e('Apply Payment', 'event_espresso'); ?>
256 256
 			</a>
257 257
 		</li>
258 258
 		<li>
259 259
 			<a id="display-txn-admin-apply-refund" class="button-secondary no-icon no-hide" rel="txn-admin-apply-refund" >  <!--display-the-hidden -->
260
-				<?php _e( 'Apply Refund', 'event_espresso' );?>
260
+				<?php _e('Apply Refund', 'event_espresso'); ?>
261 261
 			</a>
262 262
 		</li>
263 263
 	</ul>
@@ -267,14 +267,14 @@  discard block
 block discarded – undo
267 267
 
268 268
 		<h2 id="admin-modal-dialog-apply-payment-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;">
269 269
 			<div class="ee-icon ee-icon-cash-add float-left"></div>
270
-			<?php echo __( 'Apply a Payment to Transaction #', 'event_espresso' ) . $txn_nmbr['value'];?>
270
+			<?php echo __('Apply a Payment to Transaction #', 'event_espresso').$txn_nmbr['value']; ?>
271 271
 		</h2>
272 272
 
273 273
 		<h2 id="admin-modal-dialog-edit-payment-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;">
274 274
 			<div class="ee-icon ee-icon-cash-edit float-left"></div>
275 275
 			<?php
276 276
 			echo sprintf(
277
-				__( 'Edit Payment #%s for Transaction #%s', 'event_espresso' ),
277
+				__('Edit Payment #%s for Transaction #%s', 'event_espresso'),
278 278
 				'<span></span>',
279 279
 				$txn_nmbr['value']
280 280
 			);
@@ -283,14 +283,14 @@  discard block
 block discarded – undo
283 283
 
284 284
 		<h2 id="admin-modal-dialog-apply-refund-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;">
285 285
 			<div class="ee-icon ee-icon-cash-remove float-left"></div>
286
-			<?php echo __( 'Apply a Refund to Transaction #', 'event_espresso' ) . $txn_nmbr['value'];?>
286
+			<?php echo __('Apply a Refund to Transaction #', 'event_espresso').$txn_nmbr['value']; ?>
287 287
 		</h2>
288 288
 
289 289
 		<form name="txn-admin-apply-payment-frm" id="txn-admin-apply-payment-frm" action="<?php echo $apply_payment_form_url; ?>">
290 290
 			<div class="admin-modal-dialog-wrap">
291 291
 				<div class="admin-modal-dialog-inner">
292 292
 
293
-					<input  type="hidden" name="espresso_apply_payment_nonce" id="espresso_apply_payment_nonce" value="<?php echo wp_create_nonce( 'espresso_apply_payment_nonce' );?>"/>
293
+					<input  type="hidden" name="espresso_apply_payment_nonce" id="espresso_apply_payment_nonce" value="<?php echo wp_create_nonce('espresso_apply_payment_nonce'); ?>"/>
294 294
 					<input  type="hidden" name="espresso_ajax" id="espresso-ajax" value="0"/>
295 295
 					<input  type="hidden" name="noheader" id="txn-admin-noheader-inp" value="0"/>
296 296
 					<input  type="hidden" name="txn_admin_payment[PAY_ID]" id="txn-admin-payment-payment-id-inp" class="txn-admin-apply-payment-inp" value="0"/>
@@ -298,98 +298,98 @@  discard block
 block discarded – undo
298 298
 					<input  type="hidden" name="txn_admin_payment[type]" id="txn-admin-payment-type-inp" value="1"/>
299 299
 					<input  type="hidden" name="txn_admin_payment[details]" id="txn-admin-payment-details-inp" value=""/>
300 300
 					<input  type="hidden" name="txn_admin_delete_payment_form_url" id="txn-admin-delete-payment-form-url-inp" value="<?php echo $delete_payment_form_url; ?>"/>
301
-					<input  type="hidden" name="txn_admin_todays_date" id="txn-admin-todays-date-inp" value="<?php echo date( 'Y-m-d h:i a', current_time( 'timestamp' )); ?>"/>
301
+					<input  type="hidden" name="txn_admin_todays_date" id="txn-admin-todays-date-inp" value="<?php echo date('Y-m-d h:i a', current_time('timestamp')); ?>"/>
302 302
 
303 303
 					<div class="txn-admin-apply-payment-date-dv admin-modal-dialog-row">
304
-						<div class="validation-notice-dv"><?php _e( 'The following is  a required field', 'event_espresso' );?></div>
305
-						<label for="txn-admin-payment-date-inp" class=""><?php _e( 'Payment Date', 'event_espresso' );?></label>
306
-						<input name="txn_admin_payment[date]" id="txn-admin-payment-date-inp" class="txn-admin-apply-payment-inp required" type="text" value="<?php echo date( 'Y-m-d h:i a', current_time( 'timestamp' )); ?>"/>
304
+						<div class="validation-notice-dv"><?php _e('The following is  a required field', 'event_espresso'); ?></div>
305
+						<label for="txn-admin-payment-date-inp" class=""><?php _e('Payment Date', 'event_espresso'); ?></label>
306
+						<input name="txn_admin_payment[date]" id="txn-admin-payment-date-inp" class="txn-admin-apply-payment-inp required" type="text" value="<?php echo date('Y-m-d h:i a', current_time('timestamp')); ?>"/>
307 307
 						<br/>
308
-						<p class="description"><?php _e( 'The date the payment was actually made on', 'event_espresso' );?></p>
308
+						<p class="description"><?php _e('The date the payment was actually made on', 'event_espresso'); ?></p>
309 309
 					</div>
310 310
 
311 311
 					<div class="txn-admin-apply-payment-amount-dv admin-modal-dialog-row">
312
-						<div class="validation-notice-dv"><?php _e( 'The following is  a required field', 'event_espresso' );?></div>
313
-						<label for="txn-admin-payment-amount-inp" class=""><?php _e( 'Amount', 'event_espresso' );?></label>
312
+						<div class="validation-notice-dv"><?php _e('The following is  a required field', 'event_espresso'); ?></div>
313
+						<label for="txn-admin-payment-amount-inp" class=""><?php _e('Amount', 'event_espresso'); ?></label>
314 314
 						<input name="txn_admin_payment[amount]" id="txn-admin-payment-amount-inp" class="txn-admin-apply-payment-inp required" type="text" value=""/>
315 315
 						<br/>
316
-						<p class="description"><?php _e( 'The amount of the payment', 'event_espresso' );?></p>
316
+						<p class="description"><?php _e('The amount of the payment', 'event_espresso'); ?></p>
317 317
 					</div>
318 318
 
319 319
 					<div class="txn-admin-apply-payment-method-dv admin-modal-dialog-row">
320
-						<div class="validation-notice-dv"><?php _e( 'The following is  a required field', 'event_espresso' );?></div>
321
-						<label for="txn-admin-payment-method-inp" class=""><?php _e( 'Method of Payment', 'event_espresso' );?></label>
320
+						<div class="validation-notice-dv"><?php _e('The following is  a required field', 'event_espresso'); ?></div>
321
+						<label for="txn-admin-payment-method-inp" class=""><?php _e('Method of Payment', 'event_espresso'); ?></label>
322 322
 						<select name="txn_admin_payment[PMD_ID]" id="txn-admin-payment-method-slct" class="txn-admin-apply-payment-slct required" type="text" >
323
-						<?php foreach ( $payment_methods as $method ) : ?>
323
+						<?php foreach ($payment_methods as $method) : ?>
324 324
 							<?php $selected = $method->slug() == 'cash' ? ' selected="selected"' : ''; ?>
325
-							<option id="payment-method-opt-<?php echo $method->slug(); ?>" value="<?php echo $method->ID(); ?>"<?php echo $selected; ?>><?php echo sanitize_key( $method->admin_desc() ) ? substr( $method->admin_desc(), 0, 128) : $method->admin_name() ; ?>&nbsp;&nbsp;</option>
325
+							<option id="payment-method-opt-<?php echo $method->slug(); ?>" value="<?php echo $method->ID(); ?>"<?php echo $selected; ?>><?php echo sanitize_key($method->admin_desc()) ? substr($method->admin_desc(), 0, 128) : $method->admin_name(); ?>&nbsp;&nbsp;</option>
326 326
 						<?php endforeach; ?>
327 327
 						</select>
328 328
 						<br/>
329
-						<p class="description"><?php _e( 'Whether the payment was made via PayPal, Credit Card, Cheque, or Cash', 'event_espresso' );?></p>
329
+						<p class="description"><?php _e('Whether the payment was made via PayPal, Credit Card, Cheque, or Cash', 'event_espresso'); ?></p>
330 330
 					</div>
331 331
 
332 332
 					<div class="mop-PP mop-CC mop-CHQ mop">
333 333
 						<div class="txn-admin-apply-payment-gw-txn-id-dv admin-modal-dialog-row">
334
-							<label for="txn-admin-payment-txn-id-inp" class=""><?php _e( 'TXN ID / CHQ #', 'event_espresso' );?></label>
334
+							<label for="txn-admin-payment-txn-id-inp" class=""><?php _e('TXN ID / CHQ #', 'event_espresso'); ?></label>
335 335
 							<input name="txn_admin_payment[txn_id_chq_nmbr]" id="txn-admin-payment-txn-id-chq-nmbr-inp" class="txn-admin-apply-payment-inp" type="text"/>
336 336
 							<br/>
337
-							<p class="description"><?php _e( 'The Transaction ID sent back from the payment gateway, or the Cheque #', 'event_espresso' );?></p>
337
+							<p class="description"><?php _e('The Transaction ID sent back from the payment gateway, or the Cheque #', 'event_espresso'); ?></p>
338 338
 						</div>
339 339
 					</div>
340 340
 
341 341
 					<div class="mop-CC mop" style="display:none">
342 342
 						<div class="txn-admin-apply-payment-response-dv admin-modal-dialog-row">
343
-							<label for="txn-admin-payment-gateway-response-inp" class=""><?php _e( 'Gateway Response', 'event_espresso' );?></label>
343
+							<label for="txn-admin-payment-gateway-response-inp" class=""><?php _e('Gateway Response', 'event_espresso'); ?></label>
344 344
 							<input name="txn_admin_payment[gateway_response]" id="txn-admin-payment-gateway-response-inp" class="txn-admin-apply-payment-inp" type="text"/>
345 345
 							<br/>
346
-							<p class="description"><?php _e( 'The gateway response string (optional)', 'event_espresso' );?></p>
346
+							<p class="description"><?php _e('The gateway response string (optional)', 'event_espresso'); ?></p>
347 347
 						</div>
348 348
 					</div>
349 349
 
350 350
 					<div class="mop-PP mop-CC mop">
351 351
 						<div class="txn-admin-apply-payment-status-dv admin-modal-dialog-row">
352
-							<label for="txn-admin-payment-status-inp" class=""><?php _e( 'Payment Status', 'event_espresso' );?></label>
352
+							<label for="txn-admin-payment-status-inp" class=""><?php _e('Payment Status', 'event_espresso'); ?></label>
353 353
 							<select name="txn_admin_payment[status]" id="txn-admin-payment-status-slct" class="txn-admin-apply-payment-slct" type="text" >
354
-							<?php foreach ( $payment_status as $STS_ID => $STS_code ) : ?>
354
+							<?php foreach ($payment_status as $STS_ID => $STS_code) : ?>
355 355
 								<?php $selected = $STS_ID == 'PAP' ? ' selected="selected"' : ''; ?>
356 356
 								<option id="payment-status-opt-<?php echo $STS_ID; ?>" value="<?php echo $STS_ID; ?>"<?php echo $selected; ?>><?php echo $STS_code; ?>&nbsp;&nbsp;</option>
357 357
 							<?php endforeach; ?>
358 358
 							</select>
359 359
 							<br/>
360
-							<p class="description"><?php _e( 'Whether the payment was approved, cancelled, declined or failed after submission to the gateway', 'event_espresso' );?></p>
360
+							<p class="description"><?php _e('Whether the payment was approved, cancelled, declined or failed after submission to the gateway', 'event_espresso'); ?></p>
361 361
 						</div>
362 362
 					</div>
363 363
 
364 364
 					<div class="txn-admin-apply-payment-po-nmbr-dv admin-modal-dialog-row">
365
-						<label for="txn-admin-payment-po-nmbr-inp" class=""><?php _e( 'P.O. / S.O. #', 'event_espresso' );?></label>
365
+						<label for="txn-admin-payment-po-nmbr-inp" class=""><?php _e('P.O. / S.O. #', 'event_espresso'); ?></label>
366 366
 						<input name="txn_admin_payment[po_number]" id="txn-admin-payment-po-nmbr-inp" class="txn-admin-apply-payment-inp" type="text"/>
367 367
 						<br/>
368
-						<p class="description"><?php _e( 'The Purchase or Sales Order Number if any (optional)', 'event_espresso' );?></p>
368
+						<p class="description"><?php _e('The Purchase or Sales Order Number if any (optional)', 'event_espresso'); ?></p>
369 369
 					</div>
370 370
 
371 371
 					<div class="txn-admin-apply-payment-accounting-dv admin-modal-dialog-row">
372
-						<label for="txn-admin-payment-accounting-inp" class="last"><?php _e( 'Notes / Extra Accounting', 'event_espresso' );?></label>
372
+						<label for="txn-admin-payment-accounting-inp" class="last"><?php _e('Notes / Extra Accounting', 'event_espresso'); ?></label>
373 373
 						<input name="txn_admin_payment[accounting]" id="txn-admin-payment-accounting-inp" class="txn-admin-apply-payment-inp" type="text" value="<?php echo $REG_code; ?>"/>		<input type="hidden" id="txn-admin-reg-code-inp" value="<?php echo $REG_code; ?>"/>
374 374
 						<br/>
375
-						<p class="description"><?php _e( 'An extra field you may use for accounting purposes or simple notes. Defaults to the primary registrant\'s registration code.', 'event_espresso' );?></p><br/>
375
+						<p class="description"><?php _e('An extra field you may use for accounting purposes or simple notes. Defaults to the primary registrant\'s registration code.', 'event_espresso'); ?></p><br/>
376 376
 					</div>
377 377
 
378 378
 					<div class="txn-admin-apply-payment-accounting-dv admin-modal-dialog-row">
379
-						<label for="txn-admin-payment-accounting-inp" class="last"><?php _e( 'Change Registration Status?', 'event_espresso' );?></label>
379
+						<label for="txn-admin-payment-accounting-inp" class="last"><?php _e('Change Registration Status?', 'event_espresso'); ?></label>
380 380
 						<?php echo $status_change_select; ?>
381 381
 						<br/>
382 382
 						<br />
383
-						<p class="description"><?php printf( __('If you wish to change the status of all the registrations associated with this transaction after submit, then select which status from this dropdown. %sNote: ALL registrations associated with this transaction will be updated to this new status.%s', 'event_espresso'), '<strong>', '</strong>' ); ?></p><br/>
383
+						<p class="description"><?php printf(__('If you wish to change the status of all the registrations associated with this transaction after submit, then select which status from this dropdown. %sNote: ALL registrations associated with this transaction will be updated to this new status.%s', 'event_espresso'), '<strong>', '</strong>'); ?></p><br/>
384 384
 						<label></label>
385 385
 					</div>
386 386
 
387 387
 					<div class="ee-attention txn-admin-apply-payment-accounting-dv admin-modal-dialog-row">
388
-						<label for="txn-admin-payment-accounting-inp" class="last"><?php _e( 'Send Related Messages?', 'event_espresso' );?></label>
388
+						<label for="txn-admin-payment-accounting-inp" class="last"><?php _e('Send Related Messages?', 'event_espresso'); ?></label>
389 389
 						<input type="checkbox" value="1" name="txn_reg_status_change[send_notifications]">
390 390
 						<br/>
391 391
 						<br />
392
-						<p class="description"><?php printf( __('By default a payment message %sis%s sent to the primary registrant after submitting this form.  However, if you check this box, the system will also send any related messages matching the status of the registrations to each registration for this transaction.', 'event_espresso'), '<strong>', '</strong>' ); ?></p><br/>
392
+						<p class="description"><?php printf(__('By default a payment message %sis%s sent to the primary registrant after submitting this form.  However, if you check this box, the system will also send any related messages matching the status of the registrations to each registration for this transaction.', 'event_espresso'), '<strong>', '</strong>'); ?></p><br/>
393 393
 						<label></label>
394 394
 					</div>
395 395
 					<div class="clear"></div>
@@ -400,22 +400,22 @@  discard block
 block discarded – undo
400 400
 			<ul id="admin-modal-dialog-options-ul">
401 401
 				<li>
402 402
 					<a id="txn-admin-modal-dialog-apply-payment-lnk" class="button-primary no-icon" style="display:none;" >
403
-						<?php _e( 'Apply Payment', 'event_espresso' );?>
403
+						<?php _e('Apply Payment', 'event_espresso'); ?>
404 404
 					</a>
405 405
 				</li>
406 406
 				<li>
407 407
 					<a id="txn-admin-modal-dialog-edit-payment-lnk" class="button-primary no-icon" style="display:none;" >
408
-						<?php _e( 'Save Payment Details', 'event_espresso' );?>
408
+						<?php _e('Save Payment Details', 'event_espresso'); ?>
409 409
 					</a>
410 410
 				</li>
411 411
 				<li>
412 412
 					<a id="txn-admin-modal-dialog-apply-refund-lnk" class="button-primary no-icon" style="display:none;" >
413
-						<?php _e( 'Apply Refund', 'event_espresso' );?>
413
+						<?php _e('Apply Refund', 'event_espresso'); ?>
414 414
 					</a>
415 415
 				</li>
416 416
 				<li>
417 417
 					<a id="txn-admin-modal-dialog-cancel-lnk" class="button-secondary no-icon" >
418
-						<?php _e( 'Cancel', 'event_espresso' );?>
418
+						<?php _e('Cancel', 'event_espresso'); ?>
419 419
 					</a>
420 420
 				</li>
421 421
 				<li>
@@ -432,34 +432,34 @@  discard block
 block discarded – undo
432 432
 
433 433
 		<h2 id="admin-modal-dialog-delete-payment-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;">
434 434
 			<span class="ee-icon ee-icon-cash-add"></span>
435
-			<?php echo __( 'Delete Payment/Refund for Transaction #', 'event_espresso' ) . $txn_nmbr['value'];?>
435
+			<?php echo __('Delete Payment/Refund for Transaction #', 'event_espresso').$txn_nmbr['value']; ?>
436 436
 		</h2>
437 437
 
438 438
 		<form name="txn-admin-delete-payment-frm" id="txn-admin-delete-payment-frm" action="<?php echo $delete_payment_url; ?>">
439 439
 			<div class="admin-modal-dialog-wrap">
440 440
 				<div class="admin-modal-dialog-inner">
441 441
 
442
-					<input  type="hidden" name="espresso_delete_payment_nonce" id="espresso_delete_payment_nonce" value="<?php echo wp_create_nonce( 'espresso_delete_payment_nonce' );?>"/>
442
+					<input  type="hidden" name="espresso_delete_payment_nonce" id="espresso_delete_payment_nonce" value="<?php echo wp_create_nonce('espresso_delete_payment_nonce'); ?>"/>
443 443
 					<input  type="hidden" name="delete_espresso_ajax" id="delete-espresso-ajax" value="0"/>
444 444
 					<input  type="hidden" name="delete_noheader" id="delete-txn-admin-noheader-inp" value="0"/>
445 445
 					<input  type="hidden" name="delete_txn_admin_payment[PAY_ID]" id="delete-txn-admin-payment-payment-id-inp" class="txn-admin-apply-payment-inp" value="0"/>
446 446
 					<input  type="hidden" name="delete_txn_admin_payment[TXN_ID]" id="delete-txn-admin-payment-txn-id-inp" value="<?php echo $txn_nmbr['value']; ?>"/>
447 447
 
448 448
 					<div class="txn-admin-apply-payment-accounting-dv admin-modal-dialog-row">
449
-						<label for="delete-txn-admin-payment-accounting-inp" class="last"><?php _e( 'Change Registration Status?', 'event_espresso' );?></label>
449
+						<label for="delete-txn-admin-payment-accounting-inp" class="last"><?php _e('Change Registration Status?', 'event_espresso'); ?></label>
450 450
 						<?php echo $delete_status_change_select; ?>
451 451
 						<br/>
452 452
 						<br />
453
-						<p class="description"><?php printf( __('If you wish to change the status of all the registrations associated with this transaction after deleting this payment/refund, then select which status from this dropdown. %sNote: ALL registrations associated with this transaction will be updated to this new status.%s', 'event_espresso'), '<strong>', '</strong>' ); ?></p><br/>
453
+						<p class="description"><?php printf(__('If you wish to change the status of all the registrations associated with this transaction after deleting this payment/refund, then select which status from this dropdown. %sNote: ALL registrations associated with this transaction will be updated to this new status.%s', 'event_espresso'), '<strong>', '</strong>'); ?></p><br/>
454 454
 						<label></label>
455 455
 					</div>
456 456
 
457 457
 					<div class="ee-attention txn-admin-apply-payment-accounting-dv admin-modal-dialog-row">
458
-						<label for="delete-txn-admin-payment-accounting-inp" class="last"><?php _e( 'Send Related Messages?', 'event_espresso' );?></label>
458
+						<label for="delete-txn-admin-payment-accounting-inp" class="last"><?php _e('Send Related Messages?', 'event_espresso'); ?></label>
459 459
 						<input type="checkbox" value="1" name="delete_txn_reg_status_change[send_notifications]">
460 460
 						<br/>
461 461
 						<br />
462
-						<p class="description"><?php _e( 'If you check this box, the system will send any related messages matching the status of the registrations to each registration for this transaction.', 'event_espresso' );?></p><br/>
462
+						<p class="description"><?php _e('If you check this box, the system will send any related messages matching the status of the registrations to each registration for this transaction.', 'event_espresso'); ?></p><br/>
463 463
 						<label></label>
464 464
 					</div>
465 465
 					<div class="clear"></div>
@@ -470,12 +470,12 @@  discard block
 block discarded – undo
470 470
 			<ul id="del-admin-modal-dialog-options-ul">
471 471
 				<li>
472 472
 					<a id="txn-admin-modal-dialog-delete-lnk" class="button-primary no-icon" style="display:none;" >
473
-						<?php _e( 'Delete', 'event_espresso' );?>
473
+						<?php _e('Delete', 'event_espresso'); ?>
474 474
 					</a>
475 475
 				</li>
476 476
 				<li>
477 477
 					<a id="del-txn-admin-modal-dialog-cancel-lnk" class="button-secondary no-icon" >
478
-						<?php _e( 'Cancel', 'event_espresso' );?>
478
+						<?php _e('Cancel', 'event_espresso'); ?>
479 479
 					</a>
480 480
 				</li>
481 481
 				<li>
@@ -491,30 +491,30 @@  discard block
 block discarded – undo
491 491
 	<?php endif; // $grand_raw_total > 0?>
492 492
 
493 493
 	<?php
494
-	if ( WP_DEBUG ) {
495
-		$delivered_messages = get_option( 'EED_Messages__payment', array() );
496
-		if ( isset( $delivered_messages[ $TXN_ID ] )) {
494
+	if (WP_DEBUG) {
495
+		$delivered_messages = get_option('EED_Messages__payment', array());
496
+		if (isset($delivered_messages[$TXN_ID])) {
497 497
 			?>
498
-			<h4 class="admin-primary-mbox-h4 hdr-has-icon"><span class="dashicons dashicons-email-alt"></span><?php _e( 'Messages Sent to Primary Registrant', 'event_espresso' );?></h4>
498
+			<h4 class="admin-primary-mbox-h4 hdr-has-icon"><span class="dashicons dashicons-email-alt"></span><?php _e('Messages Sent to Primary Registrant', 'event_espresso'); ?></h4>
499 499
 
500 500
 			<div class="admin-primary-mbox-tbl-wrap">
501 501
 				<table class="admin-primary-mbox-tbl">
502 502
 					<thead>
503 503
 						<tr>
504
-							<th class="jst-left"><?php _e( 'Date & Time', 'event_espresso' );?></th>
505
-							<th class="jst-left"><?php _e( 'Message Type', 'event_espresso' );?></th>
506
-							<th class="jst-left"><?php _e( 'Payment Status Upon Sending', 'event_espresso' );?></th>
507
-							<th class="jst-left"><?php _e( 'TXN Status Upon Sending', 'event_espresso' );?></th>
504
+							<th class="jst-left"><?php _e('Date & Time', 'event_espresso'); ?></th>
505
+							<th class="jst-left"><?php _e('Message Type', 'event_espresso'); ?></th>
506
+							<th class="jst-left"><?php _e('Payment Status Upon Sending', 'event_espresso'); ?></th>
507
+							<th class="jst-left"><?php _e('TXN Status Upon Sending', 'event_espresso'); ?></th>
508 508
 						</tr>
509 509
 					</thead>
510 510
 					<tbody>
511
-						<?php foreach ( $delivered_messages[ $TXN_ID ] as $timestamp => $delivered_message ) :
511
+						<?php foreach ($delivered_messages[$TXN_ID] as $timestamp => $delivered_message) :
512 512
 							?>
513 513
 							<tr>
514
-								<td class="jst-left"><?php echo gmdate( get_option('date_format') . ' ' . get_option('time_format'), ( $timestamp + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ) );?></td>
515
-								<td class="jst-left"><?php echo isset( $delivered_message['message_type'] ) ? $delivered_message['message_type'] : '';?></td>
516
-								<td class="jst-left"><?php echo isset( $delivered_message['pay_status'] ) ? $delivered_message['pay_status'] : '';?></td>
517
-								<td class="jst-left"><?php echo isset( $delivered_message['txn_status'] ) ? $delivered_message['txn_status'] : '';?></td>
514
+								<td class="jst-left"><?php echo gmdate(get_option('date_format').' '.get_option('time_format'), ($timestamp + (get_option('gmt_offset') * HOUR_IN_SECONDS))); ?></td>
515
+								<td class="jst-left"><?php echo isset($delivered_message['message_type']) ? $delivered_message['message_type'] : ''; ?></td>
516
+								<td class="jst-left"><?php echo isset($delivered_message['pay_status']) ? $delivered_message['pay_status'] : ''; ?></td>
517
+								<td class="jst-left"><?php echo isset($delivered_message['txn_status']) ? $delivered_message['txn_status'] : ''; ?></td>
518 518
 							</tr>
519 519
 						<?php endforeach; // $delivered_messages?>
520 520
 					</tbody>
Please login to merge, or discard this patch.
templates/txn_admin_details_side_meta_box_billing_info.template.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,27 +1,27 @@
 block discarded – undo
1 1
 	<div id="admin-side-mbox-billing-info-dv" class="admin-side-mbox-dv">
2
-<?php if ( empty($billing_form) ) : ?>
2
+<?php if (empty($billing_form)) : ?>
3 3
 		<div class="clearfix">
4
-			<?php _e( 'There is no billing info for this transaction.', 'event_espresso' );?><br/>
4
+			<?php _e('There is no billing info for this transaction.', 'event_espresso'); ?><br/>
5 5
 		</div>
6 6
 <?php else :
7
-	function ee_show_billing_info_cleaned( EE_Form_Section_Proper $form_section ) {
8
-		foreach( $form_section->subsections() as $subsection ) {
9
-			if( $subsection instanceof EE_Form_Input_Base ) {
10
-				if( $subsection->get_sensitive_data_removal_strategy() instanceof EE_All_Sensitive_Data_Removal ||
11
-					$subsection->get_sensitive_data_removal_strategy() instanceof EE_CCV_Sensitive_Data_Removal ){
7
+	function ee_show_billing_info_cleaned(EE_Form_Section_Proper $form_section) {
8
+		foreach ($form_section->subsections() as $subsection) {
9
+			if ($subsection instanceof EE_Form_Input_Base) {
10
+				if ($subsection->get_sensitive_data_removal_strategy() instanceof EE_All_Sensitive_Data_Removal ||
11
+					$subsection->get_sensitive_data_removal_strategy() instanceof EE_CCV_Sensitive_Data_Removal) {
12 12
 					continue;
13 13
 				}
14 14
 				?>
15 15
 					<div class="clearfix">
16
-						<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php echo $subsection->get_html_for_label();?></span><?php echo $subsection->pretty_value();?>
16
+						<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php echo $subsection->get_html_for_label(); ?></span><?php echo $subsection->pretty_value(); ?>
17 17
 					</div><?php
18
-			} elseif( $subsection instanceof EE_Form_Section_Proper ) {
19
-				ee_show_billing_info_cleaned( $subsection );
18
+			} elseif ($subsection instanceof EE_Form_Section_Proper) {
19
+				ee_show_billing_info_cleaned($subsection);
20 20
 			}
21 21
 		}
22 22
 	}
23
-	ee_show_billing_info_cleaned( $billing_form ); ?>
24
-		<p class="help"><?php _e( 'Note: Card expiry dates and CCV are not stored. Only the last 4 digits of card numbers are stored.', 'event_espresso' );?></p>
23
+	ee_show_billing_info_cleaned($billing_form); ?>
24
+		<p class="help"><?php _e('Note: Card expiry dates and CCV are not stored. Only the last 4 digits of card numbers are stored.', 'event_espresso'); ?></p>
25 25
 <?php endif; ?>
26 26
 
27 27
 	</div>
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,13 +3,15 @@
 block discarded – undo
3 3
 		<div class="clearfix">
4 4
 			<?php _e( 'There is no billing info for this transaction.', 'event_espresso' );?><br/>
5 5
 		</div>
6
-<?php else :
6
+<?php else {
7
+	:
7 8
 	function ee_show_billing_info_cleaned( EE_Form_Section_Proper $form_section ) {
8 9
 		foreach( $form_section->subsections() as $subsection ) {
9 10
 			if( $subsection instanceof EE_Form_Input_Base ) {
10 11
 				if( $subsection->get_sensitive_data_removal_strategy() instanceof EE_All_Sensitive_Data_Removal ||
11 12
 					$subsection->get_sensitive_data_removal_strategy() instanceof EE_CCV_Sensitive_Data_Removal ){
12 13
 					continue;
14
+}
13 15
 				}
14 16
 				?>
15 17
 					<div class="clearfix">
Please login to merge, or discard this patch.
templates/txn_admin_details_side_meta_box_registrant.template.php 2 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,23 +9,23 @@  discard block
 block discarded – undo
9 9
 /** @type string $edit_attendee_url */
10 10
 ?>
11 11
 <div id="admin-side-mbox-primary-registrant-dv" class="admin-side-mbox-dv">
12
-<?php if ( ! empty( $no_attendee_message ) ) : ?>
12
+<?php if ( ! empty($no_attendee_message)) : ?>
13 13
 	<p class="clearfix">
14 14
 		<?php echo $no_attendee_message; ?>
15 15
 	</p>
16 16
 </div> <!-- end #admin-side-mbox-primary-registrant-dv -->
17 17
 <?php else : ?>
18 18
 	<p class="clearfix">
19
-		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Name', 'event_espresso' );?></span><?php 	echo $prime_reg_fname . ' ' . $prime_reg_lname;?>
19
+		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e('Name', 'event_espresso'); ?></span><?php 	echo $prime_reg_fname.' '.$prime_reg_lname; ?>
20 20
 	</p>
21 21
 	<p class="clearfix">
22
-		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Email', 'event_espresso' );?></span><a href="mailto:<?php echo $prime_reg_email;?>"><?php echo $prime_reg_email;?></a>
22
+		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e('Email', 'event_espresso'); ?></span><a href="mailto:<?php echo $prime_reg_email; ?>"><?php echo $prime_reg_email; ?></a>
23 23
 	</p>
24 24
 	<p class="clearfix">
25
-		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Phone #', 'event_espresso' );?></span><?php echo $prime_reg_phone;?>
25
+		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e('Phone #', 'event_espresso'); ?></span><?php echo $prime_reg_phone; ?>
26 26
 	</p>
27 27
 	<p class="clearfix">
28
-		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Address', 'event_espresso' );?></span>
28
+		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e('Address', 'event_espresso'); ?></span>
29 29
 		<div class="admin-side-mbox-text-dv">
30 30
 			<?php echo $formatted_address; ?>
31 31
 		</div>
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
 
35 35
 
36 36
 <p style="text-align:right;">
37
-	<a class="button button-small" href="<?php echo $edit_attendee_url; ?>" title="<?php esc_attr_e( 'View details for this contact.', 'event_espresso' );?>">
37
+	<a class="button button-small" href="<?php echo $edit_attendee_url; ?>" title="<?php esc_attr_e('View details for this contact.', 'event_espresso'); ?>">
38 38
 		<span class="ee-icon ee-icon-user-edit"></span><?php _e('View / Edit this Contact', 'event_espresso'); ?>
39 39
 	</a>
40 40
 </p>
41
-<?php endif;  //end no attendee check?>
41
+<?php endif; //end no attendee check?>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,9 +14,12 @@
 block discarded – undo
14 14
 		<?php echo $no_attendee_message; ?>
15 15
 	</p>
16 16
 </div> <!-- end #admin-side-mbox-primary-registrant-dv -->
17
-<?php else : ?>
17
+<?php else {
18
+	: ?>
18 19
 	<p class="clearfix">
19
-		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Name', 'event_espresso' );?></span><?php 	echo $prime_reg_fname . ' ' . $prime_reg_lname;?>
20
+		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Name', 'event_espresso' );
21
+}
22
+?></span><?php 	echo $prime_reg_fname . ' ' . $prime_reg_lname;?>
20 23
 	</p>
21 24
 	<p class="clearfix">
22 25
 		<span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Email', 'event_espresso' );?></span><a href="mailto:<?php echo $prime_reg_email;?>"><?php echo $prime_reg_email;?></a>
Please login to merge, or discard this patch.
templates/txn_admin_details_side_meta_box_txn_number.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
 
3 3
 	<table id="admin-primary-mbox-txn-details-tbl" class="form-table">
4 4
 		<tbody>
5
-		<?php foreach ( $txn_details as $key => $txn_detail ) : ?>
5
+		<?php foreach ($txn_details as $key => $txn_detail) : ?>
6 6
 			<tr>
7 7
 				<th>
8
-					<label for="<?php echo $key;?>"><?php echo $txn_detail['label'];?></label>
8
+					<label for="<?php echo $key; ?>"><?php echo $txn_detail['label']; ?></label>
9 9
 				</th>
10 10
 				<td>
11
-					<?php echo $txn_detail['value'];?>
11
+					<?php echo $txn_detail['value']; ?>
12 12
 				</td>
13 13
 			</tr>
14 14
 		<?php endforeach; // $txn_details?>
Please login to merge, or discard this patch.