Completed
Branch FET/reg-form-builder/main (b41a02)
by
unknown
04:58 queued 02:30
created
registrations/templates/reg_admin_register_new_attendee.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <h1><span class="small-text not-bold">
2 2
         <?php _e(
3
-            'Adding Registration For: ',
4
-            'event_espresso'
5
-        ); ?></span><?php echo $event_name; ?></h1>
3
+			'Adding Registration For: ',
4
+			'event_espresso'
5
+		); ?></span><?php echo $event_name; ?></h1>
6 6
 <?php echo $step_content;
Please login to merge, or discard this patch.
admin_pages/registrations/templates/reg_admin_details_header.template.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,23 +1,23 @@
 block discarded – undo
1 1
 <div style="float:right">
2 2
     <?php printf(
3
-        __('View %1$sRegistrations%4$s /  %2$sTransactions%4$s for this %3$sevent%4$s.', 'event_espresso'),
4
-        '<a href="' . $filtered_registrations_link . '">',
5
-        '<a href="' . $filtered_transactions_link . '">',
6
-        '<a href="' . $event_link . '">',
7
-        '</a>'
8
-    ); ?>
3
+		__('View %1$sRegistrations%4$s /  %2$sTransactions%4$s for this %3$sevent%4$s.', 'event_espresso'),
4
+		'<a href="' . $filtered_registrations_link . '">',
5
+		'<a href="' . $filtered_transactions_link . '">',
6
+		'<a href="' . $event_link . '">',
7
+		'</a>'
8
+	); ?>
9 9
 </div>
10 10
 <h3 id="reg-admin-reg-details-reg-nmbr-hdr"><?php echo $previous_registration . '&nbsp;';
11
-    echo __('Registration # ', 'event_espresso') . $reg_nmbr['value'];
12
-    echo '&nbsp;' . $next_registration; ?></h3>
11
+	echo __('Registration # ', 'event_espresso') . $reg_nmbr['value'];
12
+	echo '&nbsp;' . $next_registration; ?></h3>
13 13
 <h2 id="reg-admin-reg-details-reg-date-hdr"><?php echo $reg_datetime['value']; ?></h2>
14 14
 
15 15
 <?php if ($registration->group_size() > 1) : ?>
16 16
     <a id="scroll-to-other-attendees" class="scroll-to" href="#other-attendees">
17 17
         <?php echo __(
18
-            'Scroll to Other Registrations in the Same Transaction',
19
-            'event_espresso'
20
-        ); ?></a>
18
+			'Scroll to Other Registrations in the Same Transaction',
19
+			'event_espresso'
20
+		); ?></a>
21 21
 <?php endif; ?>
22 22
 
23 23
 <?php do_action('AHEE__reg_status_change_buttons__after_header', $REG_ID); ?>
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <div style="float:right">
2 2
     <?php printf(
3 3
         __('View %1$sRegistrations%4$s /  %2$sTransactions%4$s for this %3$sevent%4$s.', 'event_espresso'),
4
-        '<a href="' . $filtered_registrations_link . '">',
5
-        '<a href="' . $filtered_transactions_link . '">',
6
-        '<a href="' . $event_link . '">',
4
+        '<a href="'.$filtered_registrations_link.'">',
5
+        '<a href="'.$filtered_transactions_link.'">',
6
+        '<a href="'.$event_link.'">',
7 7
         '</a>'
8 8
     ); ?>
9 9
 </div>
10
-<h3 id="reg-admin-reg-details-reg-nmbr-hdr"><?php echo $previous_registration . '&nbsp;';
11
-    echo __('Registration # ', 'event_espresso') . $reg_nmbr['value'];
12
-    echo '&nbsp;' . $next_registration; ?></h3>
10
+<h3 id="reg-admin-reg-details-reg-nmbr-hdr"><?php echo $previous_registration.'&nbsp;';
11
+    echo __('Registration # ', 'event_espresso').$reg_nmbr['value'];
12
+    echo '&nbsp;'.$next_registration; ?></h3>
13 13
 <h2 id="reg-admin-reg-details-reg-date-hdr"><?php echo $reg_datetime['value']; ?></h2>
14 14
 
15 15
 <?php if ($registration->group_size() > 1) : ?>
Please login to merge, or discard this patch.
registrations/templates/attendee_registrations_main_meta_box.template.php 2 patches
Indentation   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -17,62 +17,62 @@
 block discarded – undo
17 17
                 <tr>
18 18
                     <td class="jst-left">
19 19
                         <?php
20
-                        $event_url = add_query_arg(
21
-                            array('action' => 'edit', 'post' => $registration->event_ID()),
22
-                            admin_url('admin.php?page=espresso_events')
23
-                        );
24
-                        echo EE_Registry::instance()->CAP->current_user_can(
25
-                            'ee_edit_event',
26
-                            'espresso_events_edit',
27
-                            $registration->event_ID()
28
-                        ) ? '<a href="' . $event_url . '"  title="'
29
-                            . esc_attr__(
30
-                                'Edit Event',
31
-                                'event_espresso'
32
-                            ) . '">' . $registration->event_name() . '</a>' : $registration->event_name();
33
-                        ?>
20
+						$event_url = add_query_arg(
21
+							array('action' => 'edit', 'post' => $registration->event_ID()),
22
+							admin_url('admin.php?page=espresso_events')
23
+						);
24
+						echo EE_Registry::instance()->CAP->current_user_can(
25
+							'ee_edit_event',
26
+							'espresso_events_edit',
27
+							$registration->event_ID()
28
+						) ? '<a href="' . $event_url . '"  title="'
29
+							. esc_attr__(
30
+								'Edit Event',
31
+								'event_espresso'
32
+							) . '">' . $registration->event_name() . '</a>' : $registration->event_name();
33
+						?>
34 34
                     </td>
