Completed
Branch FET/refactor-editor-to-block-e... (8916a7)
by
unknown
33:31 queued 24:46
created
admin_pages/about/templates/reviews.template.php 2 patches
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@  discard block
 block discarded – undo
1 1
 <h2 style="text-align: left;"><?php esc_html_e('Who uses Event Espresso?', 'event_espresso'); ?></h2>
2 2
 <p><?php
3
-    echo sprintf(
4
-        esc_html__(
5
-            'Event Espresso is used by over 40,000 event organizers across the world. They host %sconferences%s, %sart classes%s, training courses, concerts, fundraisers, workshops, %sfilm festivals%s, %spaint and wine%s, and more.',
6
-            'event_espresso'
7
-        ),
8
-        '<a href="https://eventespresso.com/use-cases/conferences/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
9
-        '</a>',
10
-        '<a href="https://eventespresso.com/use-cases/art-classes/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
11
-        '</a>',
12
-        '<a href="https://eventespresso.com/use-cases/film-festival-ticketing-software/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
13
-        '</a>',
14
-        '<a href="https://eventespresso.com/use-cases/paint-wine-party-ticketing-software/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
15
-        '</a>'
16
-    ); ?></p>
3
+	echo sprintf(
4
+		esc_html__(
5
+			'Event Espresso is used by over 40,000 event organizers across the world. They host %sconferences%s, %sart classes%s, training courses, concerts, fundraisers, workshops, %sfilm festivals%s, %spaint and wine%s, and more.',
6
+			'event_espresso'
7
+		),
8
+		'<a href="https://eventespresso.com/use-cases/conferences/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
9
+		'</a>',
10
+		'<a href="https://eventespresso.com/use-cases/art-classes/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
11
+		'</a>',
12
+		'<a href="https://eventespresso.com/use-cases/film-festival-ticketing-software/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
13
+		'</a>',
14
+		'<a href="https://eventespresso.com/use-cases/paint-wine-party-ticketing-software/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
15
+		'</a>'
16
+	); ?></p>
17 17
 
18 18
 <div class="changelog">
19 19
     <h2 class="about-headline-callout"><?php _e('Rave Reviews About Event Espresso 4', 'event_espresso'); ?></h2>
@@ -136,16 +136,16 @@  discard block
 block discarded – undo
136 136
 
137 137
     </div>
138 138
     <?php
139
-    if (! defined('EE_CAF_URL')) {
140
-        ?>
139
+	if (! defined('EE_CAF_URL')) {
140
+		?>
141 141
         <div align="right"><a
142 142
                 href="https://eventespresso.com/pricing/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=reviews+tab"
143 143
                 target="_blank" class="button button-primary button-hero"><span
144 144
                     class="dashicons dashicons-cart"></span><?php esc_html_e('Upgrade Now!', 'event_espresso') ?></a>
145 145
         </div>
146 146
         <?php
147
-    }
148
-    ?>
147
+	}
148
+	?>
149 149
     &nbsp;
150 150
     <hr/>
151 151
     <div class="feature-section col three-col about-updates">
@@ -256,16 +256,16 @@  discard block
 block discarded – undo
256 256
 
257 257
     </div>
258 258
     <?php
259
-    if (! defined('EE_CAF_URL')) {
260
-        ?>
259
+	if (! defined('EE_CAF_URL')) {
260
+		?>
261 261
         <div align="right"><a
262 262
                 href="https://eventespresso.com/pricing/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=reviews+tab"
263 263
                 target="_blank" class="button button-primary button-hero"><span
264 264
                     class="dashicons dashicons-cart"></span><?php esc_html_e('Upgrade Now!', 'event_espresso') ?></a>
265 265
         </div>
266 266
         <?php
267
-    }
268
-    ?>
267
+	}
268
+	?>
269 269
     &nbsp;
270 270
     <hr/>
271 271
     <div class="feature-section col three-col about-updates">
@@ -367,14 +367,14 @@  discard block
 block discarded – undo
367 367
         </div>
368 368
     </div>
369 369
     <?php
370
-    if (! defined('EE_CAF_URL')) {
371
-        ?>
370
+	if (! defined('EE_CAF_URL')) {
371
+		?>
372 372
         <div align="right"><a
373 373
                 href="https://eventespresso.com/pricing/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=reviews+tab"
374 374
                 target="_blank" class="button button-primary button-hero"><span
375 375
                     class="dashicons dashicons-cart"></span><?php esc_html_e('Upgrade Now!', 'event_espresso') ?></a>
376 376
         </div>
377 377
         <?php
378
-    }
379
-    ?>
378
+	}
379
+	?>
380 380
 </div>
381 381
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
     </div>
138 138
     <?php
