Completed
Branch FET/conditional-update-queries... (b217a8)
by
unknown
53:19 queued 44:42
created
admin_pages/venues/templates/venue_gmap_metabox_content.template.php 2 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@  discard block
 block discarded – undo
3 3
         <td valign="top">
4 4
             <fieldset>
5 5
                 <?php
6
-                if (isset(EE_Registry::instance()->CFG->map_settings)
7
-                    && isset(EE_Registry::instance()->CFG->map_settings->use_google_maps)
8
-                    && EE_Registry::instance()->CFG->map_settings->use_google_maps
9
-                ) { ?>
6
+				if (isset(EE_Registry::instance()->CFG->map_settings)
7
+					&& isset(EE_Registry::instance()->CFG->map_settings->use_google_maps)
8
+					&& EE_Registry::instance()->CFG->map_settings->use_google_maps
9
+				) { ?>
10 10
                     <p>
11 11
                         <label for="enable_for_gmap">
12 12
                             <?php _e('Display Google Map for this venue? ', 'event_espresso') ?>
@@ -19,22 +19,22 @@  discard block
 block discarded – undo
19 19
                     </p> -->
20 20
                 <?php } ?>
21 21
                 <?php
22
-                if (! isset(EE_Registry::instance()->CFG->map_settings)
23
-                    || ! isset(EE_Registry::instance()->CFG->map_settings->use_google_maps)
24
-                    || ! EE_Registry::instance()->CFG->map_settings->use_google_maps
25
-                ) { ?>
22
+				if (! isset(EE_Registry::instance()->CFG->map_settings)
23
+					|| ! isset(EE_Registry::instance()->CFG->map_settings->use_google_maps)
24
+					|| ! EE_Registry::instance()->CFG->map_settings->use_google_maps
25
+				) { ?>
26 26
                     <p class="ee-notice">
27 27
                         <?php
28
-                        echo sprintf(
29
-                            __(
30
-                                'To display a Google Map for event venues, go to %sEvent Espresso General Settings%sGoogle Maps%s, and set "Activate Google Maps" to "Yes"',
31
-                                'event_espresso'
32
-                            ),
33
-                            '<b>',
34
-                            '</b> &raquo; <b>',
35
-                            '</b>'
36
-                        );
37
-                        ?>
28
+						echo sprintf(
29
+							__(
30
+								'To display a Google Map for event venues, go to %sEvent Espresso General Settings%sGoogle Maps%s, and set "Activate Google Maps" to "Yes"',
31
+								'event_espresso'
32
+							),
33
+							'<b>',
34
+							'</b> &raquo; <b>',
35
+							'</b>'
36
+						);
37
+						?>
38 38
                     </p>
39 39
                 <?php } ?>
40 40
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
                     </p> -->
20 20
                 <?php } ?>
21 21
                 <?php
22
-                if (! isset(EE_Registry::instance()->CFG->map_settings)
22
+                if ( ! isset(EE_Registry::instance()->CFG->map_settings)
23 23
                     || ! isset(EE_Registry::instance()->CFG->map_settings->use_google_maps)
24 24
                     || ! EE_Registry::instance()->CFG->map_settings->use_google_maps
25 25
                 ) { ?>
Please login to merge, or discard this patch.
admin_pages/venues/templates/google_map.template.php 1 patch
Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -11,20 +11,20 @@  discard block
 block discarded – undo
11 11
             </th>
12 12
             <td>
13 13
                 <?php echo EEH_Form_Fields::select_input(
14
-                    'use_google_maps',
15
-                    $values,
16
-                    $map_settings->use_google_maps,
17
-                    'id="ee-display-map-no-shortcodes"'
18
-                ); ?>
14
+					'use_google_maps',
15
+					$values,
16
+					$map_settings->use_google_maps,
17
+					'id="ee-display-map-no-shortcodes"'
18
+				); ?>
19 19
                 <p class="description">
20 20
                     <?php _e(
21
-                        'Turn Google maps on or off site wide for Event Espresso.',
22
-                        'event_espresso'
23
-                    ); ?></p>
21
+						'Turn Google maps on or off site wide for Event Espresso.',
22
+						'event_espresso'
23
+					); ?></p>
24 24
             </td>
25 25
         </tr>
26 26
         <?php
27
-        if (apply_filters('FHEE__google_map__show_api_key_input', true)) { ?>
27
+		if (apply_filters('FHEE__google_map__show_api_key_input', true)) { ?>
28 28
             <tr>
29 29
                 <th>
30 30
                     <label for="ee-google-map-api-key">
@@ -36,15 +36,15 @@  discard block
 block discarded – undo
36 36
                            value="<?php echo $map_settings->google_map_api_key; ?>"/>
37 37
                     <p class="description">
38 38
                         <?php
39
-                        printf(
40
-                            __(
41
-                                'An API key is now required to use the Google Maps API: %1$sclick here to get an API key%2$s',
42
-                                'event_espresso'
43
-                            ),
44
-                            '<a href="https://console.developers.google.com/flows/enableapi?apiid=maps_backend,geocoding_backend,directions_backend,distance_matrix_backend,elevation_backend,static_maps_backend&keyType=CLIENT_SIDE&reusekey=true" target="_blank">',
45
-                            '</a>'
46
-                        );
47
-                        ?>
39
+						printf(
40
+							__(
41
+								'An API key is now required to use the Google Maps API: %1$sclick here to get an API key%2$s',
42
+								'event_espresso'
43
+							),
44
+							'<a href="https://console.developers.google.com/flows/enableapi?apiid=maps_backend,geocoding_backend,directions_backend,distance_matrix_backend,elevation_backend,static_maps_backend&keyType=CLIENT_SIDE&reusekey=true" target="_blank">',
45
+							'</a>'
46
+						);
47
+						?>
48 48
                     </p>
49 49
                 </td>
50 50
             </tr>
@@ -105,11 +105,11 @@  discard block
 block discarded – undo
105 105
             </th>
106 106
             <td>
107 107
                 <?php echo EEH_Form_Fields::select_input(
108
-                    'event_details_display_nav',
109
-                    $values,
110
-                    $map_settings->event_details_display_nav,
111
-                    'id="event_details_display_nav" '
112
-                ); ?>
108
+					'event_details_display_nav',
109
+					$values,
110
+					$map_settings->event_details_display_nav,
111
+					'id="event_details_display_nav" '
112
+				); ?>
113 113
             </td>
114 114
         </tr>
115 115
 
@@ -121,11 +121,11 @@  discard block
 block discarded – undo
121 121
             </th>
122 122
             <td>
123 123
                 <?php echo EEH_Form_Fields::select_input(
124
-                    'event_details_nav_size',
125
-                    $values,
126
-                    $map_settings->event_details_nav_size,
127
-                    'id="event_details_nav_size"'
128
-                ); ?>
124
+					'event_details_nav_size',
125
+					$values,
126
+					$map_settings->event_details_nav_size,
127
+					'id="event_details_nav_size"'
128
+				); ?>
129 129
             </td>
130 130
         </tr>
131 131
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
             <td>
137 137
                 <label for="event_details_control_type-default" class="ee-admin-radio-lbl">
138 138
                     <?php $checked = $map_settings->event_details_control_type == 'default' ? 'checked="checked"'
139
-                        : ''; ?>
139
+						: ''; ?>
140 140
                     <input id="event_details_control_type-default" type="radio" name="event_details_control_type"
141 141
                            value="default"<?php echo $checked; ?>/>
142 142
                     <?php _e(' Default', 'event_espresso') ?>
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
                 <label for="event_details_control_type-horizontal" class="ee-admin-radio-lbl">
146 146
                     <?php $checked = $map_settings->event_details_control_type == 'horizontal' ? 'checked="checked"'
147
-                        : ''; ?>
147
+						: ''; ?>
148 148
                     <input id="event_details_control_type-horizontal" type="radio" name="event_details_control_type"
149 149
                            value="horizontal"<?php echo $checked; ?>/>
150 150
                     <?php _e(' Horizontal', 'event_espresso') ?>
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
                 <label for="event_details_control_type-dropdown" class="ee-admin-radio-lbl">
154 154
                     <?php $checked = $map_settings->event_details_control_type == 'dropdown' ? 'checked="checked"'
155
-                        : ''; ?>
155
+						: ''; ?>
156 156
                     <input id="event_details_control_type-dropdown" type="radio" name="event_details_control_type"
157 157
                            value="dropdown"<?php echo $checked; ?>/>
158 158
                     <?php _e(' Dropdown', 'event_espresso') ?>
@@ -246,11 +246,11 @@  discard block
 block discarded – undo
246 246
             </th>
247 247
             <td>
248 248
                 <?php echo EEH_Form_Fields::select_input(
249
-                    'event_list_display_nav',
250
-                    $values,
251
-                    $map_settings->event_list_display_nav,
252
-                    'id="event_list_display_nav"'
253
-                ); ?>
249
+					'event_list_display_nav',
250
+					$values,
251
+					$map_settings->event_list_display_nav,
252
+					'id="event_list_display_nav"'
253
+				); ?>
254 254
             </td>