35 35
                     <td class="jst-left">
36 36
                         <?php
37
-                        $reg_url = EE_Admin_Page::add_query_args_and_nonce(
38
-                            array('action' => 'view_registration', '_REG_ID' => $registration->ID()),
39
-                            REG_ADMIN_URL
40
-                        );
41
-                        echo EE_Registry::instance()->CAP->current_user_can(
42
-                            'ee_read_registration',
43
-                            'espresso_registrations_view_registration',
44
-                            $registration->ID()
45
-                        ) ? '
37
+						$reg_url = EE_Admin_Page::add_query_args_and_nonce(
38
+							array('action' => 'view_registration', '_REG_ID' => $registration->ID()),
39
+							REG_ADMIN_URL
40
+						);
41
+						echo EE_Registry::instance()->CAP->current_user_can(
42
+							'ee_read_registration',
43
+							'espresso_registrations_view_registration',
44
+							$registration->ID()
45
+						) ? '
46 46
 							<a href="' . $reg_url . '" title="'
47
-                            . esc_attr__(
48
-                                'View Registration Details',
49
-                                'event_espresso'
50
-                            ) . '">' .
51
-                            esc_html__('View Registration', 'event_espresso') .
52
-                            '</a>' : $registration->ID();
53
-                        ?>
47
+							. esc_attr__(
48
+								'View Registration Details',
49
+								'event_espresso'
50
+							) . '">' .
51
+							esc_html__('View Registration', 'event_espresso') .
52
+							'</a>' : $registration->ID();
53
+						?>
54 54
                     </td>
55 55
                     <td class="jst-left">
56 56
                         <?php
57
-                        $txn_url = EE_Admin_Page::add_query_args_and_nonce(
58
-                            array('action' => 'view_transaction', 'TXN_ID' => $registration->transaction_ID()),
59
-                            TXN_ADMIN_URL
60
-                        );
61
-                        echo EE_Registry::instance()->CAP->current_user_can(
62
-                            'ee_read_transaction',
63
-                            'espresso_transactions_view_transaction'
64
-                        ) ? '
57
+						$txn_url = EE_Admin_Page::add_query_args_and_nonce(
58
+							array('action' => 'view_transaction', 'TXN_ID' => $registration->transaction_ID()),
59
+							TXN_ADMIN_URL
60
+						);
61
+						echo EE_Registry::instance()->CAP->current_user_can(
62
+							'ee_read_transaction',
63
+							'espresso_transactions_view_transaction'
64
+						) ? '
65 65
 						<a href="' . $txn_url . '" title="'
66
-                            . esc_attr__(
67
-                                'View Transaction Details',
68
-                                'event_espresso'
69
-                            ) . '">' .
70
-                            sprintf(
71
-                                esc_html__('View Transaction %d', 'event_espresso'),
72
-                                $registration->transaction_ID()
73
-                            ) .
74
-                            '</a>' : $registration->transaction_ID();
75
-                        ?>
66
+							. esc_attr__(
67
+								'View Transaction Details',
68
+								'event_espresso'
69
+							) . '">' .
70
+							sprintf(
71
+								esc_html__('View Transaction %d', 'event_espresso'),
72
+								$registration->transaction_ID()
73
+							) .
74
+							'</a>' : $registration->transaction_ID();
75
+						?>
76 76
                     </td>
77 77
                     <td class="jst-left"><?php echo $registration->reg_code(); ?></td>
78 78
                     <td class="jst-rght"><?php echo EEH_Template::format_currency($registration->final_price()); ?></td>
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@  discard block
 block discarded – undo
25 25
                             'ee_edit_event',
26 26
                             'espresso_events_edit',
27 27
                             $registration->event_ID()
28
-                        ) ? '<a href="' . $event_url . '"  title="'
28
+                        ) ? '<a href="'.$event_url.'"  title="'
29 29
                             . esc_attr__(
30 30
                                 'Edit Event',
31 31
                                 'event_espresso'
32
-                            ) . '">' . $registration->event_name() . '</a>' : $registration->event_name();
32
+                            ).'">'.$registration->event_name().'</a>' : $registration->event_name();
33 33
                         ?>
34 34
                     </td>
35 35
                     <td class="jst-left">
@@ -43,12 +43,12 @@  discard block
 block discarded – undo
43 43
                             'espresso_registrations_view_registration',
44 44
                             $registration->ID()
45 45
                         ) ? '
46
-							<a href="' . $reg_url . '" title="'
46
+							<a href="' . $reg_url.'" title="'
47 47
                             . esc_attr__(
48 48
                                 'View Registration Details',
49 49
                                 'event_espresso'
50
-                            ) . '">' .
51
-                            esc_html__('View Registration', 'event_espresso') .
50
+                            ).'">'.
51
+                            esc_html__('View Registration', 'event_espresso').
52 52
                             '</a>' : $registration->ID();
53 53
                         ?>
54 54
                     </td>
@@ -62,15 +62,15 @@  discard block
 block discarded – undo
62 62
                             'ee_read_transaction',
63 63
                             'espresso_transactions_view_transaction'
64 64
                         ) ? '