139
-    if (! defined('EE_CAF_URL')) {
139
+    if ( ! defined('EE_CAF_URL')) {
140 140
         ?>
141 141
         <div align="right"><a
142 142
                 href="https://eventespresso.com/pricing/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=reviews+tab"
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
 
257 257
     </div>
258 258
     <?php
259
-    if (! defined('EE_CAF_URL')) {
259
+    if ( ! defined('EE_CAF_URL')) {
260 260
         ?>
261 261
         <div align="right"><a
262 262
                 href="https://eventespresso.com/pricing/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=reviews+tab"
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
         </div>
368 368
     </div>
369 369
     <?php
370
-    if (! defined('EE_CAF_URL')) {
370
+    if ( ! defined('EE_CAF_URL')) {
371 371
         ?>
372 372
         <div align="right"><a
373 373
                 href="https://eventespresso.com/pricing/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=reviews+tab"
Please login to merge, or discard this patch.
admin_pages/about/templates/credits.template.php 2 patches
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <p class="about-description">
2 2
     <?php _e(
3
-        'Event Espresso is created by an international team of passionate individuals with a drive to empower your events!',
4
-        'event_espresso'
5
-    ); ?></p>
3
+		'Event Espresso is created by an international team of passionate individuals with a drive to empower your events!',
4
+		'event_espresso'
5
+	); ?></p>
6 6
 <h3 class="wp-people-group"><?php _e('Founders', 'event_espresso'); ?></h3>
7 7
 <ul class="wp-people-group" id="ee-people-group-owners">
8 8
     <li class="wp-person" id="ee-person-sshoultes">
@@ -94,13 +94,13 @@  discard block
 block discarded – undo
94 94
 <h3 class="wp-people-group"><?php _e('Contributor Recognition', 'event_espresso'); ?></h3>
95 95
 <p class="description">
96 96
     <?php printf(
97
-        __(
98
-            'For every major release we want to recognize the people who contributed to the release via a GitHub pull request. Want to see your name listed here? %sWhen you submit a pull request that gets included in a major release%s, we\'ll add your name here linked to your GitHub profile.',
99
-            'event_espresso'
100
-        ),
101
-        '<a href="https://github.com/eventespresso/event-espresso-core" title="Contribute to Event Espresso by making a pull request via GitHub">',
102
-        '</a>'
103
-    ); ?>
97
+		__(
98
+			'For every major release we want to recognize the people who contributed to the release via a GitHub pull request. Want to see your name listed here? %sWhen you submit a pull request that gets included in a major release%s, we\'ll add your name here linked to your GitHub profile.',
99
+			'event_espresso'
100
+		),
101
+		'<a href="https://github.com/eventespresso/event-espresso-core" title="Contribute to Event Espresso by making a pull request via GitHub">',
102
+		'</a>'
103
+	); ?>
104 104
 </p>
105 105
 <p class="wp-credits-list">
106 106
 <ul>
@@ -115,43 +115,43 @@  discard block
 block discarded – undo
115 115
 <h3 class="wp-people-group"><?php _e('External Libraries', 'event_espresso'); ?></h3>
116 116
 <p class="description">
117 117
     <?php printf(
118
-        __(
119
-            'Along with the libraries %sincluded with WordPress%s, Event Espresso utilizes the following third party libraries:',
120
-            'event_espresso'
121
-        ),
122
-        '<a href="credits.php">',
123
-        '</a>'
124
-    ); ?>
118
+		__(
119
+			'Along with the libraries %sincluded with WordPress%s, Event Espresso utilizes the following third party libraries:',
120
+			'event_espresso'
121
+		),
122
+		'<a href="credits.php">',
123
+		'</a>'
124
+	); ?>
125 125
 </p>
126 126
 <p class="wp-credits-list">
127 127
     <a href="http://josscrowcroft.github.io/accounting.js/"><?php _e('accounting.js', 'event_espresso'); ?></a>,
128 128
     <a href="http://dompdf.github.io/"><?php _e('dompdf', 'event_espresso'); ?></a>,
129 129
     <a href="http://zurb.com/playground/jquery-joyride-feature-tour-plugin">
130 130
         <?php _e(
131
-            'joyride2',
132
-            'event_espresso'
133
-        ); ?></a>,
131
+			'joyride2',
132
+			'event_espresso'
133
+		); ?></a>,
134 134
     <a href="http://raveren.github.io/kint/"><?php _e('Kint', 'event_espresso'); ?></a>,
135 135
     <a href="http://momentjs.com/"><?php _e('Moment.js', 'event_espresso'); ?></a>,
136 136
     <a href="http://qtip2.com/"><?php _e('qTip2', 'event_espresso'); ?></a>,
137 137
     <a href="http://trentrichardson.com/examples/timepicker/"><?php _e('jQuery UI Timepicker', 'event_espresso'); ?></a>,
138 138
     <a href="https://github.com/jhogendorn/jQuery-serializeFullArray">
139 139
         <?php _e(
140
-            'SerializeFullArray',
141
-            'event_espresso'
142
-        ); ?></a>
140
+			'SerializeFullArray',
141
+			'event_espresso'
142
+		); ?></a>
143 143
     <a href="https://github.com/jzaefferer/jquery-validation"><?php _e('jQuery Validation', 'event_espresso'); ?></a>
144 144
 </p>
145 145
 
146 146
 <?php
147 147
 function esp_gravatar_profile($email)
148 148
 {
149
-    echo 'http://www.gravatar.com/' . md5($email);
149
+	echo 'http://www.gravatar.com/' . md5($email);
150 150
 }
151 151
 
152 152
 function esp_gravatar_image($email, $name)
153 153
 {
154
-    echo '<img src="http://0.gravatar.com/avatar/' . md5($email) . '?s=60" class="gravatar" alt="' . $name . '"/>';
154
+	echo '<img src="http://0.gravatar.com/avatar/' . md5($email) . '?s=60" class="gravatar" alt="' . $name . '"/>';
155 155
 }
156 156
 
157 157
 ?>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,12 +146,12 @@
 block discarded – undo
146 146
 <?php
147 147
 function esp_gravatar_profile($email)
148 148
 {
149
-    echo 'http://www.gravatar.com/' . md5($email);
149
+    echo 'http://www.gravatar.com/'.md5($email);
150 150
 }
151 151
 
152 152
 function esp_gravatar_image($email, $name)
153 153
 {
154
-    echo '<img src="http://0.gravatar.com/avatar/' . md5($email) . '?s=60" class="gravatar" alt="' . $name . '"/>';
154
+    echo '<img src="http://0.gravatar.com/avatar/'.md5($email).'?s=60" class="gravatar" alt="'.$name.'"/>';
155 155
 }
156 156
 
157 157
 ?>
Please login to merge, or discard this patch.
admin_pages/about/templates/ee4-overview.template.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -1,88 +1,88 @@  discard block
 block discarded – undo
1 1
 <div class="changelog">
2 2
     <?php
3
-    // maintenance mode on?
4
-    if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) {
5
-        ?>
3
+	// maintenance mode on?
4
+	if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) {
5
+		?>
6 6
         <div class="ee-attention">
7 7
             <h2 class="ee-maintenance-mode-callout">
8 8
                 <?php esc_html_e(
9
-                    'Event Espresso is in full maintenance mode.',
10
-                    'event_espresso'
11
-                ); ?></h2>
9
+					'Event Espresso is in full maintenance mode.',
10
+					'event_espresso'
11
+				); ?></h2>
12 12
             <p>
13 13
                 <?php
14
-                printf(
15
-                    esc_html__(
16
-                        'A previous version of Event Espresso has detected. But before anything else can happen, we need to know whether or not to migrate (copy over) your existing event data so that it can be utilized by EE4. For more instructions on what to do, please visit the %sEvent Espresso Maintenance%s page.',
17
-                        'event_espresso'
18
-                    ),
19
-                    '<a href="admin.php?page=espresso_maintenance_settings">',
20
-                    '</a>'
21
-                );
22
-                ?>
14
+				printf(
15
+					esc_html__(
16
+						'A previous version of Event Espresso has detected. But before anything else can happen, we need to know whether or not to migrate (copy over) your existing event data so that it can be utilized by EE4. For more instructions on what to do, please visit the %sEvent Espresso Maintenance%s page.',
17
+						'event_espresso'
18
+					),
19
+					'<a href="admin.php?page=espresso_maintenance_settings">',
20
+					'</a>'
21
+				);
22
+				?>
23 23
             </p>
24 24
         </div>
25 25
         <?php
26
-    }
27
-    ?>
26
+	}
27
+	?>
28 28
 
29 29
     <h2 class="about-headline-callout">
30 30
         <?php esc_html_e(
31
-            'Welcome to the Decaf (free) Version of Event Espresso 4!',
32
-            'event_espresso'
33
-        ); ?></h2>
31
+			'Welcome to the Decaf (free) Version of Event Espresso 4!',
32
+			'event_espresso'
33
+		); ?></h2>
34 34
     <p><?php
35
-        echo sprintf(
36
-            esc_html__(
37
-                'Manage your events from your WordPress dashboard. Reduce your admin, reduce your costs, make your life easier! This is the Decaf version of Event Espresso, but we also have a premium version called %sEvent Espreso 4 Regular%s and a hosted version called %sEvent Smart%s (SaaS).',
38
-                'event_espresso'
39
-            ),
40
-            '<a href="?page=espresso_about&action=decafvpro">',
41
-            '</a>',
42
-            '<a href="https://eventsmart.com//?utm_source=ee4_decaf&amp;utm_medium=link&amp;utm_campaign=espresso_about_tab&amp;utm_content=EE4+Decaf">',
43
-            '</a>'
44
-        ); ?></p>
35
+		echo sprintf(
36
+			esc_html__(
37
+				'Manage your events from your WordPress dashboard. Reduce your admin, reduce your costs, make your life easier! This is the Decaf version of Event Espresso, but we also have a premium version called %sEvent Espreso 4 Regular%s and a hosted version called %sEvent Smart%s (SaaS).',
38
+				'event_espresso'
39
+			),
40
+			'<a href="?page=espresso_about&action=decafvpro">',
41
+			'</a>',
42
+			'<a href="https://eventsmart.com//?utm_source=ee4_decaf&amp;utm_medium=link&amp;utm_campaign=espresso_about_tab&amp;utm_content=EE4+Decaf">',
43
+			'</a>'
44
+		); ?></p>
45 45
     <h2>