255 255
         </tr>
256 256
 
@@ -262,11 +262,11 @@  discard block
 block discarded – undo
262 262
             </th>
263 263
             <td>
264 264
                 <?php echo EEH_Form_Fields::select_input(
265
-                    'event_list_nav_size',
266
-                    $values,
267
-                    $map_settings->event_list_nav_size,
268
-                    'id="event_list_nav_size"'
269
-                ); ?>
265
+					'event_list_nav_size',
266
+					$values,
267
+					$map_settings->event_list_nav_size,
268
+					'id="event_list_nav_size"'
269
+				); ?>
270 270
             </td>
271 271
         </tr>
272 272
 
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
 
285 285
                 <label for="event_list_control_type-horizontal" class="ee-admin-radio-lbl">
286 286
                     <?php $checked = $map_settings->event_list_control_type == 'horizontal' ? 'checked="checked"'
287
-                        : ''; ?>
287
+						: ''; ?>
288 288
                     <input id="event_list_control_type-horizontal" type="radio" name="event_list_control_type"
289 289
                            value="horizontal"<?php echo $checked; ?>/>
290 290
                     <?php _e(' Horizontal', 'event_espresso') ?>
Please login to merge, or discard this patch.
admin_pages/registrations/qtips/Registration_List_Table_Tips.lib.php 2 patches
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -15,16 +15,16 @@  discard block
 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' => 'registration-trash-lock',