65
-						<a href="' . $txn_url . '" title="'
65
+						<a href="' . $txn_url.'" title="'
66 66
                             . esc_attr__(
67 67
                                 'View Transaction Details',
68 68
                                 'event_espresso'
69
-                            ) . '">' .
69
+                            ).'">'.
70 70
                             sprintf(
71 71
                                 esc_html__('View Transaction %d', 'event_espresso'),
72 72
                                 $registration->transaction_ID()
73
-                            ) .
73
+                            ).
74 74
                             '</a>' : $registration->transaction_ID();
75 75
                         ?>
76 76
                     </td>
Please login to merge, or discard this patch.
admin_pages/payments/templates/payment_log_details.template.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
                     <?php echo $payment_log->e(
66 66
                         'LOG_message',
67 67
                         'as_table'
68
-                    );// EEH_Template::layout_array_as_table($payment_log->content())?>
68
+                    ); // EEH_Template::layout_array_as_table($payment_log->content())?>
69 69
                 </td>
70 70
             </tr>
71 71
             </tbody>
Please login to merge, or discard this patch.
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -36,17 +36,17 @@  discard block
 block discarded – undo
36 36
                 </th>
37 37
                 <td>
38 38
                     <?php
39
-                    if ($payment_log->object() instanceof EE_Transaction) {
40
-                        esc_html_e('Unknown', 'event_espresso');
41
-                    } else {
42
-                        echo $payment_method
43
-                        ? $payment_method->admin_name()
44
-                        : esc_html__(
45
-                            "No Longer Exists",
46
-                            'event_espresso'
47
-                        );
48
-                    }
49
-                    ?>
39
+					if ($payment_log->object() instanceof EE_Transaction) {
40
+						esc_html_e('Unknown', 'event_espresso');
41
+					} else {
42
+						echo $payment_method
43
+						? $payment_method->admin_name()
44
+						: esc_html__(
45
+							"No Longer Exists",
46
+							'event_espresso'
47
+						);
48
+					}
49
+					?>
50 50
 
51 51
                 </td>
52 52
             </tr>
@@ -69,9 +69,9 @@  discard block
 block discarded – undo
69 69
                 </th>
70 70
                 <td>
71 71
                     <?php echo $payment_log->e(
72
-                        'LOG_message',
73
-                        'as_table'
74
-                    );// EEH_Template::layout_array_as_table($payment_log->content())?>
72
+						'LOG_message',
73
+						'as_table'
74
+					);// EEH_Template::layout_array_as_table($payment_log->content())?>
75 75
                 </td>
76 76
             </tr>
77 77
             </tbody>
Please login to merge, or discard this patch.
admin_pages/maintenance/templates/ee_data_reset_and_delete.template.php 1 patch
Indentation   +65 added lines, -65 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
 <div class="padding">
15 15
     <h4 class="espresso-header"><span class="dashicons dashicons-update ee-icon-size-22"></span>
16 16
         <?php esc_html_e(
17
-            'Reset Ticket and Datetime Reserved Counts',
18
-            'event_espresso'
19
-        ); ?></h4>
17
+			'Reset Ticket and Datetime Reserved Counts',
18
+			'event_espresso'
19
+		); ?></h4>
20 20
     <p><?php esc_html_e('Use this to reset the counts for ticket and datetime reservations.', 'event_espresso'); ?></p>
21 21
     <div class="float-right"><?php echo $reset_reservations_button; ?></div>
22 22
     <div class="clear"></div>
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 <div class="padding">
29 29
     <h4 class="espresso-header"><span class="dashicons dashicons-update ee-icon-size-22"></span>
30 30
         <?php esc_html_e(
31
-            'Reset Event Espresso Capabilities',
32
-            'event_espresso'
33
-        ); ?></h4>
31
+			'Reset Event Espresso Capabilities',
32
+			'event_espresso'
33
+		); ?></h4>
34 34
     <p>
35 35
         <?php esc_html_e(
36
-            'Use this to reset the capabilities on WP roles to the defaults as defined via EE_Capabilities.  Note this reset does not REMOVE any existing capabilities, it just ensures that all the defaults are ADDED to the roles.',
37
-            'event_espresso'
38
-        ); ?></p>
36
+			'Use this to reset the capabilities on WP roles to the defaults as defined via EE_Capabilities.  Note this reset does not REMOVE any existing capabilities, it just ensures that all the defaults are ADDED to the roles.',
37
+			'event_espresso'
38
+		); ?></p>
39 39
     <div class="float-right"><?php echo $reset_capabilities_button; ?></div>
40 40
     <div class="clear"></div>
41 41
 </div>
@@ -45,25 +45,25 @@  discard block
 block discarded – undo
45 45
 <div class="padding">
46 46
     <h4 class="espresso-header"><span class="dashicons dashicons-update ee-icon-size-22"></span>
47 47
         <?php esc_html_e(
48
-            'Reset Event Espresso Data',
49
-            'event_espresso'
50
-        ); ?></h4>
48
+			'Reset Event Espresso Data',
49
+			'event_espresso'
50
+		); ?></h4>
51 51
     <p>
52 52
         <?php esc_html_e(
53
-            ' This will reset data for Event Espresso 4, and for all active add-ons. Inactive add-ons will not be affected.',
54
-            'event_espresso'
55
-        ); ?></p>
53
+			' This will reset data for Event Espresso 4, and for all active add-ons. Inactive add-ons will not be affected.',
54
+			'event_espresso'
55
+		); ?></p>
56 56
     <p>