46 46
         <?php esc_html_e(
47
-            'Powering 40,000+ event websites; $100 million in ticket sales per year!',
48
-            'event_espresso'
49
-        ); ?></h2>
47
+			'Powering 40,000+ event websites; $100 million in ticket sales per year!',
48
+			'event_espresso'
49
+		); ?></h2>
50 50
     <p><?php
51
-        echo sprintf(
52
-            esc_html__(
53
-                'Event Espresso is a %sWordPress event manager%s which makes it easy for you to register attendees for classes, workshops, events, trainings, conferences or concerts, all from your WordPress website. Event Espresso events are created from the WordPress admin area. You can create signup forms to collect information about your attendees, accept payments, and create reports. The Decaf (free) version of the plugin provides everything that you need to manage your event using WordPress.',
54
-                'event_espresso'
55
-            ),
56
-            '<a href="http://eventespresso.com/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=plugin_description_tab&amp;utm_content=EE4+Decaf">',
57
-            '</a>'
58
-        ); ?></p>
51
+		echo sprintf(
52
+			esc_html__(
53
+				'Event Espresso is a %sWordPress event manager%s which makes it easy for you to register attendees for classes, workshops, events, trainings, conferences or concerts, all from your WordPress website. Event Espresso events are created from the WordPress admin area. You can create signup forms to collect information about your attendees, accept payments, and create reports. The Decaf (free) version of the plugin provides everything that you need to manage your event using WordPress.',
54
+				'event_espresso'
55
+			),
56
+			'<a href="http://eventespresso.com/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=plugin_description_tab&amp;utm_content=EE4+Decaf">',
57
+			'</a>'
58
+		); ?></p>
59 59
     <div class="feature-section col three-col about-updates">
60 60
         <div class="col-1">
61 61
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/publish_meta_box.jpg">
62 62
             <h3><?php esc_html_e('Optimized aesthetic', 'event_espresso'); ?></h3>
63 63
             <p><?php
64
-                esc_html_e(
65
-                    'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.',
66
-                    'event_espresso'
67
-                ); ?></p>
64
+				esc_html_e(
65
+					'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.',
66
+					'event_espresso'
67
+				); ?></p>
68 68
         </div>
69 69
         <div class="col-2">
70 70
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/registrations-overview.jpg">
71 71
             <h3><?php esc_html_e('Integrated management', 'event_espresso'); ?></h3>
72 72
             <p><?php
73
-                esc_html_e(
74
-                    'We’ve made it easier to know who your customers are and how they’ve done business with you over time.',
75
-                    'event_espresso'
76
-                ); ?></p>
73
+				esc_html_e(
74
+					'We’ve made it easier to know who your customers are and how they’ve done business with you over time.',
75
+					'event_espresso'
76
+				); ?></p>
77 77
         </div>
78 78
         <div class="col-3 last-feature">
79 79
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/refined-bookkeeping.jpg">
80 80
             <h3><?php esc_html_e('Easy bookkeeping', 'event_espresso'); ?></h3>
81 81
             <p><?php
82
-                esc_html_e(
83
-                    'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.',
84
-                    'event_espresso'
85
-                ); ?></p>
82
+				esc_html_e(
83
+					'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.',
84
+					'event_espresso'
85
+				); ?></p>
86 86
         </div>
87 87
     </div>
88 88
 
@@ -94,16 +94,16 @@  discard block
 block discarded – undo
94 94
         <div>
95 95
             <h3><?php esc_html_e('Higher customer retention', 'event_espresso'); ?></h3>
96 96
             <p><?php
97
-                esc_html_e(
98
-                    'The Event Espresso 4 registration process is faster than ever. With quick ticket selections, single page check-out, and customizable notifications! Registration that can scale to your business needs.',
99
-                    'event_espresso'
100
-                ); ?></p>
97
+				esc_html_e(
98
+					'The Event Espresso 4 registration process is faster than ever. With quick ticket selections, single page check-out, and customizable notifications! Registration that can scale to your business needs.',
99
+					'event_espresso'
100
+				); ?></p>
101 101
             <h4><?php esc_html_e('Ticket selection boxes on any post page or post', 'event_espresso'); ?></h4>
102 102
             <p><?php
103
-                esc_html_e(
104
-                    'Customers can easily register for classes, events, or conferences, in just a few simple steps. No matter how you use it, Event Espresso 4 will adapt to a multitude of different ticketing and pricing scenarios.',
105
-                    'event_espresso'
106
-                ); ?></p>
103
+				esc_html_e(
104
+					'Customers can easily register for classes, events, or conferences, in just a few simple steps. No matter how you use it, Event Espresso 4 will adapt to a multitude of different ticketing and pricing scenarios.',
105
+					'event_espresso'
106
+				); ?></p>
107 107
         </div>
108 108
         <div class="last-feature about-colors-img">
109 109
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/registrtation-page-large.jpg">
@@ -117,22 +117,22 @@  discard block
 block discarded – undo
117 117
         <div>
118 118
             <h3><?php esc_html_e('Refined event management', 'event_espresso'); ?></h3>
119 119
             <p><?php
120
-                esc_html_e(
121
-                    'The new event management screen lets you survey your events at a glance. Want more information? Click to view more. Quickly add/edit prices, dates, or information in any event.',
122
-                    'event_espresso'
123
-                ); ?></p>
120
+				esc_html_e(
121
+					'The new event management screen lets you survey your events at a glance. Want more information? Click to view more. Quickly add/edit prices, dates, or information in any event.',
122
+					'event_espresso'
123
+				); ?></p>
124 124
             <h4><?php
125
-                esc_html_e('Smoother price types, taxes, and price modifiers', 'event_espresso'); ?></h4>
125
+				esc_html_e('Smoother price types, taxes, and price modifiers', 'event_espresso'); ?></h4>
126 126
             <p><?php
127
-                esc_html_e(
128
-                    'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket',
129
-                    'event_espresso'
130
-                ); ?>.</p>
127
+				esc_html_e(
128
+					'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket',
129
+					'event_espresso'
130
+				); ?>.</p>
131 131
             <p><?php
132
-                esc_html_e(
133
-                    'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.',
134
-                    'event_espresso'
135
-                ); ?></p>
132
+				esc_html_e(
133
+					'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.',
134
+					'event_espresso'
135
+				); ?></p>
136 136
         </div>
137 137
         <div class="last-feature about-themes-img">
138 138
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/event-management.jpg">
@@ -144,68 +144,68 @@  discard block
 block discarded – undo
144 144
 
145 145
 <div class="changelog about-event-espresso">
