Completed
Branch FET-8365-add-indexes (4b9253)
by
unknown
527:08 queued 512:28
created
admin_pages/transactions/help_tours/Transaction_Details_Help_Tour.class.php 2 patches
Spacing   +12 added lines, -12 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
 /**
@@ -117,45 +117,45 @@  discard block
 block discarded – undo
117 117
 
118 118
 
119 119
 	protected function _start() {
120
-		$content = '<h3>' . __('View Transaction', 'event_espresso') . '</h3>';
121
-		$content .= '<p>' . __('This tour of the View Transaction page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>';
120
+		$content = '<h3>'.__('View Transaction', 'event_espresso').'</h3>';
121
+		$content .= '<p>'.__('This tour of the View Transaction page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>';
122 122
 		return $content;
123 123
 	}
124 124
 
125 125
 	protected function _txn_date_h2_stop() {
126
-		return '<p>' . __('This is the date that the transaction occurred on.', 'event_espresso') . '</p>';
126
+		return '<p>'.__('This is the date that the transaction occurred on.', 'event_espresso').'</p>';
127 127
 	}
128 128
 
129 129
 	protected function _txn_status_h2_stop() {
130
-		return '<p>' . __('View current status of the transaction. Available statuses are Complete, Failed, Incomplete, and Overpaid.', 'event_espresso') . '</p>';
130
+		return '<p>'.__('View current status of the transaction. Available statuses are Complete, Failed, Incomplete, and Overpaid.', 'event_espresso').'</p>';
131 131
 	}
132 132
 
133 133
 	protected function _txn_amount_due_h2_stop() {
134
-		return '<p>' . __('View the amount due for a transaction (will not appear if the transaction has been paid in full).', 'event_espresso') . '</p>';
134
+		return '<p>'.__('View the amount due for a transaction (will not appear if the transaction has been paid in full).', 'event_espresso').'</p>';
135 135
 	}
136 136
 
137 137
 	protected function _txn_details_metabox_stop() {
138
-		return '<p>' . __('The transaction details area displays various information including Line Item ID, Event Name, Event Date, Ticket Option, Price, Quantity, Line Total, Sales Tax, and the Grand Total. You can also view details about any payments made towards this transaction.', 'event_espresso') . '</p>';
138
+		return '<p>'.__('The transaction details area displays various information including Line Item ID, Event Name, Event Date, Ticket Option, Price, Quantity, Line Total, Sales Tax, and the Grand Total. You can also view details about any payments made towards this transaction.', 'event_espresso').'</p>';
139 139
 	}
140 140
 
141 141
 	protected function _txn_session_info_stop() {
142
-		return '<p>' . __('You can view additional information about the transaction by clicking on the link below. Examples of available information includes IP Address and User Agent.', 'event_espresso') . '</p>';
142
+		return '<p>'.__('You can view additional information about the transaction by clicking on the link below. Examples of available information includes IP Address and User Agent.', 'event_espresso').'</p>';
143 143
 	}
144 144
 
145 145
 	protected function _txn_attendees_metabox_stop() {
146
-		return '<p>' . __('View information about registrants that are linked to this transaction.', 'event_espresso') . '</p>';
146
+		return '<p>'.__('View information about registrants that are linked to this transaction.', 'event_espresso').'</p>';
147 147
 	}
148 148
 
149 149
 	protected function _txn_primary_reg_metabox_stop() {
150
-		return '<p>' . __('View contact details on the primary registrant who is linked to this transaction.', 'event_espresso') . '</p>';
150
+		return '<p>'.__('View contact details on the primary registrant who is linked to this transaction.', 'event_espresso').'</p>';
151 151
 	}
152 152
 
153 153
 	protected function _txn_billing_metabox_stop() {
154
-		return '<p>' . __('View billing information for this transaction.', 'event_espresso') . '</p>';
154
+		return '<p>'.__('View billing information for this transaction.', 'event_espresso').'</p>';
155 155
 	}
156 156
 
157 157
 	protected function _event_name_stop() {
158
-		return '<p>' . __('event name', 'event_espresso') . '</p>';
158
+		return '<p>'.__('event name', 'event_espresso').'</p>';
159 159
 	}
160 160
 
161 161
 }
162 162
\ 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/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.
admin_pages/transactions/templates/txn_admin_details_header.template.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 
2
-		<h3 style="padding:0;margin:-.5em 0 1em;"><?php echo $previous_transaction . '&nbsp;'; echo __( 'Transaction # ', 'event_espresso' ) . $txn_nmbr['value']; echo '&nbsp;' . $next_transaction; ?></h3>
3
-		<h2 id="txn-date-h2" style="padding:0;margin:0 0 1em;"><?php echo $txn_datetime['value'];?></h2>
2
+		<h3 style="padding:0;margin:-.5em 0 1em;"><?php echo $previous_transaction.'&nbsp;'; echo __('Transaction # ', 'event_espresso').$txn_nmbr['value']; echo '&nbsp;'.$next_transaction; ?></h3>
3
+		<h2 id="txn-date-h2" style="padding:0;margin:0 0 1em;"><?php echo $txn_datetime['value']; ?></h2>
4 4
 
5 5
 		<?php echo $send_payment_reminder_button; ?>
6 6
 		<h2 id="txn-status-h2" style="padding:0;margin:0 0 1em;">
7
-			<?php echo __( 'Transaction Status: ', 'event_espresso' );?><span id="txn-status" class="<?php echo $txn_status['class'];?>"><?php echo $txn_status['value'];?></span>
7
+			<?php echo __('Transaction Status: ', 'event_espresso'); ?><span id="txn-status" class="<?php echo $txn_status['class']; ?>"><?php echo $txn_status['value']; ?></span>
8 8
 		</h2>
9 9
 
10 10
 	<?php $attributes = $amount_due ? 'style="padding:0;margin:0 0 1em;"' : 'class="hidden" style="padding:0;margin:0 0 1em;"'; ?>
11 11
 		<h2 id="txn-amount-due-h2" <?php echo $attributes; ?>>
12
-			<?php echo __( 'Total Amount Due: ', 'event_espresso' );?><span id="txn-admin-total-amount-due" class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span>
12
+			<?php echo __('Total Amount Due: ', 'event_espresso'); ?><span id="txn-admin-total-amount-due" class="<?php echo $amount_due_class; ?>"><?php echo $amount_due; ?></span>
13 13
 		</h2>
14 14
 
15 15
 		<h3 id="txn-selected-method-of-payment-h3" style="padding:0;margin:0 0 1em;">
16
-			<?php echo __( 'Last Method of Payment: ', 'event_espresso' );?><?php echo $method_of_payment_name;?>
16
+			<?php echo __('Last Method of Payment: ', 'event_espresso'); ?><?php echo $method_of_payment_name; ?>
17 17
 		</h3>
18 18
 
19 19
 
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   +131 added lines, -131 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->ticket_event();
23 23
 				$event_name = $item->ticket_event_name();
24
-				$event_link = $event instanceof EE_Event ? '<a href="' . EE_Admin_Page::add_query_args_and_nonce( array( 'action' => 'default', 'EVT_ID' => $event->ID() ), TXN_ADMIN_URL ) . '">' . $event_name . '</a>' : $event_name;
24
+				$event_link = $event instanceof EE_Event ? '<a href="'.EE_Admin_Page::add_query_args_and_nonce(array('action' => 'default', 'EVT_ID' => $event->ID()), TXN_ADMIN_URL).'">'.$event_name.'</a>' : $event_name;
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_link;?></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_link; ?></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,75 +92,75 @@  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>
115
-						<div id="reg-payments-<?php echo $PAY_ID;?>" class="hidden"><?php echo json_encode( $existing_reg_payments[ $PAY_ID ] );?></div>
114
+						<div id="payment-STS_ID-<?php echo $PAY_ID; ?>" class="hidden"><?php echo $payment->STS_ID(); ?></div>
115
+						<div id="reg-payments-<?php echo $PAY_ID; ?>" class="hidden"><?php echo json_encode($existing_reg_payments[$PAY_ID]); ?></div>
116 116
 					</td>
117 117
 					<td class=" jst-cntr">
118 118
 						<ul class="txn-overview-actions-ul">
119 119
 							<li>
120
-								<a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e( 'Edit Payment', 'event_espresso' );?>" data-payment-id="<?php echo $PAY_ID;?>">
120
+								<a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e('Edit Payment', 'event_espresso'); ?>" data-payment-id="<?php echo $PAY_ID; ?>">
121 121
 									<div class="dashicons dashicons-edit" style="margin: 0;"></div>
122 122
 								</a>
123 123
 							</li>
124 124
 							<li>
125
-								<a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e( 'Delete Payment', 'event_espresso' );?>" data-payment-id="<?php echo $PAY_ID;?>">
125
+								<a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e('Delete Payment', 'event_espresso'); ?>" data-payment-id="<?php echo $PAY_ID; ?>">
126 126
 									<div class="dashicons dashicons-trash" style="margin: 0;"></div>
127 127
 								</a>
128 128
 							</li>
129 129
 						</ul>
130 130
 					</td>
131 131
 					<td class=" jst-rght">
132
-						<div id="payment-id-<?php echo $PAY_ID;?>"><?php echo $PAY_ID;?></div>
132
+						<div id="payment-id-<?php echo $PAY_ID; ?>"><?php echo $PAY_ID; ?></div>
133 133
 					</td>
134 134
 					<td class=" jst-left">
135
-						<div id="payment-date-<?php echo $PAY_ID;?>" class="payment-date-dv"><?php echo $payment->timestamp('Y-m-d', 'h:i a');?></div>
135
+						<div id="payment-date-<?php echo $PAY_ID; ?>" class="payment-date-dv"><?php echo $payment->timestamp('Y-m-d', 'h:i a'); ?></div>
136 136
 					</td>
137 137
 					<td class=" jst-cntr">
138
-						<div id="payment-method-<?php echo $PAY_ID;?>">
139
-							<?php echo $payment->source();?>
138
+						<div id="payment-method-<?php echo $PAY_ID; ?>">
139
+							<?php echo $payment->source(); ?>
140 140
 						</div>
141 141
 					</td>
142 142
 					<td class=" jst-left">
143
-						<div id="payment-gateway-<?php echo $PAY_ID;?>">
144
-							<?php echo $payment->payment_method() ?  $payment->payment_method()->admin_name() : __("Unknown", 'event_espresso');?>
143
+						<div id="payment-gateway-<?php echo $PAY_ID; ?>">
144
+							<?php echo $payment->payment_method() ? $payment->payment_method()->admin_name() : __("Unknown", 'event_espresso'); ?>
145 145
 						</div>
146
-						<div id="payment-gateway-id-<?php echo $PAY_ID;?>" class="hidden"><?php echo $payment->payment_method() ? $payment->payment_method()->ID() : 0;?></div>
146
+						<div id="payment-gateway-id-<?php echo $PAY_ID; ?>" class="hidden"><?php echo $payment->payment_method() ? $payment->payment_method()->ID() : 0; ?></div>
147 147
 					</td>
148 148
 					<td class=" jst-left">
149
-						<div id="payment-response-<?php echo $PAY_ID;?>"><?php echo $payment->gateway_response();?></div>
149
+						<div id="payment-response-<?php echo $PAY_ID; ?>"><?php echo $payment->gateway_response(); ?></div>
150 150
 					</td>
151 151
 					<td class=" jst-left">
152
-						<div id="payment-txn-id-chq-nmbr-<?php echo $PAY_ID;?>"><?php echo $payment->txn_id_chq_nmbr();?></div>
152
+						<div id="payment-txn-id-chq-nmbr-<?php echo $PAY_ID; ?>"><?php echo $payment->txn_id_chq_nmbr(); ?></div>
153 153
 					</td>
154 154
 					<td class=" jst-left">
155
-						<div id="payment-po-nmbr-<?php echo $PAY_ID;?>"><?php echo $payment->po_number();?></div>
155
+						<div id="payment-po-nmbr-<?php echo $PAY_ID; ?>"><?php echo $payment->po_number(); ?></div>
156 156
 					</td>
157 157
 					<td class=" jst-left">
158
-						<div id="payment-accntng-<?php echo $PAY_ID;?>"><?php echo $payment->extra_accntng();?></div>
158
+						<div id="payment-accntng-<?php echo $PAY_ID; ?>"><?php echo $payment->extra_accntng(); ?></div>
159 159
 					</td>
160 160
 					<td class=" jst-rght">
161
-						<?php $payment_class = $payment->amount() > 0 ? 'txn-admin-payment-status-' . $payment->STS_ID() : 'txn-admin-payment-status-PDC'; ?>
162
-						<span class="<?php echo $payment_class;?>">
163
-							<div id="payment-amount-<?php echo $PAY_ID;?>" style="display:inline;"><?php echo EEH_Template::format_currency($payment->amount(), FALSE, FALSE ); ?></div>
161
+						<?php $payment_class = $payment->amount() > 0 ? 'txn-admin-payment-status-'.$payment->STS_ID() : 'txn-admin-payment-status-PDC'; ?>
162
+						<span class="<?php echo $payment_class; ?>">
163
+							<div id="payment-amount-<?php echo $PAY_ID; ?>" style="display:inline;"><?php echo EEH_Template::format_currency($payment->amount(), FALSE, FALSE); ?></div>
164 164
 						</span>
165 165
 					</td>
166 166
 				</tr>
@@ -170,25 +170,25 @@  discard block
 block discarded – undo
170 170
 			<?php endforeach; // $payment?>
171 171
 			<?php
172 172
 				$pay_totals_class = $payment_total > $grand_raw_total ? ' important-notice' : '';
173
-				$overpaid = $payment_total > $grand_raw_total ? '<span id="overpaid">' . __( 'This transaction has been overpaid ! ', 'event_espresso' ) . '</span>' : '';
173
+				$overpaid = $payment_total > $grand_raw_total ? '<span id="overpaid">'.__('This transaction has been overpaid ! ', 'event_espresso').'</span>' : '';
174 174
 			?>
175 175
 				<tr id="txn-admin-no-payments-tr" class="admin-primary-mbox-total-tr hidden">
176 176
 					<td class=" jst-rght" colspan="11">
177
-						<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
+						<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>
178 178
 					</td>
179 179
 				</tr>
180
-				<tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr<?php echo $pay_totals_class;?>">
181
-					<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>
182
-					<th class=" jst-rght"><span id="txn-admin-payment-total"><?php echo EEH_Template::format_currency($payment_total, FALSE, FALSE);?></span></th>
180
+				<tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr<?php echo $pay_totals_class; ?>">
181
+					<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>
182
+					<th class=" jst-rght"><span id="txn-admin-payment-total"><?php echo EEH_Template::format_currency($payment_total, FALSE, FALSE); ?></span></th>
183 183
 				</tr>
184 184
 		<?php else : ?>
185 185
 				<tr id="txn-admin-no-payments-tr" class="admin-primary-mbox-total-tr">
186 186
 					<td class=" jst-rght" colspan="11">
187
-						<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
+						<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>
188 188
 					</td>
189 189
 				</tr>
190 190
 				<tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr hidden">
191
-					<th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo __( 'Payments Total', 'event_espresso' );?></span></th>
191
+					<th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo __('Payments Total', 'event_espresso'); ?></span></th>
192 192
 					<th class=" jst-rght"><span id="txn-admin-payment-total"></span></th>
193 193
 				</tr>
194 194
 		<?php endif; // $payments?>
@@ -201,12 +201,12 @@  discard block
 block discarded – undo
201 201
 					<td class=" jst-cntr">
202 202
 						<ul class="txn-overview-actions-ul">
203 203
 							<li>
204
-								<a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e( 'Edit Payment', 'event_espresso' );?>" rel="PAY_ID">
204
+								<a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e('Edit Payment', 'event_espresso'); ?>" rel="PAY_ID">
205 205
 									<div class="dashicons dashicons-edit" style="margin: 0;"></div>
206 206
 								</a>
207 207
 							</li>
208 208
 							<li>
209
-								<a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e( 'Delete Payment', 'event_espresso' );?>" rel="PAY_ID">
209
+								<a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e('Delete Payment', 'event_espresso'); ?>" rel="PAY_ID">
210 210
 									<div class="dashicons dashicons-trash" style="margin: 0;"></div>
211 211
 								</a>
212 212
 							</li>
@@ -253,12 +253,12 @@  discard block
 block discarded – undo
253 253
 	<ul id="txn-admin-payment-options-ul">
254 254
 		<li>
255 255
 			<a id="display-txn-admin-apply-payment" class="button-primary no-icon no-hide" rel="txn-admin-apply-payment" > <!--display-the-hidden -->
256
-				<?php _e( 'Apply Payment', 'event_espresso' );?>
256
+				<?php _e('Apply Payment', 'event_espresso'); ?>
257 257
 			</a>
258 258
 		</li>
259 259
 		<li>
260 260
 			<a id="display-txn-admin-apply-refund" class="button-secondary no-icon no-hide" rel="txn-admin-apply-refund" >  <!--display-the-hidden -->
261
-				<?php _e( 'Apply Refund', 'event_espresso' );?>
261
+				<?php _e('Apply Refund', 'event_espresso'); ?>
262 262
 			</a>
263 263
 		</li>
264 264
 	</ul>
@@ -268,14 +268,14 @@  discard block
 block discarded – undo
268 268
 
269 269
 		<h2 id="admin-modal-dialog-apply-payment-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;">
270 270
 			<div class="ee-icon ee-icon-cash-add float-left"></div>
271
-			<?php echo __( 'Apply a Payment to Transaction #', 'event_espresso' ) . $txn_nmbr['value'];?>
271
+			<?php echo __('Apply a Payment to Transaction #', 'event_espresso').$txn_nmbr['value']; ?>
272 272
 		</h2>
273 273
 
274 274
 		<h2 id="admin-modal-dialog-edit-payment-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;">
275 275
 			<div class="ee-icon ee-icon-cash-edit float-left"></div>
276 276
 			<?php
277 277
 			echo sprintf(
278
-				__( 'Edit Payment #%s for Transaction #%s', 'event_espresso' ),
278
+				__('Edit Payment #%s for Transaction #%s', 'event_espresso'),
279 279
 				'<span></span>',
280 280
 				$txn_nmbr['value']
281 281
 			);
@@ -284,14 +284,14 @@  discard block
 block discarded – undo
284 284
 
285 285
 		<h2 id="admin-modal-dialog-apply-refund-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;">
286 286
 			<div class="ee-icon ee-icon-cash-remove float-left"></div>
287
-			<?php echo __( 'Apply a Refund to Transaction #', 'event_espresso' ) . $txn_nmbr['value'];?>
287
+			<?php echo __('Apply a Refund to Transaction #', 'event_espresso').$txn_nmbr['value']; ?>
288 288
 		</h2>
289 289
 
290 290
 		<form name="txn-admin-apply-payment-frm" id="txn-admin-apply-payment-frm" action="<?php echo $apply_payment_form_url; ?>">
291 291
 			<div class="admin-modal-dialog-wrap">
292 292
 				<div class="admin-modal-dialog-inner">
293 293
 
294
-					<input  type="hidden" name="espresso_apply_payment_nonce" id="espresso_apply_payment_nonce" value="<?php echo wp_create_nonce( 'espresso_apply_payment_nonce' );?>"/>
294
+					<input  type="hidden" name="espresso_apply_payment_nonce" id="espresso_apply_payment_nonce" value="<?php echo wp_create_nonce('espresso_apply_payment_nonce'); ?>"/>
295 295
 					<input  type="hidden" name="espresso_ajax" id="espresso-ajax" value="0"/>
296 296
 					<input  type="hidden" name="noheader" id="txn-admin-noheader-inp" value="0"/>
297 297
 					<input  type="hidden" name="txn_admin_payment[PAY_ID]" id="txn-admin-payment-payment-id-inp" class="txn-admin-apply-payment-inp" value="0"/>
@@ -299,99 +299,99 @@  discard block
 block discarded – undo
299 299
 					<input  type="hidden" name="txn_admin_payment[type]" id="txn-admin-payment-type-inp" value="1"/>
300 300
 					<input  type="hidden" name="txn_admin_payment[details]" id="txn-admin-payment-details-inp" value=""/>
301 301
 					<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; ?>"/>
302
-					<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
+					<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')); ?>"/>
303 303
 
304 304
 					<div class="txn-admin-apply-payment-date-dv admin-modal-dialog-row">
305
-						<div class="validation-notice-dv"><?php _e( 'The following is  a required field', 'event_espresso' );?></div>
306
-						<label for="txn-admin-payment-date-inp" class=""><?php _e( 'Payment Date', 'event_espresso' );?></label>
307
-						<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' )); ?>"/>
308
-						<p class="description"><?php _e( 'The date the payment was actually made on', 'event_espresso' );?></p>
305
+						<div class="validation-notice-dv"><?php _e('The following is  a required field', 'event_espresso'); ?></div>
306
+						<label for="txn-admin-payment-date-inp" class=""><?php _e('Payment Date', 'event_espresso'); ?></label>
307
+						<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')); ?>"/>
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
-						<p class="description"><?php _e( 'The amount of the payment', 'event_espresso' );?></p>
315
+						<p class="description"><?php _e('The amount of the payment', 'event_espresso'); ?></p>
316 316
 					</div>
317 317
 
318 318
 					<div class="txn-admin-apply-payment-method-dv admin-modal-dialog-row">
319
-						<div class="validation-notice-dv"><?php _e( 'The following is  a required field', 'event_espresso' );?></div>
320
-						<label for="txn-admin-payment-method-inp" class=""><?php _e( 'Method of Payment', 'event_espresso' );?></label>
319
+						<div class="validation-notice-dv"><?php _e('The following is  a required field', 'event_espresso'); ?></div>
320
+						<label for="txn-admin-payment-method-inp" class=""><?php _e('Method of Payment', 'event_espresso'); ?></label>
321 321
 						<select name="txn_admin_payment[PMD_ID]" id="txn-admin-payment-method-slct" class="txn-admin-apply-payment-slct required" type="text" >
322
-						<?php foreach ( $payment_methods as $method ) : ?>
322
+						<?php foreach ($payment_methods as $method) : ?>
323 323
 							<?php $selected = $method->slug() == 'cash' ? ' selected="selected"' : ''; ?>
324
-							<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>
324
+							<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 325
 						<?php endforeach; ?>
326 326
 						</select>
327
-						<p class="description"><?php _e( 'Whether the payment was made via PayPal, Credit Card, Cheque, or Cash', 'event_espresso' );?></p>
327
+						<p class="description"><?php _e('Whether the payment was made via PayPal, Credit Card, Cheque, or Cash', 'event_espresso'); ?></p>
328 328
 					</div>
329 329
 
330 330
 					<div class="mop-PP mop-CC mop-CHQ mop">
331 331
 						<div class="txn-admin-apply-payment-gw-txn-id-dv admin-modal-dialog-row">
332
-							<label for="txn-admin-payment-txn-id-inp" class=""><?php _e( 'TXN ID / CHQ #', 'event_espresso' );?></label>
332
+							<label for="txn-admin-payment-txn-id-inp" class=""><?php _e('TXN ID / CHQ #', 'event_espresso'); ?></label>
333 333
 							<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"/>
334
-							<p class="description"><?php _e( 'The Transaction ID sent back from the payment gateway, or the Cheque #', 'event_espresso' );?></p>
334
+							<p class="description"><?php _e('The Transaction ID sent back from the payment gateway, or the Cheque #', 'event_espresso'); ?></p>
335 335
 						</div>
336 336
 					</div>
337 337
 
338 338
 					<div class="mop-CC mop" style="display:none">
339 339
 						<div class="txn-admin-apply-payment-response-dv admin-modal-dialog-row">
340
-							<label for="txn-admin-payment-gateway-response-inp" class=""><?php _e( 'Gateway Response', 'event_espresso' );?></label>
340
+							<label for="txn-admin-payment-gateway-response-inp" class=""><?php _e('Gateway Response', 'event_espresso'); ?></label>
341 341
 							<input name="txn_admin_payment[gateway_response]" id="txn-admin-payment-gateway-response-inp" class="txn-admin-apply-payment-inp" type="text"/>
342
-							<p class="description"><?php _e( 'The gateway response string (optional)', 'event_espresso' );?></p>
342
+							<p class="description"><?php _e('The gateway response string (optional)', 'event_espresso'); ?></p>
343 343
 						</div>
344 344
 					</div>
345 345
 
346 346
 					<div class="mop-PP mop-CC mop">
347 347
 						<div class="txn-admin-apply-payment-status-dv admin-modal-dialog-row">
348
-							<label for="txn-admin-payment-status-inp" class=""><?php _e( 'Payment Status', 'event_espresso' );?></label>
348
+							<label for="txn-admin-payment-status-inp" class=""><?php _e('Payment Status', 'event_espresso'); ?></label>
349 349
 							<select name="txn_admin_payment[status]" id="txn-admin-payment-status-slct" class="txn-admin-apply-payment-slct" type="text" >
350
-							<?php foreach ( $payment_status as $STS_ID => $STS_code ) : ?>
350
+							<?php foreach ($payment_status as $STS_ID => $STS_code) : ?>
351 351
 								<?php $selected = $STS_ID == 'PAP' ? ' selected="selected"' : ''; ?>
352 352
 								<option id="payment-status-opt-<?php echo $STS_ID; ?>" value="<?php echo $STS_ID; ?>"<?php echo $selected; ?>><?php echo $STS_code; ?>&nbsp;&nbsp;</option>
353 353
 							<?php endforeach; ?>
354 354
 							</select>
355
-							<p class="description"><?php _e( 'Whether the payment was approved, cancelled, declined or failed after submission to the gateway', 'event_espresso' );?></p>
355
+							<p class="description"><?php _e('Whether the payment was approved, cancelled, declined or failed after submission to the gateway', 'event_espresso'); ?></p>
356 356
 						</div>
357 357
 					</div>
358 358
 
359 359
 					<div class="txn-admin-apply-payment-po-nmbr-dv admin-modal-dialog-row">
360
-						<label for="txn-admin-payment-po-nmbr-inp" class=""><?php _e( 'P.O. / S.O. #', 'event_espresso' );?></label>
360
+						<label for="txn-admin-payment-po-nmbr-inp" class=""><?php _e('P.O. / S.O. #', 'event_espresso'); ?></label>
361 361
 						<input name="txn_admin_payment[po_number]" id="txn-admin-payment-po-nmbr-inp" class="txn-admin-apply-payment-inp" type="text"/>
362
-						<p class="description"><?php _e( 'The Purchase or Sales Order Number if any (optional)', 'event_espresso' );?></p>
362
+						<p class="description"><?php _e('The Purchase or Sales Order Number if any (optional)', 'event_espresso'); ?></p>
363 363
 					</div>
364 364
 
365 365
 					<div class="txn-admin-apply-payment-accounting-dv admin-modal-dialog-row">
366
-						<label for="txn-admin-payment-accounting-inp" class="last"><?php _e( 'Notes / Extra Accounting', 'event_espresso' );?></label>
366
+						<label for="txn-admin-payment-accounting-inp" class="last"><?php _e('Notes / Extra Accounting', 'event_espresso'); ?></label>
367 367
 						<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; ?>"/>
368
-						<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>
368
+						<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>
369 369
 					</div>
370 370
 
371 371
 					<div class="txn-admin-apply-payment-registrations-dv admin-modal-dialog-row">
372
-						<label for="txn-admin-payment-registrations-inp" class="last"><?php _e( 'Registrations to Apply Payment to:', 'event_espresso' ); ?></label>
372
+						<label for="txn-admin-payment-registrations-inp" class="last"><?php _e('Registrations to Apply Payment to:', 'event_espresso'); ?></label>
373 373
 						<label class="txn-admin-apply-payment-to-registrations-lbl">
374 374
 							<input type="radio" value="1" id="txn-admin-apply-payment-to-all-registrations-inp" name="txn_admin_payment[apply_to_all_registrations]"  checked="checked"/>
375
-							<?php _e( 'ALL Registrations', 'event_espresso' ); ?>
375
+							<?php _e('ALL Registrations', 'event_espresso'); ?>
376 376
 						</label>
377 377
 						<label class="txn-admin-apply-payment-to-registrations-lbl">
378 378
 							<input type="radio" value="0" id="txn-admin-apply-payment-to-some-registrations-inp" name="txn_admin_payment[apply_to_all_registrations]" />
379
-							<?php _e( 'Just the following Registrations', 'event_espresso' ); ?>
379
+							<?php _e('Just the following Registrations', 'event_espresso'); ?>
380 380
 						</label>
381 381
 						<?php echo $registrations_to_apply_payment_to; ?>
382 382
 					</div>
383 383
 
384 384
 					<div class="txn-admin-payment-reg-status-dv admin-modal-dialog-row">
385
-						<label for="txn-admin-payment-reg-status-inp" class="last"><?php _e( 'Change Registration Status?', 'event_espresso' );?></label>
385
+						<label for="txn-admin-payment-reg-status-inp" class="last"><?php _e('Change Registration Status?', 'event_espresso'); ?></label>
386 386
 						<?php echo $status_change_select; ?>
387
-						<p class="description"><?php _e( 'If you wish to change the status for the registrations selected above, then select which status from this dropdown.', 'event_espresso' ); ?></p>
387
+						<p class="description"><?php _e('If you wish to change the status for the registrations selected above, then select which status from this dropdown.', 'event_espresso'); ?></p>
388 388
 						<br/>
389 389
 					</div>
390 390
 
391 391
 					<div class="txn-admin-apply-payment-send-notifications-dv admin-modal-dialog-row">
392
-						<label for="txn-admin-payment-send-notifications-inp" class="last"><?php _e( 'Send Related Messages?', 'event_espresso' );?></label>
392
+						<label for="txn-admin-payment-send-notifications-inp" class="last"><?php _e('Send Related Messages?', 'event_espresso'); ?></label>
393 393
 						<input type="checkbox" value="1" name="txn_reg_status_change[send_notifications]">
394
-						<p class="description"><?php printf( __('By default %1$sa payment message is sent to the primary registrant%2$s after submitting this form.%3$sHowever, if you check this box, the system will also send any related messages matching the status of the registrations to %1$search registration for this transaction%2$s.', 'event_espresso'), '<strong>', '</strong>', '<br />' ); ?></p>
394
+						<p class="description"><?php printf(__('By default %1$sa payment message is sent to the primary registrant%2$s after submitting this form.%3$sHowever, if you check this box, the system will also send any related messages matching the status of the registrations to %1$search registration for this transaction%2$s.', 'event_espresso'), '<strong>', '</strong>', '<br />'); ?></p>
395 395
 						<label></label>
396 396
 					</div>
397 397
 					<div class="clear"></div>
@@ -402,22 +402,22 @@  discard block
 block discarded – undo
402 402
 			<ul id="admin-modal-dialog-options-ul">
403 403
 				<li>
404 404
 					<a id="txn-admin-modal-dialog-apply-payment-lnk" class="button-primary no-icon" style="display:none;" >
405
-						<?php _e( 'Apply Payment', 'event_espresso' );?>
405
+						<?php _e('Apply Payment', 'event_espresso'); ?>
406 406
 					</a>
407 407
 				</li>
408 408
 				<li>
409 409
 					<a id="txn-admin-modal-dialog-edit-payment-lnk" class="button-primary no-icon" style="display:none;" >
410
-						<?php _e( 'Save Payment Details', 'event_espresso' );?>
410
+						<?php _e('Save Payment Details', 'event_espresso'); ?>
411 411
 					</a>
412 412
 				</li>
413 413
 				<li>
414 414
 					<a id="txn-admin-modal-dialog-apply-refund-lnk" class="button-primary no-icon" style="display:none;" >
415
-						<?php _e( 'Apply Refund', 'event_espresso' );?>
415
+						<?php _e('Apply Refund', 'event_espresso'); ?>
416 416
 					</a>
417 417
 				</li>
418 418
 				<li>
419 419
 					<a id="txn-admin-modal-dialog-cancel-lnk" class="button-secondary no-icon" >
420
-						<?php _e( 'Cancel', 'event_espresso' );?>
420
+						<?php _e('Cancel', 'event_espresso'); ?>
421 421
 					</a>
422 422
 				</li>
423 423
 				<li>
@@ -434,29 +434,29 @@  discard block
 block discarded – undo
434 434
 
435 435
 		<h2 id="admin-modal-dialog-delete-payment-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;">
436 436
 			<span class="ee-icon ee-icon-cash-add"></span>
437
-			<?php echo __( 'Delete Payment/Refund for Transaction #', 'event_espresso' ) . $txn_nmbr['value'];?>
437
+			<?php echo __('Delete Payment/Refund for Transaction #', 'event_espresso').$txn_nmbr['value']; ?>
438 438
 		</h2>
439 439
 
440 440
 		<form name="txn-admin-delete-payment-frm" id="txn-admin-delete-payment-frm" action="<?php echo $delete_payment_url; ?>">
441 441
 			<div class="admin-modal-dialog-wrap">
442 442
 				<div class="admin-modal-dialog-inner">
443 443
 
444
-					<input  type="hidden" name="espresso_delete_payment_nonce" id="espresso_delete_payment_nonce" value="<?php echo wp_create_nonce( 'espresso_delete_payment_nonce' );?>"/>
444
+					<input  type="hidden" name="espresso_delete_payment_nonce" id="espresso_delete_payment_nonce" value="<?php echo wp_create_nonce('espresso_delete_payment_nonce'); ?>"/>
445 445
 					<input  type="hidden" name="delete_espresso_ajax" id="delete-espresso-ajax" value="0"/>
446 446
 					<input  type="hidden" name="delete_noheader" id="delete-txn-admin-noheader-inp" value="0"/>
447 447
 					<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"/>
448 448
 					<input  type="hidden" name="delete_txn_admin_payment[TXN_ID]" id="delete-txn-admin-payment-txn-id-inp" value="<?php echo $txn_nmbr['value']; ?>"/>
449 449
 
450 450
 					<div class="txn-admin-apply-payment-accounting-dv admin-modal-dialog-row">
451
-						<label for="delete-txn-admin-payment-reg-status-inp" class="last"><?php _e( 'Change Registration Status?', 'event_espresso' );?></label>
451
+						<label for="delete-txn-admin-payment-reg-status-inp" class="last"><?php _e('Change Registration Status?', 'event_espresso'); ?></label>
452 452
 						<?php echo $delete_status_change_select; ?>
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>
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>
454 454
 					</div>
455 455
 
456 456
 					<div class="ee-attention txn-admin-apply-payment-accounting-dv admin-modal-dialog-row">
457
-						<label for="delete-txn-admin-payment-accounting-inp" class="last"><?php _e( 'Send Related Messages?', 'event_espresso' );?></label>
457
+						<label for="delete-txn-admin-payment-accounting-inp" class="last"><?php _e('Send Related Messages?', 'event_espresso'); ?></label>
458 458
 						<input type="checkbox" value="1" name="delete_txn_reg_status_change[send_notifications]">
459
-						<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>
459
+						<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>
460 460
 					</div>
461 461
 					<div class="clear"></div>
462 462
 
@@ -466,12 +466,12 @@  discard block
 block discarded – undo
466 466
 			<ul id="del-admin-modal-dialog-options-ul">
467 467
 				<li>
468 468
 					<a id="txn-admin-modal-dialog-delete-lnk" class="button-primary no-icon" style="display:none;" >
469
-						<?php _e( 'Delete', 'event_espresso' );?>
469
+						<?php _e('Delete', 'event_espresso'); ?>
470 470
 					</a>
471 471
 				</li>
472 472
 				<li>
473 473
 					<a id="del-txn-admin-modal-dialog-cancel-lnk" class="button-secondary no-icon" >
474
-						<?php _e( 'Cancel', 'event_espresso' );?>
474
+						<?php _e('Cancel', 'event_espresso'); ?>
475 475
 					</a>
476 476
 				</li>
477 477
 				<li>
@@ -487,30 +487,30 @@  discard block
 block discarded – undo
487 487
 	<?php endif; // $grand_raw_total > 0?>
488 488
 
489 489
 	<?php
490
-	if ( WP_DEBUG ) {
491
-		$delivered_messages = get_option( 'EED_Messages__payment', array() );
492
-		if ( isset( $delivered_messages[ $TXN_ID ] )) {
490
+	if (WP_DEBUG) {
491
+		$delivered_messages = get_option('EED_Messages__payment', array());
492
+		if (isset($delivered_messages[$TXN_ID])) {
493 493
 			?>
494
-			<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>
494
+			<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>
495 495
 
496 496
 			<div class="admin-primary-mbox-tbl-wrap">
497 497
 				<table class="admin-primary-mbox-tbl">
498 498
 					<thead>
499 499
 						<tr>
500
-							<th class="jst-left"><?php _e( 'Date & Time', 'event_espresso' );?></th>
501
-							<th class="jst-left"><?php _e( 'Message Type', 'event_espresso' );?></th>
502
-							<th class="jst-left"><?php _e( 'Payment Status Upon Sending', 'event_espresso' );?></th>
503
-							<th class="jst-left"><?php _e( 'TXN Status Upon Sending', 'event_espresso' );?></th>
500
+							<th class="jst-left"><?php _e('Date & Time', 'event_espresso'); ?></th>
501
+							<th class="jst-left"><?php _e('Message Type', 'event_espresso'); ?></th>
502
+							<th class="jst-left"><?php _e('Payment Status Upon Sending', 'event_espresso'); ?></th>
503
+							<th class="jst-left"><?php _e('TXN Status Upon Sending', 'event_espresso'); ?></th>
504 504
 						</tr>
505 505
 					</thead>
506 506
 					<tbody>
507
-						<?php foreach ( $delivered_messages[ $TXN_ID ] as $timestamp => $delivered_message ) :
507
+						<?php foreach ($delivered_messages[$TXN_ID] as $timestamp => $delivered_message) :
508 508
 							?>
509 509
 							<tr>
510
-								<td class="jst-left"><?php echo gmdate( get_option('date_format') . ' ' . get_option('time_format'), ( $timestamp + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ) );?></td>
511
-								<td class="jst-left"><?php echo isset( $delivered_message['message_type'] ) ? $delivered_message['message_type'] : '';?></td>
512
-								<td class="jst-left"><?php echo isset( $delivered_message['pay_status'] ) ? $delivered_message['pay_status'] : '';?></td>
513
-								<td class="jst-left"><?php echo isset( $delivered_message['txn_status'] ) ? $delivered_message['txn_status'] : '';?></td>
510
+								<td class="jst-left"><?php echo gmdate(get_option('date_format').' '.get_option('time_format'), ($timestamp + (get_option('gmt_offset') * HOUR_IN_SECONDS))); ?></td>
511
+								<td class="jst-left"><?php echo isset($delivered_message['message_type']) ? $delivered_message['message_type'] : ''; ?></td>
512
+								<td class="jst-left"><?php echo isset($delivered_message['pay_status']) ? $delivered_message['pay_status'] : ''; ?></td>
513
+								<td class="jst-left"><?php echo isset($delivered_message['txn_status']) ? $delivered_message['txn_status'] : ''; ?></td>
514 514
 							</tr>
515 515
 						<?php endforeach; // $delivered_messages?>
516 516
 					</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.