57 57
         <?php esc_html_e(
58
-            'Your Event Espresso data will return to its default settings. The rest of your website will be unaffected.',
59
-            'event_espresso'
60
-        ); ?></p>
58
+			'Your Event Espresso data will return to its default settings. The rest of your website will be unaffected.',
59
+			'event_espresso'
60
+		); ?></p>
61 61
     <div class="float-right"><a class="button button-primary ee-confirm"
62 62
                                 href="<?php echo $reset_db_url; ?>">
63 63
             <?php esc_html_e(
64
-                'Reset Event Espresso Tables',
65
-                'event_espresso'
66
-            ); ?></a></div>
64
+				'Reset Event Espresso Tables',
65
+				'event_espresso'
66
+			); ?></a></div>
67 67
     <div class="clear"></div>
68 68
 </div>
69 69
 <br/>
@@ -72,71 +72,71 @@  discard block
 block discarded – undo
72 72
 <div class="padding">
73 73
     <h4 class="espresso-header"><span class="dashicons dashicons-post-trash ee-icon-size-22"></span>
74 74
         <?php esc_html_e(
75
-            'Permanently Delete ALL Event Espresso Data',
76
-            'event_espresso'
77
-        ); ?></h4>
75
+			'Permanently Delete ALL Event Espresso Data',
76
+			'event_espresso'
77
+		); ?></h4>
78 78
     <p>
79 79
         <?php esc_html_e(
80
-            ' This will delete data for Event Espresso 4, and all currently active add-ons. Event Espresso will then be deactivated. You may need to manually deactivate each add-on individually.',
81
-            'event_espresso'
82
-        ); ?></p>
80
+			' This will delete data for Event Espresso 4, and all currently active add-ons. Event Espresso will then be deactivated. You may need to manually deactivate each add-on individually.',
81
+			'event_espresso'
82
+		); ?></p>
83 83
     <p>
84 84
         <?php esc_html_e(
85
-            'If you know for certain that you will no longer be using Event Espresso and you wish to remove ALL traces of the plugin from your system, then perform the following steps.',
86
-            'event_espresso'
87
-        ); ?></p>
85
+			'If you know for certain that you will no longer be using Event Espresso and you wish to remove ALL traces of the plugin from your system, then perform the following steps.',
86
+			'event_espresso'
87
+		); ?></p>
88 88
     <p class="important-notice">
89 89
         <?php printf(
90
-            esc_html__('Please note: %sThis is permanent and can NOT be undone.%s', 'event_espresso'),
91
-            '<em>',
92
-            '</em>'
93
-        ); ?><br/></p>
90
+			esc_html__('Please note: %sThis is permanent and can NOT be undone.%s', 'event_espresso'),
91
+			'<em>',
92
+			'</em>'
93
+		); ?><br/></p>
94 94
     <ol>
95 95
         <li>
96 96
             <?php printf(
97
-                esc_html__(
98
-                    'First, click the button below to permanently delete all Event Espresso tables, records, and options from your WordPress database . If you receive a "500 Internal Server Error" or a blank white screen, it means the server has timed out due to the large number of records being updated. This is not a cause for concern. Simply %1$srefresh the page%2$s and the Database Update will continue where it left off.',
99
-                    'event_espresso'
100
-                ),
101
-                '<strong>',
102
-                '</strong>'
103
-            ); ?></li>
97
+				esc_html__(
98
+					'First, click the button below to permanently delete all Event Espresso tables, records, and options from your WordPress database . If you receive a "500 Internal Server Error" or a blank white screen, it means the server has timed out due to the large number of records being updated. This is not a cause for concern. Simply %1$srefresh the page%2$s and the Database Update will continue where it left off.',
99
+					'event_espresso'
100
+				),
101
+				'<strong>',
102
+				'</strong>'
103
+			); ?></li>
104 104
         <li>
105 105
             <?php printf(
106
-                esc_html__(
107
-                    'Then, locate Event Espresso on the WordPress Plugins page, and click on %sDelete%s',
108
-                    'event_espresso'
109
-                ),
110
-                '<strong>',
111
-                '</strong>'
112
-            ); ?></li>
106
+				esc_html__(
107
+					'Then, locate Event Espresso on the WordPress Plugins page, and click on %sDelete%s',
108
+					'event_espresso'
109
+				),
110
+				'<strong>',
111
+				'</strong>'
112
+			); ?></li>
113 113
         <li>
114 114
             <?php printf(
115
-                esc_html__(
116
-                    'Once you are on the Delete Plugin page, click on %sYes, Delete these files and data%s',
117
-                    'event_espresso'
118
-                ),
119
-                '<strong>',
120
-                '</strong>'
121
-            ); ?></li>
115
+				esc_html__(
116
+					'Once you are on the Delete Plugin page, click on %sYes, Delete these files and data%s',
117
+					'event_espresso'
118
+				),
119
+				'<strong>',
120
+				'</strong>'
121
+			); ?></li>
122 122
         <li>
123 123
             <?php printf(
124
-                esc_html__('Note: Event Espresso 4 categories are %snot%s deleted by this script', 'event_espresso'),
125
-                '<strong>',
126
-                '</strong>'
127
-            ); ?>
124
+				esc_html__('Note: Event Espresso 4 categories are %snot%s deleted by this script', 'event_espresso'),
125
+				'<strong>',
126
+				'</strong>'
127
+			); ?>
128 128
             <br><a href="<?php echo admin_url('edit-tags.php?taxonomy=espresso_event_categories'); ?>">
129 129
                 <?php esc_html_e(
130
-                    'You can go here to delete Event Espresso categories',
131
-                    'event_espresso'
132
-                ); ?></a></li>
130
+					'You can go here to delete Event Espresso categories',
131
+					'event_espresso'
132
+				); ?></a></li>
133 133
     </ol>