146 146
     <h2 class="about-headline-callout"><?php
147
-        esc_html_e(
148
-            'People Like You Manage Event Registration with WordPress',
149
-            'event_espresso'
150
-        ); ?></h2>
147
+		esc_html_e(
148
+			'People Like You Manage Event Registration with WordPress',
149
+			'event_espresso'
150
+		); ?></h2>
151 151
     <div class="feature-section col two-col">
152 152
         <div class="grid_6">
153 153
             <p><?php
154
-                echo sprintf(
155
-                    esc_html__(
156
-                        'Trusted by thousands, Event Espresso is the best WordPress event online registration and ticketing manager plugin–and the best supported with full-time support. Turn your existing blog or website into a %sfully-featured event management website%s and a new way to make money. With Event Espresso you get it all; everything from custom registration forms and emails, seating limits, multiple price options, and discount codes to printable tickets.',
157
-                        'event_espresso'
158
-                    ),
159
-                    '<strong>',
160
-                    '</strong>'
161
-                ); ?></p>
154
+				echo sprintf(
155
+					esc_html__(
156
+						'Trusted by thousands, Event Espresso is the best WordPress event online registration and ticketing manager plugin–and the best supported with full-time support. Turn your existing blog or website into a %sfully-featured event management website%s and a new way to make money. With Event Espresso you get it all; everything from custom registration forms and emails, seating limits, multiple price options, and discount codes to printable tickets.',
157
+						'event_espresso'
158
+					),
159
+					'<strong>',
160
+					'</strong>'
161
+				); ?></p>
162 162
             <p><?php
163
-                esc_html_e(
164
-                    'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.',
165
-                    'event_espresso'
166
-                ); ?></p>
163
+				esc_html_e(
164
+					'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.',
165
+					'event_espresso'
166
+				); ?></p>
167 167
         </div>
168 168
         <div class="grid_6">
169 169
             <p><?php
170
-                echo sprintf(
171
-                    esc_html__(
172
-                        'Our online event registration software can %smake your organization more profitable and efficient%s by helping you save money on registration and ticketing fees, reduce the countless hours of time you spend manually processing registrations, create a “green” and paperless event registration process and you will be open for business to accept registrations and payment 24/7.',
173
-                        'event_espresso'
174
-                    ),
175
-                    '<strong>',
176
-                    '</strong>'
177
-                ); ?></p>
170
+				echo sprintf(
171
+					esc_html__(
172
+						'Our online event registration software can %smake your organization more profitable and efficient%s by helping you save money on registration and ticketing fees, reduce the countless hours of time you spend manually processing registrations, create a “green” and paperless event registration process and you will be open for business to accept registrations and payment 24/7.',
173
+						'event_espresso'
174
+					),
175
+					'<strong>',
176
+					'</strong>'
177
+				); ?></p>
178 178
             <p><?php
179
-                esc_html_e(
180
-                    'If you\'re doing event registration and ticketing any other way, then you’re wasting time and money. We offer packages and prices to fit any budget, so get started with your online event registration and ticketing management system today.',
181
-                    'event_espresso'
182
-                ); ?></p>
179
+				esc_html_e(
180
+					'If you\'re doing event registration and ticketing any other way, then you’re wasting time and money. We offer packages and prices to fit any budget, so get started with your online event registration and ticketing management system today.',
181
+					'event_espresso'
182
+				); ?></p>
183 183
         </div>
184 184
     </div>
185 185
 
186 186
     <div class="feature-section col two-col">
187 187
         <div>
188 188
             <h3><?php
189
-                esc_html_e(
190
-                    'Turn your blog into a complete event registration and management system',
191
-                    'event_espresso'
192
-                ); ?></h3>
189
+				esc_html_e(
190
+					'Turn your blog into a complete event registration and management system',
191
+					'event_espresso'
192
+				); ?></h3>
193 193
             <p><?php
194
-                esc_html_e(
195
-                    'Create a beautiful event page with ticket selection, venue details, and an integrated single page checkout system. With WordPress, Event Espresso, and Espresso Arabica 2014 (based on the "Twenty Fourteen" theme by WordPress), your events will certainly sell out faster than ever!',
196
-                    'event_espresso'
197
-                ); ?></p>
194
+				esc_html_e(
195
+					'Create a beautiful event page with ticket selection, venue details, and an integrated single page checkout system. With WordPress, Event Espresso, and Espresso Arabica 2014 (based on the "Twenty Fourteen" theme by WordPress), your events will certainly sell out faster than ever!',
196
+					'event_espresso'
197
+				); ?></p>
198 198
             <p><?php
199
-                esc_html_e(
200
-                    'With a striking design that does not compromise the simplicity of WordPress and Event Espresso 4, Espresso Arabica 2014 will be the best event theme on the market.',
201
-                    'event_espresso'
202
-                ); ?></p>
199
+				esc_html_e(
200
+					'With a striking design that does not compromise the simplicity of WordPress and Event Espresso 4, Espresso Arabica 2014 will be the best event theme on the market.',
201
+					'event_espresso'
202
+				); ?></p>
203 203
             <p><?php
204
-                echo sprintf(
205
-                    esc_html__('%sLearn more >>%s', 'event_espresso'),
206
-                    '<a href="http://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">',
207
-                    '</a>'
208
-                ); ?></p>
204
+				echo sprintf(
205
+					esc_html__('%sLearn more >>%s', 'event_espresso'),
206
+					'<a href="http://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">',
207
+					'</a>'
208
+				); ?></p>
209 209
         </div>
210 210
         <div><img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/single-event-page.jpg"></div>
211 211
     </div>
@@ -216,10 +216,10 @@  discard block
 block discarded – undo
216 216
 
217 217
 <h3><?php esc_html_e('Pick a theme, any theme', 'event_espresso'); ?></h3>
218 218
 <p><?php
219
-    esc_html_e(
220
-        'We’ve made it super easy to integrate Event Espresso with almost any properly coded WordPress theme, including many of the thousands of themes available on WordPress.org. The image below shows the same Event Espresso ticketing page across three diffrent WordPress themes.',
221
-        'event_espresso'
222
-    ); ?></p>
219
+	esc_html_e(
220
+		'We’ve made it super easy to integrate Event Espresso with almost any properly coded WordPress theme, including many of the thousands of themes available on WordPress.org. The image below shows the same Event Espresso ticketing page across three diffrent WordPress themes.',
221
+		'event_espresso'
222
+	); ?></p>
223 223
 <p><img class="about-overview-img" src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/multiple-themes.jpg"/></p>
224 224
 <hr>
225 225
 
Please login to merge, or discard this patch.
admin_pages/about/templates/decafvpro.template.php 1 patch
Indentation   +57 added lines, -57 removed lines patch added patch discarded remove patch
@@ -1,64 +1,64 @@  discard block
 block discarded – undo
1 1
 <p><?php
