Completed
Branch FET-8365-add-indexes (a11c78)
by
unknown
557:35 queued 539:49
created
registrations/templates/attendee_registrations_main_meta_box.template.php 1 patch
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -5,42 +5,42 @@
 block discarded – undo
5 5
 		<table class="admin-primary-mbox-tbl">
6 6
 			<thead>
7 7
 				<tr>
8
-					<th class="jst-left"><?php esc_html_e( 'Event Name', 'event_espresso' );?></th>
9
-					<th class="jst-left"><?php esc_html_e( 'REG ID', 'event_espresso' );?></th>
10
-					<th class="jst-left"><?php esc_html_e( 'TXN ID', 'event_espresso' );?></th>
11
-					<th class="jst-left"><?php esc_html_e( 'Reg Code', 'event_espresso' );?></th>
12
-					<th class="jst-rght"><?php esc_html_e( 'Ticket Price', 'event_espresso' );?></th>
8
+					<th class="jst-left"><?php esc_html_e('Event Name', 'event_espresso'); ?></th>
9
+					<th class="jst-left"><?php esc_html_e('REG ID', 'event_espresso'); ?></th>
10
+					<th class="jst-left"><?php esc_html_e('TXN ID', 'event_espresso'); ?></th>
11
+					<th class="jst-left"><?php esc_html_e('Reg Code', 'event_espresso'); ?></th>
12
+					<th class="jst-rght"><?php esc_html_e('Ticket Price', 'event_espresso'); ?></th>
13 13
 				</tr>
14 14
 			</thead>
15 15
 			<tbody>
16
-			<?php foreach( $registrations as $registration ) : ?>
16
+			<?php foreach ($registrations as $registration) : ?>
17 17
 				<tr>
18 18
 					<td class="jst-left">
19 19
 					<?php
20
-						$event_url = add_query_arg( array( 'action' => 'edit', 'post' => $registration->event_ID() ), admin_url( 'admin.php?page=espresso_events' ));
21
-						echo EE_Registry::instance()->CAP->current_user_can( 'ee_edit_event', 'espresso_events_edit', $registration->event_ID() ) ?  '<a href="'. $event_url .'"  title="'. esc_attr__( 'Edit Event', 'event_espresso' ) .'">' . $registration->event_name() . '</a>' : $registration->event_name();
20
+						$event_url = add_query_arg(array('action' => 'edit', 'post' => $registration->event_ID()), admin_url('admin.php?page=espresso_events'));
21
+						echo EE_Registry::instance()->CAP->current_user_can('ee_edit_event', 'espresso_events_edit', $registration->event_ID()) ? '<a href="'.$event_url.'"  title="'.esc_attr__('Edit Event', 'event_espresso').'">'.$registration->event_name().'</a>' : $registration->event_name();
22 22
 					?>
23 23
 					</td>
24 24
 					<td class="jst-left">
25 25
 					<?php
26
-							$reg_url = EE_Admin_Page::add_query_args_and_nonce( array( 'action'=>'view_registration', '_REG_ID'=>$registration->ID() ), REG_ADMIN_URL );
27
-							echo EE_Registry::instance()->CAP->current_user_can( 'ee_read_registration', 'espresso_registrations_view_registration', $registration->ID() ) ? '
28
-							<a href="'.$reg_url.'" title="' . esc_attr__( 'View Registration Details', 'event_espresso' ) . '">' . 
29
-								esc_html__( 'View Registration', 'event_espresso' ) .
26
+							$reg_url = EE_Admin_Page::add_query_args_and_nonce(array('action'=>'view_registration', '_REG_ID'=>$registration->ID()), REG_ADMIN_URL);
27
+							echo EE_Registry::instance()->CAP->current_user_can('ee_read_registration', 'espresso_registrations_view_registration', $registration->ID()) ? '
28
+							<a href="'.$reg_url.'" title="'.esc_attr__('View Registration Details', 'event_espresso').'">'. 
29
+								esc_html__('View Registration', 'event_espresso').
30 30
 							'</a>' : $registration->ID();
31 31
 					?>
32 32
 					</td>
33 33
 					<td class="jst-left">
34 34
 					<?php