134 134
     <div class="float-right"><a href="<?php echo $delete_db_url; ?>" id="delete-all-data-btn"
135 135
                                 class="button-primary ee-confirm">
136 136
             <?php esc_html_e(
137
-                'Permanently Delete All Event Espresso Data',
138
-                'event_espresso'
139
-            ); ?></a></div>
137
+				'Permanently Delete All Event Espresso Data',
138
+				'event_espresso'
139
+			); ?></a></div>
140 140
     <div class="clear"></div>
141 141
 </div>
142 142
 <br/>
Please login to merge, or discard this patch.
maintenance/templates/ee_upgrade_addons_before_migrating.template.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -4,15 +4,15 @@
 block discarded – undo
4 4
 <h1><?php esc_html_e("You must upgrade your Event Espresso Add-ons before Migrating", "event_espresso"); ?></h1>
5 5
 <p>
6 6
     <?php printf(
7
-        esc_html__(
8
-            "Please %s visit the plugins page%s and update all Event Espresso addon plugins before updating your database.",
9
-            "event_espresso"
10
-        ),
11
-        "<a href='" . admin_url('/plugins.php') . "'>",
12
-        "</a>"
13
-    ); ?></p>
7
+		esc_html__(
8
+			"Please %s visit the plugins page%s and update all Event Espresso addon plugins before updating your database.",
9
+			"event_espresso"
10
+		),
11
+		"<a href='" . admin_url('/plugins.php') . "'>",
12
+		"</a>"
13
+	); ?></p>
14 14
 <p>
15 15
     <?php esc_html_e(
16
-        "You can also deactivate the addons, but all of their data will be lost when your database is migrated",
17
-        "event_espresso"
18
-    ); ?></p>
19 16
\ No newline at end of file
17
+		"You can also deactivate the addons, but all of their data will be lost when your database is migrated",
18
+		"event_espresso"
19
+	); ?></p>
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
             "Please %s visit the plugins page%s and update all Event Espresso addon plugins before updating your database.",
9 9
             "event_espresso"
10 10
         ),
11
-        "<a href='" . admin_url('/plugins.php') . "'>",
11
+        "<a href='".admin_url('/plugins.php')."'>",
12 12
         "</a>"
13 13
     ); ?></p>
14 14
 <p>
Please login to merge, or discard this patch.
admin_pages/maintenance/templates/ee_migration_was_borked_page.template.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 <p>
68 68
     <?php printf(
69 69
         esc_html__('...or copy-and-paste the below information to %1$s %2$s %3$s', "event_espresso"),
70
-        '<a href="mailto:' . EE_SUPPORT_EMAIL . '">',
70
+        '<a href="mailto:'.EE_SUPPORT_EMAIL.'">',
71 71
         EE_SUPPORT_EMAIL,
72 72
         "</a>"
73 73
     ); ?></p>
Please login to merge, or discard this patch.
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -3,19 +3,19 @@  discard block
 block discarded – undo
3 3
 ?>
4 4
 <h1><?php esc_html_e("Data Migration Error", "event_espresso"); ?></h1>
5 5
 <p class='error'><?php
6
-    printf(
7
-        esc_html__(
8
-            "Your last Database Update had a %s fatal error and was halted%s.",
9
-            "event_espresso"
10
-        ),
11
-        "<b>",
12
-        "</b>"
13
-    ); ?></p>
6
+	printf(
7
+		esc_html__(
8
+			"Your last Database Update had a %s fatal error and was halted%s.",
9
+			"event_espresso"
10
+		),
11
+		"<b>",
12
+		"</b>"
13
+	); ?></p>
14 14
 <a id="show-hide-migration-warnings" class="display-the-hidden"><?php
15
-    esc_html_e(
16
-        "Show Errors",
17
-        'event_espresso'
18
-    ); ?></a>
15
+	esc_html_e(
16
+		"Show Errors",
17
+		'event_espresso'
18
+	); ?></a>
19 19
 <ul class="migration-warnings" style="display:none">
20 20
     <?php foreach ($most_recent_migration->get_errors() as $error) { ?>
21 21
         <li style="overflow-y:auto;max-height:100px"><?php echo esc_html($error) ?></li>
@@ -23,12 +23,12 @@  discard block
 block discarded – undo
23 23
 </ul>
24 24
 <h2>
25 25
     <?php esc_html_e(
26
-        "Fill out the below form to automatically Send Event Espresso a Crash Report",
27
-        "event_espresso"
28
-    ); ?></h2>
26
+		"Fill out the below form to automatically Send Event Espresso a Crash Report",
27
+		"event_espresso"
28
+	); ?></h2>
29 29
 <form action='<?php echo EE_Admin_Page::add_query_args_and_nonce(
30
-    array('action' => 'send_migration_crash_report'),
31
-    EE_MAINTENANCE_ADMIN_URL
30
+	array('action' => 'send_migration_crash_report'),
31
+	EE_MAINTENANCE_ADMIN_URL
32 32
 ); ?>' method='post'>
33 33
     <table class='widefat'>
34 34
         <tr>
@@ -39,46 +39,46 @@  discard block
 block discarded – undo
39 39
         <tr>
40 40
             <td><label for='from_name'><?php esc_html_e("Your Name", "event_espresso"); ?></label></td>
41 41
             <td><input name='from_name' id='from_name' type='text' style="width:200px" value='<?php