2
-    echo sprintf(
3
-        esc_html__(
4
-            'We offer a free version of Event Espresso 4 called Decaf which is a good fit for basic events. Need more features like custom registration forms and advanced email notifications? %sUpgrade to Event Espresso 4 (Regular)%s.',
5
-            'event_espresso'
6
-        ),
7
-        '<a href="https://eventespresso.com/pricing/?ee_ver=ee4&utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
8
-        '</a>'
9
-    ); ?><br>
2
+	echo sprintf(
3
+		esc_html__(
4
+			'We offer a free version of Event Espresso 4 called Decaf which is a good fit for basic events. Need more features like custom registration forms and advanced email notifications? %sUpgrade to Event Espresso 4 (Regular)%s.',
5
+			'event_espresso'
6
+		),
7
+		'<a href="https://eventespresso.com/pricing/?ee_ver=ee4&utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
8
+		'</a>'
9
+	); ?><br>
10 10
 
11 11
     <?php
12 12
 
13
-    /**
14
-     * Features
15
-     */
13
+	/**
14
+	 * Features
15
+	 */
16 16
 
17
-    $features = array(
18
-        'pricing-options'        => array(
19
-            'label'   => esc_html__('Handle multiple dates and pricing options', 'event_espresso'),
20
-            'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
21
-            'regular' => '<span class="dashicons dashicons-yes"></span></i>',
22
-            'class'   => 'alternate',
23
-        ),
24
-        'custom-registration'    => array(
25
-            'label'   => esc_html__('Create custom registration forms', 'event_espresso'),
26
-            'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
27
-            'regular' => '<span class="dashicons dashicons-yes"></span></i>',
28
-            'class'   => 'none',
29
-        ),
30
-        'advanced-notifications' => array(
31
-            'label'   => esc_html__('Customize advanced email notifications', 'event_espresso'),
32
-            'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
33
-            'regular' => '<span class="dashicons dashicons-yes"></span></i>',
34
-            'class'   => 'alternate',
35
-        ),
36
-        'manage-taxes'           => array(
37
-            'label'   => esc_html__('Manage taxes', 'event_espresso'),
38
-            'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
39
-            'regular' => '<span class="dashicons dashicons-yes"></span></i>',
40
-            'class'   => 'none',
41
-        ),
42
-        'typography'             => array(
43
-            'label'   => esc_html__('Additional payment methods available', 'event_espresso'),
44
-            'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
45
-            'regular' => '<span class="dashicons dashicons-yes"></span></i>',
46
-            'class'   => 'alternate',
47
-        ),
48
-        'add-on-compatibility'   => array(
49
-            'label'   => esc_html__('Compatibility with add-ons', 'event_espresso'),
50
-            'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
51
-            'regular' => '<span class="dashicons dashicons-yes"></span></i>',
52
-            'class'   => 'none',
53
-        ),
54
-        'best-support'           => array(
55
-            'label'   => esc_html__('Best in class support', 'event_espresso'),
56
-            'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
57
-            'regular' => '<span class="dashicons dashicons-yes"></span></i>',
58
-            'class'   => 'alternate',
59
-        ),
60
-    );
61
-    ?>
17
+	$features = array(
18
+		'pricing-options'        => array(
19
+			'label'   => esc_html__('Handle multiple dates and pricing options', 'event_espresso'),
20
+			'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
21
+			'regular' => '<span class="dashicons dashicons-yes"></span></i>',
22
+			'class'   => 'alternate',
23
+		),
24
+		'custom-registration'    => array(
25
+			'label'   => esc_html__('Create custom registration forms', 'event_espresso'),
26
+			'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
27
+			'regular' => '<span class="dashicons dashicons-yes"></span></i>',
28
+			'class'   => 'none',
29
+		),
30
+		'advanced-notifications' => array(
31
+			'label'   => esc_html__('Customize advanced email notifications', 'event_espresso'),
32
+			'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
33
+			'regular' => '<span class="dashicons dashicons-yes"></span></i>',
34
+			'class'   => 'alternate',
35
+		),
36
+		'manage-taxes'           => array(
37
+			'label'   => esc_html__('Manage taxes', 'event_espresso'),
38
+			'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
39
+			'regular' => '<span class="dashicons dashicons-yes"></span></i>',
40
+			'class'   => 'none',
41
+		),
42
+		'typography'             => array(
43
+			'label'   => esc_html__('Additional payment methods available', 'event_espresso'),
44
+			'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
45
+			'regular' => '<span class="dashicons dashicons-yes"></span></i>',
46
+			'class'   => 'alternate',
47
+		),
48
+		'add-on-compatibility'   => array(
49
+			'label'   => esc_html__('Compatibility with add-ons', 'event_espresso'),
50
+			'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
51
+			'regular' => '<span class="dashicons dashicons-yes"></span></i>',
52
+			'class'   => 'none',
53
+		),
54
+		'best-support'           => array(
55
+			'label'   => esc_html__('Best in class support', 'event_espresso'),
56
+			'decaf'   => '<span class="dashicons dashicons-no-alt"></span>',
57
+			'regular' => '<span class="dashicons dashicons-yes"></span></i>',
58
+			'class'   => 'alternate',
59
+		),
60
+	);
61
+	?>
62 62
 <div class="featured-section features">
63 63
     <table class="decaf-regular-table">
64 64
         <thead>
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         </thead>
71 71
         <tbody>
72 72
         <?php
73
-        foreach ($features as $feature) : ?>
73
+		foreach ($features as $feature) : ?>
74 74
             <tr class="<?php echo $feature['class']; ?>">
75 75
                 <td class="feature">
76 76
                     <h3>
Please login to merge, or discard this patch.
admin_pages/about/templates/whats_new.template.php 2 patches
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -4,52 +4,52 @@
 block discarded – undo
4 4
     <?php $type = 'minor'; ?>
5 5
     <?php // $type = 'major'; ?>
6 6
     <p><?php
7
-        printf(
8
-            __('<strong>Version %1$s</strong> is a %2$s bug fix/enhancement release.', 'event_espresso'),
9
-            EVENT_ESPRESSO_VERSION,
10
-            $type
11
-        ); ?>
7
+		printf(
8
+			__('<strong>Version %1$s</strong> is a %2$s bug fix/enhancement release.', 'event_espresso'),
9
+			EVENT_ESPRESSO_VERSION,
10
+			$type
11
+		); ?>
12 12
         <?php
13
-        $ver = explode('.', EVENT_ESPRESSO_VERSION);
14
-        array_pop($ver);
15
-        $ver = implode('.', $ver);
16
-        ?>
13
+		$ver = explode('.', EVENT_ESPRESSO_VERSION);
14
+		array_pop($ver);
15
+		$ver = implode('.', $ver);
16
+		?>
17 17
         <?php
18
-        printf(
19
-            __('For more information, see <a href="%s">the release notes</a>.', 'event_espresso'),
20
-            'http://eventespresso.com/wiki/ee4-changelog/#' . $ver
21
-        ); ?>
18
+		printf(
19
+			__('For more information, see <a href="%s">the release notes</a>.', 'event_espresso'),
20
+			'http://eventespresso.com/wiki/ee4-changelog/#' . $ver
21
+		); ?>
22 22
     </p>
23 23
 </div>
24 24
 
25 25
 <div class="changelog">
26 26
     <?php