23
-                'target'     => '.ee-lock-icon',
24
-                'content'    => $this->_registration_trash_message(),
25
-            ),
26
-            /** removing status strips for now because they are triggered anywhere on the row. */
27
-            /**1 => array(
18
+	protected function _set_tips_array()
19
+	{
20
+		$this->_qtipsa = array(
21
+			0 => array(
22
+				'content_id' => 'registration-trash-lock',
23
+				'target'     => '.ee-lock-icon',
24
+				'content'    => $this->_registration_trash_message(),
25
+			),
26
+			/** removing status strips for now because they are triggered anywhere on the row. */
27
+			/**1 => array(
28 28
              * 'content_id' => 'registration-status-' . EEM_Registration::status_id_approved,
29 29
              * 'target' => '.reg-status-' . EEM_Registration::status_id_approved,
30 30
              * 'content' => $this->_registration_status_legend(EEM_Registration::status_id_approved),
@@ -74,37 +74,37 @@  discard block
 block discarded – undo
74 74
              * )
75 75
              * )
76 76
              * )/**/
77
-        );
78
-    }
77
+		);
78
+	}
79 79
 
80 80
 
81
-    private function _registration_trash_message()
82
-    {
83
-        return '<p>'
84
-               . __(
85
-                   'This lock-icon means that this registration cannot be trashed.  Registrations that belong to a transaction that has payments cannot be trashed.  If you wish to trash this registration then you must delete all payments attached to the related transaction first.',
86
-                   'event_espresso'
87
-               ) . '</p>';
88
-    }
81
+	private function _registration_trash_message()
82
+	{
83
+		return '<p>'
84
+			   . __(
85
+				   'This lock-icon means that this registration cannot be trashed.  Registrations that belong to a transaction that has payments cannot be trashed.  If you wish to trash this registration then you must delete all payments attached to the related transaction first.',
86
+				   'event_espresso'
87
+			   ) . '</p>';
88
+	}
89 89
 
90 90
 