42
-                printf(
43
-                    esc_html__("Admin of %s", "event_espresso"),
44
-                    get_bloginfo('name', 'display')
45
-                ); ?>'></td>
42
+				printf(
43
+					esc_html__("Admin of %s", "event_espresso"),
44
+					get_bloginfo('name', 'display')
45
+				); ?>'></td>
46 46
         </tr>
47 47
         <tr>
48 48
             <td><label for='body'><?php esc_html_e("Comments", "event_espresso"); ?></label></td>
49 49
             <td><textarea name="body" id="body" class='system_status_info'>
50 50
                     <?php esc_html_e(
51
-                        "Enter any comments about why you think the error may have occurred",
52
-                        "event_espresso"
53
-                    ); ?></textarea>
51
+						"Enter any comments about why you think the error may have occurred",
52
+						"event_espresso"
53
+					); ?></textarea>
54 54
                 <p class='description'>
55 55
                     <?php esc_html_e(
56
-                        "Note: the System Information report will also be added to the email's body, which contains information about your Event Espresso, Wordpress, and PHP settings which can be helpful in debugging the problem.",
57
-                        "event_espresso"
58
-                    ); ?></p></td>
56
+						"Note: the System Information report will also be added to the email's body, which contains information about your Event Espresso, Wordpress, and PHP settings which can be helpful in debugging the problem.",
57
+						"event_espresso"
58
+					); ?></p></td>
59 59
         </tr>
60 60
         <tr>
61 61
             <td colspan="2"><input type="submit" value="<?php
62
-                esc_html_e(
63
-                    "Mail Crash Report to Event Espresso",
64
-                    "event_espresso"
65
-                ); ?>"/></td>
62
+				esc_html_e(
63
+					"Mail Crash Report to Event Espresso",
64
+					"event_espresso"
65
+				); ?>"/></td>
66 66
         </tr>
67 67
     </table>
68 68
 </form>
69 69
 <br>
70 70
 <p>
71 71
     <?php printf(
72
-        esc_html__('...or copy-and-paste the below information to %1$s %2$s %3$s', "event_espresso"),
73
-        '<a href="mailto:' . EE_SUPPORT_EMAIL . '">',
74
-        EE_SUPPORT_EMAIL,
75
-        "</a>"
76
-    ); ?></p>
72
+		esc_html__('...or copy-and-paste the below information to %1$s %2$s %3$s', "event_espresso"),
73
+		'<a href="mailto:' . EE_SUPPORT_EMAIL . '">',
74
+		EE_SUPPORT_EMAIL,
75
+		"</a>"
76
+	); ?></p>
77 77
 <textarea class="system_status_info"><?php print_r(EEM_System_Status::instance()->get_system_stati()) ?></textarea>
78 78
 <p><?php printf(esc_html__('%1$sNext Step%2$s', 'event_espresso'), "<a href='$next_url'>", "</a>"); ?></p>
79 79
 <p>
80 80
     <?php printf(
81
-        esc_html__('...or %1$sDON\'T send crash report%2$s.', 'event_espresso'),
82
-        "<a href='$next_url'>",
83
-        "</a>"
84
-    ); ?></p>
81
+		esc_html__('...or %1$sDON\'T send crash report%2$s.', 'event_espresso'),
82
+		"<a href='$next_url'>",
83
+		"</a>"
84
+	); ?></p>
Please login to merge, or discard this patch.
admin_pages/maintenance/templates/migration_options_from_ee4.template.php 1 patch
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -25,38 +25,38 @@  discard block
 block discarded – undo
25 25
             <tr>
26 26
                 <td>
27 27
                     <?php
28
-                    echo apply_filters(
29
-                        'FHEE__ee_migration_page__option_1_main',
30
-                        esc_html__(
31
-                            'Before updating your database, you should first create a database backup',
32
-                            "event_espresso"
33
-                        ),
34
-                        $current_db_state,
35
-                        $next_db_state
36
-                    );
37
-                    ?>
28
+					echo apply_filters(
29
+						'FHEE__ee_migration_page__option_1_main',
30
+						esc_html__(
31
+							'Before updating your database, you should first create a database backup',
32
+							"event_espresso"
33
+						),
34
+						$current_db_state,
35
+						$next_db_state
36
+					);
37
+					?>
38 38
                     <a id="display-migration-details"
39 39
                        class="display-the-hidden lt-grey-text smaller-text hide-if-no-js"
40 40
                        rel="migration-details">
41 41
                         <?php esc_html_e(
42
-                            'How Do I Make a Database Backup?',
43
-                            "event_espresso"
44
-                        ); ?>
42
+							'How Do I Make a Database Backup?',
43
+							"event_espresso"
44
+						); ?>
45 45
                         &nbsp;+</a>
46 46
                 </td>
47 47
                 <td>
48 48
                     <a id="db-backed-up"
49 49
                        class="toggle-migration-monitor button-primary">
50 50
                         <?php echo apply_filters(
51
-                            'FHEE__ee_migration_page__option_1_button_text',
52
-                            sprintf(
53
-                                esc_html__("My Database Is Backed Up, Continue", "event_espresso"),
54
-                                $current_db_state,
55
-                                $next_db_state
56
-                            ),
57
-                            $current_db_state,
58
-                            $next_db_state
59
-                        ); ?></a>
51
+							'FHEE__ee_migration_page__option_1_button_text',
52
+							sprintf(
53
+								esc_html__("My Database Is Backed Up, Continue", "event_espresso"),
54
+								$current_db_state,
55
+								$next_db_state
56
+							),
57
+							$current_db_state,
58
+							$next_db_state
59
+						); ?></a>
60 60
                 </td>