27
-    // maintenance mode on?
28
-    if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) {
29
-        ?>
27
+	// maintenance mode on?
28
+	if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) {
29
+		?>
30 30
         <div class="ee-attention">
31 31
             <h2 class="ee-maintenance-mode-callout">
32 32
                 <?php
33
-                _e(
34
-                    'Event Espresso is in full maintenance mode.',
35
-                    'event_espresso'
36
-                ); ?></h2>
33
+				_e(
34
+					'Event Espresso is in full maintenance mode.',
35
+					'event_espresso'
36
+				); ?></h2>
37 37
             <p>
38 38
                 <?php
39
-                printf(
40
-                    __(
41
-                        'A previous version of Event Espresso has detected. But before anything else can happen, we need to know whether or not to migrate (copy over) your existing event data so that it can be utilized by EE4. For more instructions on what to do, please visit the %sEvent Espresso Maintenance%s page.',
42
-                        'event_espresso'
43
-                    ),
44
-                    '<a href="admin.php?page=espresso_maintenance_settings">',
45
-                    '</a>'
46
-                );
47
-                ?>
39
+				printf(
40
+					__(
41
+						'A previous version of Event Espresso has detected. But before anything else can happen, we need to know whether or not to migrate (copy over) your existing event data so that it can be utilized by EE4. For more instructions on what to do, please visit the %sEvent Espresso Maintenance%s page.',
42
+						'event_espresso'
43
+					),
44
+					'<a href="admin.php?page=espresso_maintenance_settings">',
45
+					'</a>'
46
+				);
47
+				?>
48 48
             </p>
49 49
         </div>
50 50
         <?php
51
-    }
52
-    ?>
51
+	}
52
+	?>
53 53
 
54 54
 
55 55
     <h2 class="about-headline-callout">Initial EE4 Decaf (free) Release</h2>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         <?php
18 18
         printf(
19 19
             __('For more information, see <a href="%s">the release notes</a>.', 'event_espresso'),
20
-            'http://eventespresso.com/wiki/ee4-changelog/#' . $ver
20
+            'http://eventespresso.com/wiki/ee4-changelog/#'.$ver
21 21
         ); ?>
22 22
     </p>
23 23
 </div>
Please login to merge, or discard this patch.
admin_pages/about/About_Admin_Page_Init.core.php 2 patches
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -14,37 +14,37 @@
 block discarded – undo
14 14
 class About_Admin_Page_Init extends EE_Admin_Page_Init
15 15
 {
16 16
 
17
-    public function __construct()
18
-    {
19
-        // define some events related constants
20
-        define('EE_ABOUT_PG_SLUG', 'espresso_about');
21
-        define('EE_ABOUT_LABEL', __('About', 'event_espresso'));
22
-        define('EE_ABOUT_ADMIN', EE_ADMIN_PAGES . 'about' . DS);
23
-        define('EE_ABOUT_ADMIN_URL', admin_url('admin.php?page=' . EE_ABOUT_PG_SLUG));
24
-        define('EE_ABOUT_TEMPLATE_PATH', EE_ABOUT_ADMIN . 'templates' . DS);
25
-        define('EE_ABOUT_ASSETS_URL', EE_ADMIN_PAGES_URL . 'about/assets/');
26
-        parent::__construct();
27
-    }
17
+	public function __construct()
18
+	{
19
+		// define some events related constants
20
+		define('EE_ABOUT_PG_SLUG', 'espresso_about');
21
+		define('EE_ABOUT_LABEL', __('About', 'event_espresso'));
22
+		define('EE_ABOUT_ADMIN', EE_ADMIN_PAGES . 'about' . DS);
23
+		define('EE_ABOUT_ADMIN_URL', admin_url('admin.php?page=' . EE_ABOUT_PG_SLUG));
24
+		define('EE_ABOUT_TEMPLATE_PATH', EE_ABOUT_ADMIN . 'templates' . DS);
25
+		define('EE_ABOUT_ASSETS_URL', EE_ADMIN_PAGES_URL . 'about/assets/');
26
+		parent::__construct();
27
+	}
28 28
 
29
-    protected function _set_init_properties()
30
-    {
31
-        $this->label = __('About Event Espresso', 'event_espresso');
32
-    }
29
+	protected function _set_init_properties()
30
+	{
31
+		$this->label = __('About Event Espresso', 'event_espresso');
32
+	}
33 33
 
34
-    protected function _set_menu_map()
35
-    {
36
-        $this->_menu_map = new EE_Admin_Page_Sub_Menu(
37
-            array(
38
-                'menu_group'              => 'extras',
39
-                'menu_order'              => 40,
40
-                'show_on_menu'            => EE_Admin_Page_Menu_Map::BLOG_AND_NETWORK_ADMIN,
41
-                'parent_slug'             => 'espresso_events',
42
-                'menu_slug'               => 'espresso_about',
43
-                'menu_label'              => EE_ABOUT_LABEL,
44
-                'capability'              => 'manage_options',
45
-                'maintenance_mode_parent' => 'espresso_maintenance_settings',
46
-                'admin_init_page'         => $this,
47
-            )
48
-        );
49
-    }
34
+	protected function _set_menu_map()
35
+	{
36
+		$this->_menu_map = new EE_Admin_Page_Sub_Menu(
37
+			array(
38
+				'menu_group'              => 'extras',
39
+				'menu_order'              => 40,
40
+				'show_on_menu'            => EE_Admin_Page_Menu_Map::BLOG_AND_NETWORK_ADMIN,
41
+				'parent_slug'             => 'espresso_events',
42
+				'menu_slug'               => 'espresso_about',
43
+				'menu_label'              => EE_ABOUT_LABEL,
44
+				'capability'              => 'manage_options',
45
+				'maintenance_mode_parent' => 'espresso_maintenance_settings',
46
+				'admin_init_page'         => $this,
47
+			)
48
+		);
49
+	}
50 50
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
         // define some events related constants
20 20
         define('EE_ABOUT_PG_SLUG', 'espresso_about');
21 21
         define('EE_ABOUT_LABEL', __('About', 'event_espresso'));
22
-        define('EE_ABOUT_ADMIN', EE_ADMIN_PAGES . 'about' . DS);
23
-        define('EE_ABOUT_ADMIN_URL', admin_url('admin.php?page=' . EE_ABOUT_PG_SLUG));
24
-        define('EE_ABOUT_TEMPLATE_PATH', EE_ABOUT_ADMIN . 'templates' . DS);
25
-        define('EE_ABOUT_ASSETS_URL', EE_ADMIN_PAGES_URL . 'about/assets/');
22
+        define('EE_ABOUT_ADMIN', EE_ADMIN_PAGES.'about'.DS);
23
+        define('EE_ABOUT_ADMIN_URL', admin_url('admin.php?page='.EE_ABOUT_PG_SLUG));
24
+        define('EE_ABOUT_TEMPLATE_PATH', EE_ABOUT_ADMIN.'templates'.DS);
25
+        define('EE_ABOUT_ASSETS_URL', EE_ADMIN_PAGES_URL.'about/assets/');
26 26
         parent::__construct();
27 27
     }
28 28
 
Please login to merge, or discard this patch.
admin_pages/messages/qtips/EE_Message_List_Table_Tips.lib.php 2 patches
Indentation   +96 added lines, -96 removed lines patch added patch discarded remove patch
@@ -15,105 +15,105 @@
 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' => 'message_status-' . EEM_Message::status_sent,