91
-    /**
92
-     * output the relevant ee-status-legend with the designated status highlighted.
93
-     *
94
-     * @param  EEM_Registration constant $status What status is set (by class)
95
-     * @return string         The status legend with the related status highlighted
96
-     */
97
-    private function _registration_status_legend($status)
98
-    {
91
+	/**
92
+	 * output the relevant ee-status-legend with the designated status highlighted.
93
+	 *
94
+	 * @param  EEM_Registration constant $status What status is set (by class)
95
+	 * @return string         The status legend with the related status highlighted
96
+	 */
97
+	private function _registration_status_legend($status)
98
+	{
99 99
 
100
-        $status_array = array(
101
-            'approved_status' => EEM_Registration::status_id_approved,
102
-            'pending_status' => EEM_Registration::status_id_pending_payment,
103
-            'not_approved' => EEM_Registration::status_id_not_approved,
104
-            'declined_status' => EEM_Registration::status_id_declined,
105
-            'cancelled_status' => EEM_Registration::status_id_cancelled,
106
-        );
100
+		$status_array = array(
101
+			'approved_status' => EEM_Registration::status_id_approved,
102
+			'pending_status' => EEM_Registration::status_id_pending_payment,
103
+			'not_approved' => EEM_Registration::status_id_not_approved,
104
+			'declined_status' => EEM_Registration::status_id_declined,
105
+			'cancelled_status' => EEM_Registration::status_id_cancelled,
106
+		);
107 107
 
108
-        return EEH_Template::status_legend($status_array, $status);
109
-    }
108
+		return EEH_Template::status_legend($status_array, $status);
109
+	}
110 110
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
                . __(
85 85
                    'This lock-icon means that this registration cannot be trashed.  Registrations that belong to a transaction that has payments cannot be trashed.  If you wish to trash this registration then you must delete all payments attached to the related transaction first.',
86 86
                    'event_espresso'
87
-               ) . '</p>';
87
+               ).'</p>';
88 88
     }
89 89
 
90 90
 
Please login to merge, or discard this patch.
admin_pages/registrations/Registrations_Admin_Page_Init.core.php 2 patches
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -13,50 +13,50 @@
 block discarded – undo
13 13
 {
14 14
 
15 15
 
16
-    /**
17
-     *        constructor
18
-     *
19
-     * @Constructor
20
-     * @access public
21
-     * @return void
22
-     */
23
-    public function __construct()
24
-    {
25
-        do_action('AHEE_log', __FILE__, __FUNCTION__, '');
26
-        if (! defined('REG_PG_SLUG')) {
27
-            define('REG_PG_SLUG', 'espresso_registrations');
28
-            define('REG_PG_NAME', ucwords(str_replace('_', '', REG_PG_SLUG)));
29
-            define('REG_ADMIN', EE_ADMIN_PAGES . 'registrations' . DS);
30
-            define('REG_ADMIN_URL', admin_url('admin.php?page=' . REG_PG_SLUG));
31
-            define('REG_ASSETS_PATH', REG_ADMIN . 'assets' . DS);
32
-            define('REG_ASSETS_URL', EE_ADMIN_PAGES_URL . 'registrations/assets/');
33
-            define('REG_TEMPLATE_PATH', REG_ADMIN . 'templates' . DS);
34
-            define('REG_TEMPLATE_URL', EE_ADMIN_PAGES_URL . 'registrations/templates/');
35
-        }
36
-
37
-        parent::__construct();
38
-    }
39
-
40
-
41
-    protected function _set_init_properties()
42
-    {
43
-        $this->label = __('Registrations Overview', 'event_espresso');
44
-    }
45
-
46
-
47
-    protected function _set_menu_map()
48
-    {
49
-        $this->_menu_map = new EE_Admin_Page_Sub_Menu(
50
-            array(
51
-                'menu_group'      => 'main',
52
-                'menu_order'      => 40,
53
-                'show_on_menu'    => EE_Admin_Page_Menu_Map::BLOG_ADMIN_ONLY,
54
-                'parent_slug'     => 'espresso_events',
55
-                'menu_slug'       => REG_PG_SLUG,
56
-                'menu_label'      => __('Registrations', 'event_espresso'),
57
-                'capability'      => 'ee_read_registrations',
58
-                'admin_init_page' => $this,
59
-            )
60
-        );
61
-    }
16
+	/**
17
+	 *        constructor
18
+	 *
19
+	 * @Constructor
20
+	 * @access public
21
+	 * @return void
22
+	 */
23
+	public function __construct()
24
+	{
25
+		do_action('AHEE_log', __FILE__, __FUNCTION__, '');
26
+		if (! defined('REG_PG_SLUG')) {
27
+			define('REG_PG_SLUG', 'espresso_registrations');
28
+			define('REG_PG_NAME', ucwords(str_replace('_', '', REG_PG_SLUG)));
29
+			define('REG_ADMIN', EE_ADMIN_PAGES . 'registrations' . DS);
30
+			define('REG_ADMIN_URL', admin_url('admin.php?page=' . REG_PG_SLUG));
31
+			define('REG_ASSETS_PATH', REG_ADMIN . 'assets' . DS);
32
+			define('REG_ASSETS_URL', EE_ADMIN_PAGES_URL . 'registrations/assets/');
33
+			define('REG_TEMPLATE_PATH', REG_ADMIN . 'templates' . DS);
34
+			define('REG_TEMPLATE_URL', EE_ADMIN_PAGES_URL . 'registrations/templates/');
35
+		}
36
+
37
+		parent::__construct();
38
+	}
39
+
40
+
41
+	protected function _set_init_properties()
42
+	{
43
+		$this->label = __('Registrations Overview', 'event_espresso');
44
+	}
45
+
46
+
47
+	protected function _set_menu_map()
48
+	{
49
+		$this->_menu_map = new EE_Admin_Page_Sub_Menu(
50
+			array(
51
+				'menu_group'      => 'main',
52
+				'menu_order'      => 40,
53
+				'show_on_menu'    => EE_Admin_Page_Menu_Map::BLOG_ADMIN_ONLY,
54
+				'parent_slug'     => 'espresso_events',
55
+				'menu_slug'       => REG_PG_SLUG,
56
+				'menu_label'      => __('Registrations', 'event_espresso'),
57
+				'capability'      => 'ee_read_registrations',
58
+				'admin_init_page' => $this,
59
+			)
60
+		);
61
+	}
62 62
 }
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -23,15 +23,15 @@
 block discarded – undo