61 61
             </tr>
62 62
             <tr>
@@ -64,16 +64,16 @@  discard block
 block discarded – undo
64 64
                     <div id="migration-details-dv" style="display: none; padding: 1em;">
65 65
                         <p>
66 66
                             <?php
67
-                            printf(
68
-                                esc_html__(
69
-                                    '%1$sClick Here to Learn How To Backup your Database Yourself%2$s. Or have one of our dedicated support technicians help you by %3$spurchasing a Priority Support Token.%2$s',
70
-                                    "event_espresso"
71
-                                ),
72
-                                '<a target="_blank" href="http://eventespresso.com/wiki/how-to-back-up-your-site/">',
73
-                                "</a>",
74
-                                "<a target=\"_blank\" href='http://eventespresso.com/product/priority-support-tokens/'>"
75
-                            );
76
-                            ?>
67
+							printf(
68
+								esc_html__(
69
+									'%1$sClick Here to Learn How To Backup your Database Yourself%2$s. Or have one of our dedicated support technicians help you by %3$spurchasing a Priority Support Token.%2$s',
70
+									"event_espresso"
71
+								),
72
+								'<a target="_blank" href="http://eventespresso.com/wiki/how-to-back-up-your-site/">',
73
+								"</a>",
74
+								"<a target=\"_blank\" href='http://eventespresso.com/product/priority-support-tokens/'>"
75
+							);
76
+							?>
77 77
                         </p>
78 78
                         <?php do_action('AHEE__ee_migration_page__option_1_extra_details'); ?>
79 79
                     </div>
@@ -84,12 +84,12 @@  discard block
 block discarded – undo
84 84
     </div>
85 85
     <p>
86 86
         <?php esc_html_e(
87
-            'Don\'t want to keep your old Event Espresso data? Alternatively, you can delete it all and start fresh.',
88
-            'event_espresso'
89
-        ); ?> <a
87
+			'Don\'t want to keep your old Event Espresso data? Alternatively, you can delete it all and start fresh.',
88
+			'event_espresso'
89
+		); ?> <a
90 90
             href="<?php echo $data_reset_page; ?>"><?php esc_html_e(
91
-                'Visit the Maintenance Page and Reset Your Event Espresso Data',
92
-                'event_espresso'
93
-            ); ?></a></p>
91
+				'Visit the Maintenance Page and Reset Your Event Espresso Data',
92
+				'event_espresso'
93
+			); ?></a></p>
94 94
     <?php do_action('AHEE__ee_migration_page__after_migration_options_table'); ?>
95 95
 </div>
96 96
\ No newline at end of file
Please login to merge, or discard this patch.
admin_pages/transactions/qtips/Transaction_Details_Tips.lib.php 2 patches
Indentation   +72 added lines, -72 removed lines patch added patch discarded remove patch
@@ -15,80 +15,80 @@
 block discarded – undo