23
-                'target'     => '.msg-status-' . EEM_Message::status_sent,
24
-                'content'    => $this->_message_status_legend(EEM_Message::status_sent),
25
-                'options'    => array(
26
-                    'position' => array(
27
-                        'target' => 'mouse',
28
-                    ),
29
-                ),
30
-            ),
31
-            1 => array(
32
-                'content_id' => 'message_status-' . EEM_Message::status_idle,
33
-                'target'     => '.msg-status-' . EEM_Message::status_idle,
34
-                'content'    => $this->_message_status_legend(EEM_Message::status_idle),
35
-                'options'    => array(
36
-                    'position' => array(
37
-                        'target' => 'mouse',
38
-                    ),
39
-                ),
40
-            ),
41
-            2 => array(
42
-                'content_id' => 'message_status-' . EEM_Message::status_failed,
43
-                'target'     => '.msg-status-' . EEM_Message::status_failed,
44
-                'content'    => $this->_message_status_legend(EEM_Message::status_failed),
45
-                'options'    => array(
46
-                    'position' => array(
47
-                        'target' => 'mouse',
48
-                    ),
49
-                ),
50
-            ),
51
-            3 => array(
52
-                'content_id' => 'message_status-' . EEM_Message::status_resend,
53
-                'target'     => '.msg-status-' . EEM_Message::status_resend,
54
-                'content'    => $this->_message_status_legend(EEM_Message::status_resend),
55
-                'options'    => array(
56
-                    'position' => array(
57
-                        'target' => 'mouse',
58
-                    ),
59
-                ),
60
-            ),
61
-            4 => array(
62
-                'content_id' => 'message_status-' . EEM_Message::status_incomplete,
63
-                'target'     => '.msg-status-' . EEM_Message::status_incomplete,
64
-                'content'    => $this->_message_status_legend(EEM_Message::status_incomplete),
65
-                'options'    => array(
66
-                    'position' => array(
67
-                        'target' => 'mouse',
68
-                    ),
69
-                ),
70
-            ),
71
-            5 => array(
72
-                'content_id' => 'message_status-' . EEM_Message::status_retry,
73
-                'target'     => '.msg-status-' . EEM_Message::status_retry,
74
-                'content'    => $this->_message_status_legend(EEM_Message::status_retry),
75
-                'options'    => array(
76
-                    'position' => array(
77
-                        'target' => 'mouse',
78
-                    ),
79
-                ),
80
-            ),
81
-            6 => array(
82
-                'content_id' => 'message_status-' . EEM_Message::status_debug_only,
83
-                'target'     => '.msg-status-' . EEM_Message::status_debug_only,
84
-                'content'    => $this->_message_status_legend(EEM_Message::status_debug_only),
85
-                'options'    => array(
86
-                    'position' => array(
87
-                        'target' => 'mouse',
88
-                    ),
89
-                ),
90
-            ),
91
-        );
92
-    }
18
+	protected function _set_tips_array()
19
+	{
20
+		$this->_qtipsa = array(
21
+			0 => array(
22
+				'content_id' => 'message_status-' . EEM_Message::status_sent,
23
+				'target'     => '.msg-status-' . EEM_Message::status_sent,
24
+				'content'    => $this->_message_status_legend(EEM_Message::status_sent),
25
+				'options'    => array(
26
+					'position' => array(
27
+						'target' => 'mouse',
28
+					),
29
+				),
30
+			),
31
+			1 => array(
32
+				'content_id' => 'message_status-' . EEM_Message::status_idle,
33
+				'target'     => '.msg-status-' . EEM_Message::status_idle,
34
+				'content'    => $this->_message_status_legend(EEM_Message::status_idle),
35
+				'options'    => array(
36
+					'position' => array(
37
+						'target' => 'mouse',
38
+					),
39
+				),
40
+			),
41
+			2 => array(
42
+				'content_id' => 'message_status-' . EEM_Message::status_failed,
43
+				'target'     => '.msg-status-' . EEM_Message::status_failed,
44
+				'content'    => $this->_message_status_legend(EEM_Message::status_failed),
45
+				'options'    => array(
46
+					'position' => array(
47
+						'target' => 'mouse',
48
+					),
49
+				),
50
+			),
51
+			3 => array(
52
+				'content_id' => 'message_status-' . EEM_Message::status_resend,
53
+				'target'     => '.msg-status-' . EEM_Message::status_resend,
54
+				'content'    => $this->_message_status_legend(EEM_Message::status_resend),
55
+				'options'    => array(
56
+					'position' => array(
57
+						'target' => 'mouse',
58
+					),
59
+				),
60
+			),
61
+			4 => array(
62
+				'content_id' => 'message_status-' . EEM_Message::status_incomplete,
63
+				'target'     => '.msg-status-' . EEM_Message::status_incomplete,
64
+				'content'    => $this->_message_status_legend(EEM_Message::status_incomplete),
65
+				'options'    => array(
66
+					'position' => array(
67
+						'target' => 'mouse',
68
+					),
69
+				),
70
+			),
71
+			5 => array(
72
+				'content_id' => 'message_status-' . EEM_Message::status_retry,
73
+				'target'     => '.msg-status-' . EEM_Message::status_retry,
74
+				'content'    => $this->_message_status_legend(EEM_Message::status_retry),
75
+				'options'    => array(
76
+					'position' => array(
77
+						'target' => 'mouse',
78
+					),
79
+				),
80
+			),
81
+			6 => array(
82
+				'content_id' => 'message_status-' . EEM_Message::status_debug_only,
83
+				'target'     => '.msg-status-' . EEM_Message::status_debug_only,
84
+				'content'    => $this->_message_status_legend(EEM_Message::status_debug_only),
85
+				'options'    => array(
86
+					'position' => array(
87
+						'target' => 'mouse',
88
+					),
89
+				),
90
+			),
91
+		);
92
+	}
93 93
 
94 94
 