23 23
     public function __construct()
24 24
     {
25 25
         do_action('AHEE_log', __FILE__, __FUNCTION__, '');
26
-        if (! defined('REG_PG_SLUG')) {
26
+        if ( ! defined('REG_PG_SLUG')) {
27 27
             define('REG_PG_SLUG', 'espresso_registrations');
28 28
             define('REG_PG_NAME', ucwords(str_replace('_', '', REG_PG_SLUG)));
29
-            define('REG_ADMIN', EE_ADMIN_PAGES . 'registrations' . DS);
30
-            define('REG_ADMIN_URL', admin_url('admin.php?page=' . REG_PG_SLUG));
31
-            define('REG_ASSETS_PATH', REG_ADMIN . 'assets' . DS);
32
-            define('REG_ASSETS_URL', EE_ADMIN_PAGES_URL . 'registrations/assets/');
33
-            define('REG_TEMPLATE_PATH', REG_ADMIN . 'templates' . DS);
34
-            define('REG_TEMPLATE_URL', EE_ADMIN_PAGES_URL . 'registrations/templates/');
29
+            define('REG_ADMIN', EE_ADMIN_PAGES.'registrations'.DS);
30
+            define('REG_ADMIN_URL', admin_url('admin.php?page='.REG_PG_SLUG));
31
+            define('REG_ASSETS_PATH', REG_ADMIN.'assets'.DS);
32
+            define('REG_ASSETS_URL', EE_ADMIN_PAGES_URL.'registrations/assets/');
33
+            define('REG_TEMPLATE_PATH', REG_ADMIN.'templates'.DS);
34
+            define('REG_TEMPLATE_URL', EE_ADMIN_PAGES_URL.'registrations/templates/');
35 35
         }
36 36
 
37 37
         parent::__construct();
Please login to merge, or discard this patch.
templates/reg_admin_register_new_attendee_step_content.template.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -3,25 +3,25 @@
 block discarded – undo
3 3
     <div class="ee-new-registration-step-content">
4 4
         <?php echo $content; ?>
5 5
         <?php
6
-        if ($show_notification_toggle
7
-            && EE_Registry::instance()->CAP->current_user_can(
8
-                'ee_send_message',
9
-                'registration_message_type'
10
-            )) : ?>
6
+		if ($show_notification_toggle
7
+			&& EE_Registry::instance()->CAP->current_user_can(
8
+				'ee_send_message',
9
+				'registration_message_type'
10
+			)) : ?>
11 11
             <div class="ee-attention">
12 12
                 <label for="txn_reg_status_change" class="last">
13 13
                     <?php _e(
14
-                        'Send Related Messages?',
15
-                        'event_espresso'
16
-                    ); ?></label>
14
+						'Send Related Messages?',
15
+						'event_espresso'
16
+					); ?></label>
17 17
                 <input type="checkbox" value="1" name="txn_reg_status_change[send_notifications]" checked=checked>
18 18
                 <br/>
19 19
                 <br/>
20 20
                 <p class="description">
21 21
                     <?php _e(
22
-                        'Send a notification to registrants after processing?',
23
-                        'event_espresso'
24
-                    ); ?></p><br/>
22
+						'Send a notification to registrants after processing?',
23
+						'event_espresso'
24
+					); ?></p><br/>
25 25
                 <label></label>