15 15
 {
16 16
 
17 17
 
18
-    protected function _set_tips_array()
19
-    {
20
-        $this->_qtipsa = array(
21
-            0 => array(
22
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_approved,
23
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_approved,
24
-                'content'    => $this->_payment_status_legend(EEM_Payment::status_id_approved),
25
-                'options'    => array(
26
-                    'position' => array(
27
-                        'target' => 'mouse',
28
-                    ),
29
-                ),
30
-            ),
31
-            1 => array(
32
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_pending,
33
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_pending,
34
-                'content'    => $this->_payment_status_legend(EEM_Payment::status_id_pending),
35
-                'options'    => array(
36
-                    'position' => array(
37
-                        'target' => 'mouse',
38
-                    ),
39
-                ),
40
-            ),
41
-            2 => array(
42
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_cancelled,
43
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_cancelled,
44
-                'content'    => $this->_payment_status_legend(EEM_Payment::status_id_cancelled),
45
-                'options'    => array(
46
-                    'position' => array(
47
-                        'target' => 'mouse',
48
-                    ),
49
-                ),
50
-            ),
51
-            3 => array(
52
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_declined,
53
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_declined,
54
-                'content'    => $this->_payment_status_legend(EEM_Payment::status_id_declined),
55
-                'options'    => array(
56
-                    'position' => array(
57
-                        'target' => 'mouse',
58
-                    ),
59
-                ),
60
-            ),
61
-            4 => array(
62
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_failed,
63
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_failed,
64
-                'content'    => $this->_payment_status_legend(EEM_Payment::status_id_failed),
65
-                'options'    => array(
66
-                    'position' => array(
67
-                        'target' => 'mouse',
68
-                    ),
69
-                ),
70
-            ),
71
-        );
72
-    }
18
+	protected function _set_tips_array()
19
+	{
20
+		$this->_qtipsa = array(
21
+			0 => array(
22
+				'content_id' => 'payment-status-' . EEM_Payment::status_id_approved,
23
+				'target'     => '.pymt-status-' . EEM_Payment::status_id_approved,
24
+				'content'    => $this->_payment_status_legend(EEM_Payment::status_id_approved),
25
+				'options'    => array(
26
+					'position' => array(
27
+						'target' => 'mouse',
28
+					),
29
+				),
30
+			),
31
+			1 => array(
32
+				'content_id' => 'payment-status-' . EEM_Payment::status_id_pending,
33
+				'target'     => '.pymt-status-' . EEM_Payment::status_id_pending,
34
+				'content'    => $this->_payment_status_legend(EEM_Payment::status_id_pending),
35
+				'options'    => array(
36
+					'position' => array(
37
+						'target' => 'mouse',
38
+					),
39
+				),
40
+			),
41
+			2 => array(
42
+				'content_id' => 'payment-status-' . EEM_Payment::status_id_cancelled,
43
+				'target'     => '.pymt-status-' . EEM_Payment::status_id_cancelled,
44
+				'content'    => $this->_payment_status_legend(EEM_Payment::status_id_cancelled),
45
+				'options'    => array(
46
+					'position' => array(
47
+						'target' => 'mouse',
48
+					),
49
+				),
50
+			),
51
+			3 => array(
52
+				'content_id' => 'payment-status-' . EEM_Payment::status_id_declined,
53
+				'target'     => '.pymt-status-' . EEM_Payment::status_id_declined,
54
+				'content'    => $this->_payment_status_legend(EEM_Payment::status_id_declined),
55
+				'options'    => array(
56
+					'position' => array(
57
+						'target' => 'mouse',
58
+					),
59
+				),
60
+			),
61
+			4 => array(
62
+				'content_id' => 'payment-status-' . EEM_Payment::status_id_failed,
63
+				'target'     => '.pymt-status-' . EEM_Payment::status_id_failed,
64
+				'content'    => $this->_payment_status_legend(EEM_Payment::status_id_failed),
65
+				'options'    => array(
66
+					'position' => array(
67
+						'target' => 'mouse',
68
+					),
69
+				),
70
+			),
71
+		);
72
+	}
73 73
 
74 74
 
75
-    /**
76
-     * output the relevant ee-status-legend with the designated status highlighted.
77
-     *
78
-     * @param  EEM_Payment constant $status What status is set (by class)
79
-     * @return string         The status legend with the related status highlighted
80
-     */
81
-    private function _payment_status_legend($status)
82
-    {
75
+	/**
76
+	 * output the relevant ee-status-legend with the designated status highlighted.
77
+	 *
78
+	 * @param  EEM_Payment constant $status What status is set (by class)
79
+	 * @return string         The status legend with the related status highlighted
80
+	 */
81
+	private function _payment_status_legend($status)
82
+	{
83 83
 
84
-        $status_array = array(
85
-            'approved'  => EEM_Payment::status_id_approved,
86
-            'pending'   => EEM_Payment::status_id_pending,
87
-            'cancelled' => EEM_Payment::status_id_cancelled,
88
-            'declined'  => EEM_Payment::status_id_declined,
89
-            'failed'    => EEM_Payment::status_id_failed,
90
-        );
84
+		$status_array = array(
85
+			'approved'  => EEM_Payment::status_id_approved,
86
+			'pending'   => EEM_Payment::status_id_pending,
87
+			'cancelled' => EEM_Payment::status_id_cancelled,
88
+			'declined'  => EEM_Payment::status_id_declined,
89
+			'failed'    => EEM_Payment::status_id_failed,
90
+		);
91 91
 
92
-        return EEH_Template::status_legend($status_array, $status);
93
-    }
92
+		return EEH_Template::status_legend($status_array, $status);
93
+	}
94 94
 }
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
     {
20 20
         $this->_qtipsa = array(
21 21
             0 => array(
22
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_approved,
23
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_approved,
22
+                'content_id' => 'payment-status-'.EEM_Payment::status_id_approved,
23
+                'target'     => '.pymt-status-'.EEM_Payment::status_id_approved,
24 24
                 'content'    => $this->_payment_status_legend(EEM_Payment::status_id_approved),
25 25
                 'options'    => array(
26 26
                     'position' => array(
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
                 ),
30 30
             ),
31 31
             1 => array(
32
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_pending,
33
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_pending,
32
+                'content_id' => 'payment-status-'.EEM_Payment::status_id_pending,
33
+                'target'     => '.pymt-status-'.EEM_Payment::status_id_pending,
34 34
                 'content'    => $this->_payment_status_legend(EEM_Payment::status_id_pending),
35 35
                 'options'    => array(
36 36
                     'position' => array(
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
                 ),
40 40
             ),
41 41
             2 => array(
42
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_cancelled,
43
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_cancelled,
42
+                'content_id' => 'payment-status-'.EEM_Payment::status_id_cancelled,
43
+                'target'     => '.pymt-status-'.EEM_Payment::status_id_cancelled,
44 44
                 'content'    => $this->_payment_status_legend(EEM_Payment::status_id_cancelled),
45 45
                 'options'    => array(
46 46
                     'position' => array(
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
                 ),
50 50
             ),
51 51
             3 => array(
52
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_declined,
53
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_declined,
52
+                'content_id' => 'payment-status-'.EEM_Payment::status_id_declined,
53
+                'target'     => '.pymt-status-'.EEM_Payment::status_id_declined,
54 54
                 'content'    => $this->_payment_status_legend(EEM_Payment::status_id_declined),
55 55
                 'options'    => array(
56 56
                     'position' => array(
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
                 ),
60 60
             ),
61 61
             4 => array(
62
-                'content_id' => 'payment-status-' . EEM_Payment::status_id_failed,
63
-                'target'     => '.pymt-status-' . EEM_Payment::status_id_failed,
62
+                'content_id' => 'payment-status-'.EEM_Payment::status_id_failed,
63
+                'target'     => '.pymt-status-'.EEM_Payment::status_id_failed,
64 64
                 'content'    => $this->_payment_status_legend(EEM_Payment::status_id_failed),
65 65
                 'options'    => array(
66 66
                     'position' => array(
Please login to merge, or discard this patch.