95
-    /**
96
-     * output the relevant ee-status-legend with the designated status highlighted.
97
-     *
98
-     * @param  EEM_Message constant $status What status is set (by class)
99
-     * @return string         The status legend with the related status highlighted
100
-     */
101
-    private function _message_status_legend($status)
102
-    {
95
+	/**
96
+	 * output the relevant ee-status-legend with the designated status highlighted.
97
+	 *
98
+	 * @param  EEM_Message constant $status What status is set (by class)
99
+	 * @return string         The status legend with the related status highlighted
100
+	 */
101
+	private function _message_status_legend($status)
102
+	{
103 103
 
104
-        $status_array = array(
105
-            'sent_status'       => EEM_Message::status_sent,
106
-            'idle_status'       => EEM_Message::status_idle,
107
-            'failed_status'     => EEM_Message::status_failed,
108
-            'resend_status'     => EEM_Message::status_resend,
109
-            'incomplete_status' => EEM_Message::status_incomplete,
110
-            'retry_status'      => EEM_Message::status_retry,
111
-        );
104
+		$status_array = array(
105
+			'sent_status'       => EEM_Message::status_sent,
106
+			'idle_status'       => EEM_Message::status_idle,
107
+			'failed_status'     => EEM_Message::status_failed,
108
+			'resend_status'     => EEM_Message::status_resend,
109
+			'incomplete_status' => EEM_Message::status_incomplete,
110
+			'retry_status'      => EEM_Message::status_retry,
111
+		);
112 112
 
113
-        if (defined('WP_DEBUG') && WP_DEBUG) {
114
-            $status_array['debug_only_status'] = EEM_Message::status_debug_only;
115
-        }
113
+		if (defined('WP_DEBUG') && WP_DEBUG) {
114
+			$status_array['debug_only_status'] = EEM_Message::status_debug_only;
115
+		}
116 116
 
117
-        return EEH_Template::status_legend($status_array, $status);
118
-    }
117
+		return EEH_Template::status_legend($status_array, $status);
118
+	}
119 119
 }
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 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' => 'message_status-' . EEM_Message::status_sent,
23
-                'target'     => '.msg-status-' . EEM_Message::status_sent,
22
+                'content_id' => 'message_status-'.EEM_Message::status_sent,
23
+                'target'     => '.msg-status-'.EEM_Message::status_sent,
24 24
                 'content'    => $this->_message_status_legend(EEM_Message::status_sent),
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' => 'message_status-' . EEM_Message::status_idle,
33
-                'target'     => '.msg-status-' . EEM_Message::status_idle,
32
+                'content_id' => 'message_status-'.EEM_Message::status_idle,
33
+                'target'     => '.msg-status-'.EEM_Message::status_idle,
34 34
                 'content'    => $this->_message_status_legend(EEM_Message::status_idle),
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' => 'message_status-' . EEM_Message::status_failed,
43
-                'target'     => '.msg-status-' . EEM_Message::status_failed,
42
+                'content_id' => 'message_status-'.EEM_Message::status_failed,
43
+                'target'     => '.msg-status-'.EEM_Message::status_failed,
44 44
                 'content'    => $this->_message_status_legend(EEM_Message::status_failed),
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' => 'message_status-' . EEM_Message::status_resend,
53
-                'target'     => '.msg-status-' . EEM_Message::status_resend,
52
+                'content_id' => 'message_status-'.EEM_Message::status_resend,
53
+                'target'     => '.msg-status-'.EEM_Message::status_resend,
54 54
                 'content'    => $this->_message_status_legend(EEM_Message::status_resend),
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' => 'message_status-' . EEM_Message::status_incomplete,
63
-                'target'     => '.msg-status-' . EEM_Message::status_incomplete,
62
+                'content_id' => 'message_status-'.EEM_Message::status_incomplete,
63
+                'target'     => '.msg-status-'.EEM_Message::status_incomplete,
64 64
                 'content'    => $this->_message_status_legend(EEM_Message::status_incomplete),
65 65
                 'options'    => array(
66 66
                     'position' => array(
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
                 ),
70 70
             ),
71 71
             5 => array(
72
-                'content_id' => 'message_status-' . EEM_Message::status_retry,
73
-                'target'     => '.msg-status-' . EEM_Message::status_retry,
72
+                'content_id' => 'message_status-'.EEM_Message::status_retry,
73
+                'target'     => '.msg-status-'.EEM_Message::status_retry,
74 74
                 'content'    => $this->_message_status_legend(EEM_Message::status_retry),
75 75
                 'options'    => array(
76 76
                     'position' => array(
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
                 ),
80 80
             ),
81 81
             6 => array(
82
-                'content_id' => 'message_status-' . EEM_Message::status_debug_only,
83
-                'target'     => '.msg-status-' . EEM_Message::status_debug_only,
82
+                'content_id' => 'message_status-'.EEM_Message::status_debug_only,
83
+                'target'     => '.msg-status-'.EEM_Message::status_debug_only,
84 84
                 'content'    => $this->_message_status_legend(EEM_Message::status_debug_only),
85 85
                 'options'    => array(
86 86
                     'position' => array(
Please login to merge, or discard this patch.
admin_pages/messages/help_tabs/messages_overview_messengers.help_tab.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <p><strong><?php _e('Messengers', 'event_espresso'); ?></strong></p>
2 2
 <p>
3 3
     <?php printf(
4
-        __(
5
-            'Messengers are the vehicles that deliver messages to individuals (recipients). By default, every install of Event Espresso has the %sEmail%s messenger active. The Email messenger is a vehicle for delivering messages.  Other possible vehicles might be any social media applications, 3rd party API\'s etc.',
6
-            'event_espresso'
7
-        ),
8
-        '<strong>',
9
-        '</strong>'
10
-    ); ?>
4
+		__(
5
+			'Messengers are the vehicles that deliver messages to individuals (recipients). By default, every install of Event Espresso has the %sEmail%s messenger active. The Email messenger is a vehicle for delivering messages.  Other possible vehicles might be any social media applications, 3rd party API\'s etc.',
6
+			'event_espresso'
7
+		),
8
+		'<strong>',
9
+		'</strong>'
10
+	); ?>
11 11
 </p>
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
admin_pages/messages/help_tabs/messages_templates.help_tab.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <p><strong><?php esc_html_e('Message Templates', 'event_espresso'); ?></strong></p>
2 2
 <p>
3 3
     <?php printf(
4
-        esc_html__(
5
-            'Message Templates are the %1$sformat%2$s of the messages going out. Think of them as a “form letter”. Templates tell the Messages system how to style your messages and the content (information) they will have when they are delivered.',
6
-            'event_espresso'
7
-        ),
8
-        '<em>',
9
-        '</em>'
10
-    ); ?></p>
4
+		esc_html__(
5
+			'Message Templates are the %1$sformat%2$s of the messages going out. Think of them as a “form letter”. Templates tell the Messages system how to style your messages and the content (information) they will have when they are delivered.',
6
+			'event_espresso'
7
+		),
8
+		'<em>',
9
+		'</em>'
10
+	); ?></p>
11 11
 <p>
12 12
     <?php esc_html_e(
13
-        'There is a template created for each Messenger / Message Type and context combination. For example, messages that are sent for Payment Confirmation have a template for Event Administrator and a different one for Primary Registrant.  Whereas, messages that are sent for the Registration confirmation have 3 templates: one for Event Administrator, one for the Primary Registrant, and another for each additional Registrant(s).',
14
-        'event_espresso'
15
-    ); ?></p>
13
+		'There is a template created for each Messenger / Message Type and context combination. For example, messages that are sent for Payment Confirmation have a template for Event Administrator and a different one for Primary Registrant.  Whereas, messages that are sent for the Registration confirmation have 3 templates: one for Event Administrator, one for the Primary Registrant, and another for each additional Registrant(s).',
14
+		'event_espresso'
15
+	); ?></p>
16 16
 <p>
17 17
     <?php esc_html_e(
18
-        'With the Event Espresso Messages system, every Messenger, Message Type, and context will have a global template created with some default content on creation. You have the ability to edit the global template that will be used for all events you create. Additionally, you have the ability to create custom templates for each event on the edit event page for the event (in a metabox labelled "Notifications").',
19
-        'event_espresso'
20
-    ); ?></p>
21 18
\ No newline at end of file
19
+		'With the Event Espresso Messages system, every Messenger, Message Type, and context will have a global template created with some default content on creation. You have the ability to edit the global template that will be used for all events you create. Additionally, you have the ability to create custom templates for each event on the edit event page for the event (in a metabox labelled "Notifications").',
20
+		'event_espresso'
21
+	); ?></p>
22 22
\ No newline at end of file
Please login to merge, or discard this patch.