26 26
             </div>
27 27
         <?php endif; ?>
Please login to merge, or discard this patch.
templates/attendee_details_after_title_form_fields.template.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,17 +8,17 @@
 block discarded – undo
8 8
         <div id="titlewrap">
9 9
             <label class="hidden" id="attendee-first-name-text" for="ATT_fname">
10 10
                 <?php _e(
11
-                    'First Name:',
12
-                    'event_espresso'
13
-                ); ?></label>
11
+					'First Name:',
12
+					'event_espresso'
13
+				); ?></label>
14 14
             <input type="text" class="smaller-text-field" name="ATT_fname"
15 15
                    value="<?php echo $attendee->get('ATT_fname'); ?>" id="ATT_fname"
16 16
                    placeholder="<?php _e('First Name', 'event_espresso'); ?>" required>
17 17
             <label class="hidden" id="attendee-first-name-text" for="ATT_lname">
18 18
                 <?php _e(
19
-                    'Last Name:',
20
-                    'event_espresso'
21
-                ); ?></label>
19
+					'Last Name:',
20
+					'event_espresso'
21
+				); ?></label>
22 22
             <input type="text" class="smaller-text-field" name="ATT_lname"
23 23
                    value="<?php echo $attendee->get('ATT_lname'); ?>" id="ATT_lname"
24 24
                    placeholder="<?php _e('Last Name', 'event_espresso'); ?>">
Please login to merge, or discard this patch.
templates/reg_admin_details_main_meta_box_reg_details.template.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -7,18 +7,18 @@  discard block
 block discarded – undo
7 7
 
8 8
     <h3 class="admin-primary-mbox-h4 hdr-has-icon"><span class="dashicons dashicons-clipboard"></span>
9 9
         <?php _e(
10
-            'Registration Items',
11
-            'event_espresso'
12
-        ); ?></h3>
10
+			'Registration Items',
11
+			'event_espresso'
12
+		); ?></h3>
13 13
 
14 14
     <?php echo $line_item_table; ?>
15 15
 
16 16
     <a id="display-additional-registration-session-info" class="display-the-hidden smaller-text"
17 17
        rel="additional-registration-session-info">
18 18
         <span class="dashicons dashicons-plus-alt"></span><?php _e(
19
-            'view additional registration session details',
20
-            'event_espresso'
21
-        ); ?>
19
+			'view additional registration session details',
20
+			'event_espresso'
21
+		); ?>
22 22
     </a>
23 23
 
24 24
     <div id="additional-registration-session-info-dv" class="hidden">
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
         <a id="hide-additional-registration-session-info" class="hide-the-displayed hidden smaller-text"
27 27
            rel="additional-registration-session-info">
28 28
             <span class="dashicons dashicons-dismiss"></span><?php _e(
29
-                'hide additional registration session details',
30
-                'event_espresso'
31
-            ); ?>
29
+				'hide additional registration session details',
30
+				'event_espresso'
31
+			); ?>
32 32
         </a>
33 33
         <br class="clear"/>
34 34
 
Please login to merge, or discard this patch.
templates/reg_admin_details_side_meta_box_registrant.template.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@  discard block
 block discarded – undo
26 26
 
27 27
 <p class="contact-details-buttons">
28 28
     <?php
29
-    if ($att_check instanceof EE_Attendee
30
-        && EE_Registry::instance()->CAP->current_user_can(
31
-            'ee_edit_contact',
32
-            'view_or_edit_contact_button',
33
-            $att_check->ID()
34
-        )) :
35
-    ?>
29
+	if ($att_check instanceof EE_Attendee
30
+		&& EE_Registry::instance()->CAP->current_user_can(
31
+			'ee_edit_contact',
32
+			'view_or_edit_contact_button',
33
+			$att_check->ID()
34
+		)) :
35
+	?>
36 36
     <a class="button button-small" href="<?php echo $att_edit_link; ?>"
37 37
        title="<?php echo esc_attr($att_edit_label); ?>">
38 38
         <span class="ee-icon ee-icon-user-edit"></span><?php echo $att_edit_label; ?>