35
-						$txn_url = EE_Admin_Page::add_query_args_and_nonce( array( 'action'=>'view_transaction', 'TXN_ID'=>$registration->transaction_ID() ), TXN_ADMIN_URL );
36
-						echo EE_Registry::instance()->CAP->current_user_can( 'ee_read_transaction', 'espresso_transactions_view_transaction' ) ? '
37
-						<a href="'.$txn_url.'" title="' . esc_attr__( 'View Transaction Details', 'event_espresso' ) . '">' .
38
-							sprintf( esc_html__('View Transaction %d', 'event_espresso'), $registration->transaction_ID() ) .
35
+						$txn_url = EE_Admin_Page::add_query_args_and_nonce(array('action'=>'view_transaction', 'TXN_ID'=>$registration->transaction_ID()), TXN_ADMIN_URL);
36
+						echo EE_Registry::instance()->CAP->current_user_can('ee_read_transaction', 'espresso_transactions_view_transaction') ? '
37
+						<a href="'.$txn_url.'" title="'.esc_attr__('View Transaction Details', 'event_espresso').'">'.
38
+							sprintf(esc_html__('View Transaction %d', 'event_espresso'), $registration->transaction_ID()).
39 39
 						'</a>' : $registration->transaction_ID();
40 40
 					?>
41 41
 					</td>
42
-					<td class="jst-left"><?php echo $registration->reg_code();?></td>
43
-					<td class="jst-rght"><?php echo EEH_Template::format_currency( $registration->final_price() );?></td>
42
+					<td class="jst-left"><?php echo $registration->reg_code(); ?></td>
43
+					<td class="jst-rght"><?php echo EEH_Template::format_currency($registration->final_price()); ?></td>
44 44
 				</tr>
45 45
 			<?php endforeach; ?>
46 46
 			</tbody>
Please login to merge, or discard this patch.
new/pricing/templates/event_tickets_datetime_price_option_span.template.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 </section>
4 4
 <?php
5 5
 /**
6
- * template args in use
7
- *
8
- * $PRT_ID
9
- * $PRT_operator
10
- * $PRT_is_percent
11
- */
12 6
\ No newline at end of file
7
+						 * template args in use
8
+						 *
9
+						 * $PRT_ID
10
+						 * $PRT_operator
11
+						 * $PRT_is_percent
12
+						 */
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
templates/event_tickets_datetime_ticket_datetimes_list_item.template.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -5,12 +5,12 @@
 block discarded – undo
5 5
 </li>
6 6
 <?php
7 7
 /**
8
- * template args in use
9
- *
10
- * $dtt_row
11
- * $tkt_row
12
- * $ticket_datetime_checked
13
- * $ticket_datetime_selected
14
- * $DTT_name;
15
- * $tkt_status_class;
16
- */
17 8
\ No newline at end of file
9
+					 * template args in use
10
+					 *
11
+					 * $dtt_row
12
+					 * $tkt_row
13
+					 * $ticket_datetime_checked
14
+					 * $ticket_datetime_selected
15
+					 * $DTT_name;
16
+					 * $tkt_status_class;
17
+					 */
18 18
\ No newline at end of file
Please login to merge, or discard this patch.
messages/templates/template_pack_and_variations_metabox.template.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,18 +1,18 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This template is responsible for the template pack and variations metabox that appears on the Message Templates editor.
4
- *
5
- * @since 4.5.0
6
- *
7
- * Template args are:
8
- *
9
- * @type $template_packs_selector The selector for a template pack.
10
- * @type $variations_selector The selector for the variations on the selected template.
11
- * @type $template_pack_label The label for the template pack selector.
12
- * @type $template_variation_label The label for the template variation selector.
13
- * @type $template_pack_description The description for the template packs for the given messenger.
14
- * @type $template_variation_description The description for the template variations for the given messenger.
15
- */
3
+		 * This template is responsible for the template pack and variations metabox that appears on the Message Templates editor.
4
+		 *
5
+		 * @since 4.5.0
6
+		 *
7
+		 * Template args are:
8
+		 *
9
+		 * @type $template_packs_selector The selector for a template pack.
10
+		 * @type $variations_selector The selector for the variations on the selected template.
11
+		 * @type $template_pack_label The label for the template pack selector.
12
+		 * @type $template_variation_label The label for the template variation selector.
13
+		 * @type $template_pack_description The description for the template packs for the given messenger.
14
+		 * @type $template_variation_description The description for the template variations for the given messenger.
15
+		 */
16 16
 ?>
17 17
 <div id="template-variations-selectors">
18 18
 	<label for="MTP_template_pack"><?php echo $template_pack_label; ?>:</label> <?php echo $template_packs_selector; ?> <span class="spinner"></span>
Please login to merge, or discard this patch.