@@ -40,15 +40,15 @@  discard block
 block discarded – undo
40 40
     <?php if (! empty($create_link)) : ?>
41 41
         <a class="button button-small" href="<?php echo $create_link; ?>"
42 42
            title="<?php
43
-                   esc_attr_e(
44
-                       'This registration shares the contact details for the primary registration in this group.  If you\'d like this registration to have its own details, you can do so by clicking this button',
45
-                       'event_espresso'
46
-                   ); ?>">
43
+				   esc_attr_e(
44
+					   'This registration shares the contact details for the primary registration in this group.  If you\'d like this registration to have its own details, you can do so by clicking this button',
45
+					   'event_espresso'
46
+				   ); ?>">
47 47
             <span class="ee-icon ee-icon-user-add-new"></span><?php echo $create_label; ?>
48 48
         </a>
49 49
     <?php endif; ?>
50 50
 <div style="clear:both"></div>
51 51
 <?php
52
-    endif;
52
+	endif;
53 53
 ?>
54 54
 </p>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
     <p class="clearfix">
3 3
         <span class="admin-side-mbox-label-spn lt-grey-txt float-left">
4 4
             <?php _e('Name', 'event_espresso'); ?>
5
-        </span><?php echo $fname . ' ' . $lname; ?>
5
+        </span><?php echo $fname.' '.$lname; ?>
6 6
     </p>
7 7
     <p class="clearfix">
8 8
         <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e('Email', 'event_espresso'); ?></span><a
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
        title="<?php echo esc_attr($att_edit_label); ?>">
38 38
         <span class="ee-icon ee-icon-user-edit"></span><?php echo $att_edit_label; ?>
39 39
     </a>
40
-    <?php if (! empty($create_link)) : ?>
40
+    <?php if ( ! empty($create_link)) : ?>
41 41
         <a class="button button-small" href="<?php echo $create_link; ?>"
42 42
            title="<?php
43 43
                    esc_attr_e(
Please login to merge, or discard this patch.
templates/reg_admin_details_main_meta_box_attendees.template.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
                 <tbody>
21 21
 
22 22
                 <?php
23
-                foreach ($attendees as $att_nmbr => $attendee) : ?>
23
+				foreach ($attendees as $att_nmbr => $attendee) : ?>
24 24
                     <tr class="ee-status-strip reg-status-<?php echo $attendee['STS_ID']; ?>"
25 25
                         style="display: table-row;">
26 26
                         <td class="jst-left"><?php echo $att_nmbr; ?></td>
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
                         </td>
34 34
                         <td class="jst-rght">
35 35
                             <?php echo $currency_sign . ' ' . number_format(
36
-                                $attendee['final_price'],
37
-                                2
38
-                            ); ?></td>
36
+								$attendee['final_price'],
37
+								2
38
+							); ?></td>
39 39
                         <td class="jst-left"><?php echo $attendee['email']; ?></td>
40 40
                         <td class="jst-left"><?php echo $attendee['address']; ?></td>
41 41
                         <!--<th class="jst-cntr">view</th>-->
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
     <br/>
4 4
     <?php // echo EEH_Debug_Tools::printr( $event_attendees, 'event_attendees' ); ?>
5 5
     <?php echo $attendee_notice; ?>
6
-    <?php if (! empty($attendees)) : ?>
6
+    <?php if ( ! empty($attendees)) : ?>
7 7
         <div class="admin-primary-mbox-tbl-wrap">
8 8
             <table id="reg-admin-transaction-attendees-table" class="admin-primary-mbox-tbl">
9 9
                 <thead>
@@ -28,11 +28,11 @@  discard block
 block discarded – undo
28 28
                         <td class="jst-left">
29 29
                             <a href="<?php echo $attendee['att_link']; ?>"
30 30
                                title="<?php esc_attr_e('View details for this attendee', 'event_espresso'); ?>">
31
-                                <?php echo $attendee['fname'] . ' ' . $attendee['lname']; ?>
31
+                                <?php echo $attendee['fname'].' '.$attendee['lname']; ?>
32 32
                             </a>
33 33
                         </td>
34 34
                         <td class="jst-rght">
35
-                            <?php echo $currency_sign . ' ' . number_format(
35
+                            <?php echo $currency_sign.' '.number_format(
36 36
                                 $attendee['final_price'],
37 37
                                 2
38 38
                             ); ?></td>
Please login to merge, or discard this patch.