Completed
Branch BUG/3575-event-deletion-previe... (bbeda1)
by
unknown
06:40 queued 04:49
created
payment_methods/Paypal_Pro/templates/paypal_pro_debug_info.template.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -17,39 +17,39 @@  discard block
 block discarded – undo
17 17
     <div class="sandbox-panel">
18 18
     <h2 class="section-title"><?php esc_html_e('PayPal Sandbox Mode', 'event_espresso'); ?></h2>
19 19
     <h3 style="color:#ff0000;"><?php
20
-        esc_html_e(
21
-            'Debug Mode Is Turned On. Payments will not be processed',
22
-            'event_espresso'
23
-        ); ?></h3>
20
+		esc_html_e(
21
+			'Debug Mode Is Turned On. Payments will not be processed',
22
+			'event_espresso'
23
+		); ?></h3>
24 24
 
25 25
     <p class="test-credit-cards-info-pg" style="margin-bottom:0;">
26 26
         <strong><?php esc_html_e('Testing Guidelines', 'event_espresso'); ?></strong>
27 27
     </p>
28 28
     <ul style="margin:1em 2em 1.5em; line-height:1.2em;">
29 29
         <li><?php
30
-            esc_html_e(
31
-                'While testing, use the credit card number associated with your sandbox account.',
32
-                'event_espresso'
33
-            ); ?></li>
30
+			esc_html_e(
31
+				'While testing, use the credit card number associated with your sandbox account.',
32
+				'event_espresso'
33
+			); ?></li>
34 34
         <li><?php
35
-            printf(
36
-                esc_html__(
37
-                    'To find the sandbox account\'s credit card, go to %1$s, then "Dashboard", then under Sandbox click "Accounts", then click your account and click "Profile", then in the popup that appears click on the "Funding" tab. Your testing card is listed there.',
38
-                    'event_espresso'
39
-                ),
40
-                '<a href="http://developer.paypal.com">developer.paypal.com</a>'
41
-            ); ?></li>
35
+			printf(
36
+				esc_html__(
37
+					'To find the sandbox account\'s credit card, go to %1$s, then "Dashboard", then under Sandbox click "Accounts", then click your account and click "Profile", then in the popup that appears click on the "Funding" tab. Your testing card is listed there.',
38
+					'event_espresso'
39
+				),
40
+				'<a href="http://developer.paypal.com">developer.paypal.com</a>'
41
+			); ?></li>
42 42
         <li><?php
43
-            esc_html_e('CVV2 should be 115', 'event_espresso'); ?></li>
43
+			esc_html_e('CVV2 should be 115', 'event_espresso'); ?></li>
44 44
     </ul>
45 45
 
46 46
     <p class="test-credit-cards-info-pg">
47 47
         <strong><?php esc_html_e('Credit Card Numbers Used for Testing', 'event_espresso'); ?></strong><br/>
48 48
         <span class="small-text"><?php
49
-            esc_html_e(
50
-                'Use the following credit card numbers for testing. Any other card number produces a general failure.',
51
-                'event_espresso'
52
-            ); ?></span>
49
+			esc_html_e(
50
+				'Use the following credit card numbers for testing. Any other card number produces a general failure.',
51
+				'event_espresso'
52
+			); ?></span>
53 53
     </p>
54 54
 
55 55
     <div class="tbl-wrap">
@@ -73,18 +73,18 @@  discard block
 block discarded – undo
73 73
     <p class="test-credit-cards-info-pg">
74 74
         <strong><?php esc_html_e('Testing Result Code Responses', 'event_espresso'); ?></strong><br/>
75 75
         <span class="small-text"><?php
76
-            printf(
77
-                esc_html__(
78
-                    'You can use the amount of the transaction to generate a particular result code (see %s PayPal\'s documentation%s). The table below lists the general guidelines for specifying amounts. IMPORTANT: before you attempt any of these, ensure your sandbox PayPal account has %s "Negative Testing" set to on%s. Also be aware that you can generate AVS errors by using certain strings in your address field, and CVV errors using certain CVV values. See %s this PayPal doc %s',
79
-                    'event_espresso'
80
-                ),
81
-                "<a href='https://developer.paypal.com/docs/classic/api/errorcodes/#id09C3GA00GR1' target='_blank'>",
82
-                "</a>",
83
-                "<a href='https://docs.google.com/a/eventespresso.com/file/d/0B5P8GXTvZgfMNXNkZ2s5VUlHTUk/edit?usp=drivesdk' target='_blank'>",
84
-                "</a>",
85
-                "<a href='https://cms.paypal.com/ca/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_testing_SBTestErrorConditions' target='_blank'>",
86
-                "</a>"
87
-            ); ?></span>
76
+			printf(
77
+				esc_html__(
78
+					'You can use the amount of the transaction to generate a particular result code (see %s PayPal\'s documentation%s). The table below lists the general guidelines for specifying amounts. IMPORTANT: before you attempt any of these, ensure your sandbox PayPal account has %s "Negative Testing" set to on%s. Also be aware that you can generate AVS errors by using certain strings in your address field, and CVV errors using certain CVV values. See %s this PayPal doc %s',
79
+					'event_espresso'
80
+				),
81
+				"<a href='https://developer.paypal.com/docs/classic/api/errorcodes/#id09C3GA00GR1' target='_blank'>",
82
+				"</a>",
83
+				"<a href='https://docs.google.com/a/eventespresso.com/file/d/0B5P8GXTvZgfMNXNkZ2s5VUlHTUk/edit?usp=drivesdk' target='_blank'>",
84
+				"</a>",
85
+				"<a href='https://cms.paypal.com/ca/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_testing_SBTestErrorConditions' target='_blank'>",
86
+				"</a>"
87
+			); ?></span>
88 88
     </p>
89 89
 
90 90
     <div class="tbl-wrap">
Please login to merge, or discard this patch.
payment_methods/Aim/templates/authorize_net_aim_debug_info.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
 
19 19
         <p>
20 20
             <?php esc_html_e(
21
-                'Test Mode allows you to submit test transactions to the payment gateway. Transactions that are submitted while Test Mode is ON are NOT actually processed. The result of a transaction depends on the card number submitted, and the invoice amount. If you want a transaction to be approved, use one of the following card numbers.',
22
-                'event_espresso'
23
-            ); ?>
21
+				'Test Mode allows you to submit test transactions to the payment gateway. Transactions that are submitted while Test Mode is ON are NOT actually processed. The result of a transaction depends on the card number submitted, and the invoice amount. If you want a transaction to be approved, use one of the following card numbers.',
22
+				'event_espresso'
23
+			); ?>
24 24
         </p>
25 25
 
26 26
         <p>
Please login to merge, or discard this patch.
admin/new/pricing/templates/pricing_details_main_meta_box.template.php 2 patches
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -4,40 +4,40 @@  discard block
 block discarded – undo
4 4
         <tbody>
5 5
         <tr valign="top">
6 6
             <th><label for="PRT_ID"><?php
7
-                    esc_html_e(
8
-                        'Type',
9
-                        'event_espresso'
10
-                    ); ?></label> <?php echo EEH_Template::get_help_tab_link('type_field_info'); ?></th>
7
+					esc_html_e(
8
+						'Type',
9
+						'event_espresso'
10
+					); ?></label> <?php echo EEH_Template::get_help_tab_link('type_field_info'); ?></th>
11 11
             <td>
12 12
                 <?php if ($price->type_obj() && $price->type_obj()->base_type() === 1) : ?>
13 13
                     <input type="hidden" name="PRT_ID" id="PRT_ID" value="<?php echo $price->type(); ?>"/>
14 14
                     <p><strong><?php esc_html_e('Price', 'event_espresso'); ?></strong></p>
15 15
                     <p class="description">
16 16
                         <?php
17
-                        esc_html_e(
18
-                            'This is the default base price. Every new ticket created will start off with this base price.',
19
-                            'event_espresso'
20
-                        );
21
-                        ?>
17
+						esc_html_e(
18
+							'This is the default base price. Every new ticket created will start off with this base price.',
19
+							'event_espresso'
20
+						);
21
+						?>
22 22
                     </p>
23 23
                 <?php else : ?>
24 24
                     <?php echo EEH_Form_Fields::select_input('PRT_ID', $price_types, $price->type(), 'id="PRT_ID"'); ?>
25 25
                     <p class="description">
26 26
                         <?php
27
-                            esc_html_e(
28
-                                'Price Modifier. Default items will apply to ALL new events you create.',
29
-                                'event_espresso'
30
-                            );
31
-                        ?></p>
27
+							esc_html_e(
28
+								'Price Modifier. Default items will apply to ALL new events you create.',
29
+								'event_espresso'
30
+							);
31
+						?></p>
32 32
                 <?php endif; ?>
33 33
             </td>
34 34
         </tr>
35 35
         <tr valign="top">
36 36
             <th><label for="PRC_name"><?php
37
-                    esc_html_e(
38
-                        'Name',
39
-                        'event_espresso'
40
-                    ); ?></label> <?php echo EEH_Template::get_help_tab_link('name_field_info'); ?></th>
37
+					esc_html_e(
38
+						'Name',
39
+						'event_espresso'
40
+					); ?></label> <?php echo EEH_Template::get_help_tab_link('name_field_info'); ?></th>
41 41
             <td>
42 42
                 <input class="regular-text" type="text" id="PRC_name" name="PRC_name"
43 43
                        value="<?php $price->f('PRC_name'); ?>"/>
@@ -45,22 +45,22 @@  discard block
 block discarded – undo
45 45
         </tr>
46 46
         <tr valign="top">
47 47
             <th><label for="PRC_desc"><?php
48
-                    esc_html_e(
49
-                        'Description',
50
-                        'event_espresso'
51
-                    ); ?></label> <?php echo EEH_Template::get_help_tab_link('description_field_info'); ?></th>
48
+					esc_html_e(
49
+						'Description',
50
+						'event_espresso'
51
+					); ?></label> <?php echo EEH_Template::get_help_tab_link('description_field_info'); ?></th>
52 52
             <td>
53 53
                     <textarea class="regular-text" id="PRC_desc" name="PRC_desc" rows="5"><?php
54
-                        $price->f('PRC_desc');
55
-                    ?></textarea><br/>
54
+						$price->f('PRC_desc');
55
+					?></textarea><br/>
56 56
             </td>
57 57
         </tr>
58 58
         <tr valign="top">
59 59
             <th><label for="PRC_amount"><?php
60
-                    esc_html_e(
61
-                        'Amount',
62
-                        'event_espresso'
63
-                    ); ?><?php echo EEH_Template::get_help_tab_link('amount_field_info'); ?></label></th>
60
+					esc_html_e(
61
+						'Amount',
62
+						'event_espresso'
63
+					); ?><?php echo EEH_Template::get_help_tab_link('amount_field_info'); ?></label></th>
64 64
             <td>
65 65
                 <input class="small-text ee-numeric" type="text" id="PRC_amount" name="PRC_amount"
66 66
                        value="<?php echo $price->amount(); ?>"/>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,11 @@
 block discarded – undo
20 20
                         );
21 21
                         ?>
22 22
                     </p>
23
-                <?php else : ?>
24
-                    <?php echo EEH_Form_Fields::select_input('PRT_ID', $price_types, $price->type(), 'id="PRT_ID"'); ?>
23
+                <?php else {
24
+	: ?>
25
+                    <?php echo EEH_Form_Fields::select_input('PRT_ID', $price_types, $price->type(), 'id="PRT_ID"');
26
+}
27
+?>
25 28
                     <p class="description">
26 29
                         <?php
27 30
                             esc_html_e(
Please login to merge, or discard this patch.
admin/new/pricing/templates/pricing_type_details_main_meta_box.template.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@  discard block
 block discarded – undo
18 18
                 <?php echo $base_type_select; // already escaped ?><br/>
19 19
                 <p class="description">
20 20
                     <?php
21
-                    printf(
22
-                        esc_html__(
23
-                            'Choosing a basic type allows us to quickly configure a bunch of other options for you.%1$sAll events need to have at least one Base Price type option.%1$sDiscounts reduce the price of an event, Surcharges increase the price.%1$sTaxes are applied to the final total.',
24
-                            'event_espresso'
25
-                        ),
26
-                        '<br/>'
27
-                    ); ?>
21
+					printf(
22
+						esc_html__(
23
+							'Choosing a basic type allows us to quickly configure a bunch of other options for you.%1$sAll events need to have at least one Base Price type option.%1$sDiscounts reduce the price of an event, Surcharges increase the price.%1$sTaxes are applied to the final total.',
24
+							'event_espresso'
25
+						),
26
+						'<br/>'
27
+					); ?>
28 28
                 </p>
29 29
             </td>
30 30
         </tr>
@@ -56,20 +56,20 @@  discard block
 block discarded – undo
56 56
                     <?php esc_html_e('Fixed', 'event_espresso'); ?>
57 57
                 </label>
58 58
                 <p class="description"><?php
59
-                    esc_html_e(
60
-                        'Whether this Price Type will be applied as a percentage or applied as a set fixed amount.',
61
-                        'event_espresso'
62
-                    ); ?></p>
59
+					esc_html_e(
60
+						'Whether this Price Type will be applied as a percentage or applied as a set fixed amount.',
61
+						'event_espresso'
62
+					); ?></p>
63 63
                 <?php if ($price_type->base_type() == EEM_Price_Type::base_type_tax) :
64
-                    // base type is tax so let's just let the user know that taxes are always percentage.
65
-                    ?>
64
+					// base type is tax so let's just let the user know that taxes are always percentage.
65
+					?>
66 66
                     <p class="description" style="color:#E44064">
67 67
                         <?php
68
-                            esc_html_e(
69
-                                'The selected base type for this price type is "Tax".  Taxes are always assumed to be a percentage.  If you want to use a fixed value for a tax then please change the base type to a surcharge.',
70
-                                'event_espresso'
71
-                            );
72
-                        ?></p>
68
+							esc_html_e(
69
+								'The selected base type for this price type is "Tax".  Taxes are always assumed to be a percentage.  If you want to use a fixed value for a tax then please change the base type to a surcharge.',
70
+								'event_espresso'
71
+							);
72
+						?></p>
73 73
                 <?php endif; ?>
74 74
             </td>
75 75
         </tr>
@@ -84,13 +84,13 @@  discard block
 block discarded – undo
84 84
                     <?php esc_html_e('The order that Price Types are applied.', 'event_espresso'); ?></p>
85 85
                 <p class="description">
86 86
                     <?php
87
-                    printf(
88
-                        esc_html__(
89
-                            'Price types are applied sequentially according to their Order, where higher ordered Price Types will affect lower ordered Price Types.%1$sPrice types with equal Orders will be applied in parallel to whatever total precedes them and will not affect each other. Actual Prices will be set to "0" so that they are processed first. Taxes will be always be applied last but their order will still determine if they are applied in parallel or as compound taxes (one tax on top of the other).',
90
-                            'event_espresso'
91
-                        ),
92
-                        '<br/>'
93
-                    ); ?>
87
+					printf(
88
+						esc_html__(
89
+							'Price types are applied sequentially according to their Order, where higher ordered Price Types will affect lower ordered Price Types.%1$sPrice types with equal Orders will be applied in parallel to whatever total precedes them and will not affect each other. Actual Prices will be set to "0" so that they are processed first. Taxes will be always be applied last but their order will still determine if they are applied in parallel or as compound taxes (one tax on top of the other).',
90
+							'event_espresso'
91
+						),
92
+						'<br/>'
93
+					); ?>
94 94
                 </p>
95 95
             </td>
96 96
         </tr>
Please login to merge, or discard this patch.
admin/new/pricing/templates/event_tickets_metabox_main.template.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -23,11 +23,11 @@  discard block
 block discarded – undo
23 23
               class="clickable ee-collapsible<?php echo $ee_collapsible_status; ?>">
24 24
             <span class="dashicons dashicons-clock ee-icon-size-20"></span>
25 25
             <?php
26
-                esc_html_e(
27
-                    'Event Datetimes',
28
-                    'event_espresso'
29
-                );
30
-                ?>
26
+				esc_html_e(
27
+					'Event Datetimes',
28
+					'event_espresso'
29
+				);
30
+				?>
31 31
         </span>
32 32
     </h3>
33 33
     <?php echo $event_datetime_help_link; ?>
@@ -64,10 +64,10 @@  discard block
 block discarded – undo
64 64
     </div> <!-- end .event-datetimes-container -->
65 65
     <div id="add-event-datetime" class="event-datetime-row add-dtt-row" style="display:none;">
66 66
         <h4 class="datetime-tickets-heading"><?php
67
-            esc_html_e(
68
-                'Add New Datetime',
69
-                'event_espresso'
70
-            ); ?></h4><?php echo $add_new_dtt_help_link; ?>
67
+			esc_html_e(
68
+				'Add New Datetime',
69
+				'event_espresso'
70
+			); ?></h4><?php echo $add_new_dtt_help_link; ?>
71 71
         <div>
72 72
             <table id="add-new-event-datetime-table" class="datetime-edit-table">
73 73
                 <tr>
@@ -81,10 +81,10 @@  discard block
 block discarded – undo
81 81
                     <td class="event-datetime-column date-column">
82 82
                         <label class="add-new-event-datetime-DTT_EVT_start_label"
83 83
                                for="add-new-event-datetime-DTT_EVT_start"><?php
84
-                                esc_html_e(
85
-                                    'Event Start',
86
-                                    'event_espresso'
87
-                                ); ?></label>
84
+								esc_html_e(
85
+									'Event Start',
86
+									'event_espresso'
87
+								); ?></label>
88 88
                         <input type="text" name="add_new_datetime[DTT_EVT_start]"
89 89
                                id="add-new-event-datetime-DTT_EVT_start" class="ee-text-inp ee-datepicker"
90 90
                                data-context="start-dtt" data-date-field-context="#add-event-datetime"
@@ -94,10 +94,10 @@  discard block
 block discarded – undo
94 94
                     <td class="event-datetime-column date-column">
95 95
                         <label class="add-new-event-datetime-DTT_EVT_end_label"
96 96
                                for="add-new-event-datetime-DTT_EVT_end"><?php
97
-                                esc_html_e(
98
-                                    'Event End',
99
-                                    'event_espresso'
100
-                                ); ?></label>
97
+								esc_html_e(
98
+									'Event End',
99
+									'event_espresso'
100
+								); ?></label>
101 101
                         <input type="text" name="add_new_datetime[DTT_EVT_end]" id="add-new-event-datetime-DTT_EVT_end"
102 102
                                class="ee-text-inp ee-datepicker" data-context="end-dtt"
103 103
                                data-date-field-context="#add-event-datetime"
@@ -107,10 +107,10 @@  discard block
 block discarded – undo
107 107
                     <td class="event-datetime-column reg-limit-column">
108 108
                         <label class="add-new-event-datetime-DTT_EVT_end_label"
109 109
                                for="add-new-event-datetime-DTT_reg_limit"><?php
110
-                                esc_html_e(
111
-                                    'Limit',
112
-                                    'event_espresso'
113
-                                ); ?></label>
110
+								esc_html_e(
111
+									'Limit',
112
+									'event_espresso'
113
+								); ?></label>
114 114
                         <input type="text" name="add_new_datetime[DTT_reg_limit]"
115 115
                                id="add-new-event-datetime-DTT_reg_limit" class="ee-numeric ee-small-text-inp">
116 116
                     </td>
@@ -133,16 +133,16 @@  discard block
 block discarded – undo
133 133
         <h3 class="event-tickets-datetimes-title"><span data-target=".event-tickets-container"
134 134
                                                         class="clickable ee-collapsible<?php echo $ee_collapsible_status; ?>"><span
135 135
                     class="ee-icon ee-icon-tickets ee-icon-size-20"></span><?php
136
-                    esc_html_e(
137
-                        'Available Tickets',
138
-                        'event_espresso'
139
-                    ); ?></span></h3>
136
+					esc_html_e(
137
+						'Available Tickets',
138
+						'event_espresso'
139
+					); ?></span></h3>
140 140
         <div class="event-tickets-container ee-create-ticket-button"<?php echo $show_tickets_container; ?>>
141 141
             <button class="ee-create-ticket-button button-secondary ee-create-button" data-context="ticket"><?php
142
-                esc_html_e(
143
-                    'Create Ticket',
144
-                    'event_espresso'
145
-                ); ?></button>
142
+				esc_html_e(
143
+					'Create Ticket',
144
+					'event_espresso'
145
+				); ?></button>
146 146
         </div>
147 147
         <div style="clear:both"></div>
148 148
         <div class="event-tickets-container"<?php echo $show_tickets_container; ?>>
Please login to merge, or discard this patch.
caffeinated/admin/hooks/Global_EE_Caf_Hooks.class.php 2 patches
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -15,42 +15,42 @@
 block discarded – undo
15 15
 class Global_EE_Caf_Hooks
16 16
 {
17 17
 
18
-    public function __construct()
19
-    {
20
-        $this->_do_hooks();
21
-    }
22
-
23
-
24
-    private function _do_hooks()
25
-    {
26
-        add_filter('FHEE_show_sponsors_meta_box', '__return_false', 10);
27
-        add_filter('FHEE_show_ratings_request_meta_box', '__return_false', 10);
28
-        add_filter(
29
-            'FHEE__EE_Admin_Page_Core__load_global_scripts_styles__loader_containers',
30
-            array($this, 'forums_lazy_loading'),
31
-            10
32
-        );
33
-        add_action(
34
-            'AHEE__EE_Admin_Page__espresso_news_post_box__after_content',
35
-            array($this, 'extra_news_box_content'),
36
-            10
37
-        );
38
-    }
39
-
40
-
41
-    public function extra_news_box_content($content)
42
-    {
43
-        echo '<h3 style="margin:0">' . esc_html__('From the Forums', 'event_espresso') . '</h3>';
44
-        echo '<div id="ee_forum_posts_content">';
45
-        $url = 'https://eventespresso.com/forum/event-espresso-support/feed/';
46
-        EE_Admin_Page::cached_rss_display('ee_forum_posts_content', $url);
47
-        echo '</div>';
48
-    }
49
-
50
-
51
-    public function forums_lazy_loading($ids)
52
-    {
53
-        $ids[] = 'ee_forum_posts_content';
54
-        return $ids;
55
-    }
18
+	public function __construct()
19
+	{
20
+		$this->_do_hooks();
21
+	}
22
+
23
+
24
+	private function _do_hooks()
25
+	{
26
+		add_filter('FHEE_show_sponsors_meta_box', '__return_false', 10);
27
+		add_filter('FHEE_show_ratings_request_meta_box', '__return_false', 10);
28
+		add_filter(
29
+			'FHEE__EE_Admin_Page_Core__load_global_scripts_styles__loader_containers',
30
+			array($this, 'forums_lazy_loading'),
31
+			10
32
+		);
33
+		add_action(
34
+			'AHEE__EE_Admin_Page__espresso_news_post_box__after_content',
35
+			array($this, 'extra_news_box_content'),
36
+			10
37
+		);
38
+	}
39
+
40
+
41
+	public function extra_news_box_content($content)
42
+	{
43
+		echo '<h3 style="margin:0">' . esc_html__('From the Forums', 'event_espresso') . '</h3>';
44
+		echo '<div id="ee_forum_posts_content">';
45
+		$url = 'https://eventespresso.com/forum/event-espresso-support/feed/';
46
+		EE_Admin_Page::cached_rss_display('ee_forum_posts_content', $url);
47
+		echo '</div>';
48
+	}
49
+
50
+
51
+	public function forums_lazy_loading($ids)
52
+	{
53
+		$ids[] = 'ee_forum_posts_content';
54
+		return $ids;
55
+	}
56 56
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
     public function extra_news_box_content($content)
42 42
     {
43
-        echo '<h3 style="margin:0">' . esc_html__('From the Forums', 'event_espresso') . '</h3>';
43
+        echo '<h3 style="margin:0">'.esc_html__('From the Forums', 'event_espresso').'</h3>';
44 44
         echo '<div id="ee_forum_posts_content">';
45 45
         $url = 'https://eventespresso.com/forum/event-espresso-support/feed/';
46 46
         EE_Admin_Page::cached_rss_display('ee_forum_posts_content', $url);
Please login to merge, or discard this patch.
admin/extend/registrations/templates/newsletter-send-form.template.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -35,10 +35,10 @@  discard block
 block discarded – undo
35 35
             <input type="hidden" name="batch_message[id_type]" value="<?php echo $id_type; ?>">
36 36
             <input id="newsletter-batch-ids" type="hidden" name="batch_message[ids]" value="">
37 37
             <h3 class="newsletter-send-form-title"><?php
38
-                printf(
39
-                    esc_html__('Sending batch message to %s people...', 'event_espresso'),
40
-                    '[NUMPEOPLE]'
41
-                ); ?></h3>
38
+				printf(
39
+					esc_html__('Sending batch message to %s people...', 'event_espresso'),
40
+					'[NUMPEOPLE]'
41
+				); ?></h3>
42 42
             <label for="batch-message-template-selector"><?php esc_html_e('Select Template:', 'event_espresso'); ?></label>
43 43
             <?php echo $template_selector; ?>
44 44
             <div class="batch-message-edit-fields" style="display:none;">
@@ -60,10 +60,10 @@  discard block
 block discarded – undo
60 60
                     <div id="shortcode-container-subject"
61 61
                          class="shortcodes-info-container ee_shortcode_chooser_container" style="display:none">
62 62
                         <p><?php
63
-                            esc_html_e(
64
-                                'The following shortcodes can be used in the subject field:',
65
-                                'event_espresso'
66
-                            ); ?></p>
63
+							esc_html_e(
64
+								'The following shortcodes can be used in the subject field:',
65
+								'event_espresso'
66
+							); ?></p>
67 67
                         <p><?php echo $shortcodes['Subject']; ?></p>
68 68
                     </div>
69 69
                     <input type="text" name="batch_message[subject]" id="batch-message-subject"
@@ -76,10 +76,10 @@  discard block
 block discarded – undo
76 76
                     <div id="shortcode-container-content"
77 77
                          class="shortcodes-info-container ee_shortcode_chooser_container" style="display:none">
78 78
                         <p><?php
79
-                            esc_html_e(
80
-                                'The following shortcodes can be used in the content area:',
81
-                                'event_espresso'
82
-                            ); ?></p>
79
+							esc_html_e(
80
+								'The following shortcodes can be used in the content area:',
81
+								'event_espresso'
82
+							); ?></p>
83 83
                         <p><?php echo $shortcodes['[NEWSLETTER_CONTENT]']; ?></p>
84 84
                     </div>
85 85
                     <textarea name="batch_message[content]" id="batch-message-content"
@@ -88,10 +88,10 @@  discard block
 block discarded – undo
88 88
                 <input type="submit" class="batch-message-submit button button-primary alignright"
89 89
                        name="batch-message-submit" value="<?php esc_html_e('Send', 'event_espresso'); ?>">
90 90
                 <button class="batch-message-cancel button button-secondary alignright"><?php
91
-                    esc_html_e(
92
-                        'Cancel',
93
-                        'event_espresso'
94
-                    ); ?></button>
91
+					esc_html_e(
92
+						'Cancel',
93
+						'event_espresso'
94
+					); ?></button>
95 95
                 <div style="clear:both"></div>
96 96
             </div>
97 97
         </form>
Please login to merge, or discard this patch.
caffeinated/admin/extend/about/templates/whats_new.template.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -3,12 +3,12 @@  discard block
 block discarded – undo
3 3
 $is_major_release = true;
4 4
 $type             = $is_major_release ? 'major' : 'minor';
5 5
 $heading          = $is_major_release
6
-    ? esc_html(
7
-        _n('Major Release Information', 'Major Releases', 1, 'event_espresso')
8
-    )
9
-    : esc_html(
10
-        _n('Minor Release Information', 'Minor Releases', 1, 'event_espresso')
11
-    );
6
+	? esc_html(
7
+		_n('Major Release Information', 'Major Releases', 1, 'event_espresso')
8
+	)
9
+	: esc_html(
10
+		_n('Minor Release Information', 'Minor Releases', 1, 'event_espresso')
11
+	);
12 12
 
13 13
 $version = explode('.', EVENT_ESPRESSO_VERSION);
14 14
 array_pop($version);
@@ -18,48 +18,48 @@  discard block
 block discarded – undo
18 18
 <div class="changelog point-releases">
19 19
     <h3><?php echo $heading; // already escaped ?></h3>
20 20
     <p><?php
21
-        printf(
22
-            esc_html__('%1$sVersion %2$s%3$s is a %4$s release.', 'event_espresso'),
23
-            '<strong>',
24
-            EVENT_ESPRESSO_VERSION,
25
-            '</strong>',
26
-            $type
27
-        ); ?>
21
+		printf(
22
+			esc_html__('%1$sVersion %2$s%3$s is a %4$s release.', 'event_espresso'),
23
+			'<strong>',
24
+			EVENT_ESPRESSO_VERSION,
25
+			'</strong>',
26
+			$type
27
+		); ?>
28 28
         <?php printf(
29
-            esc_html__('For more information, see %1$sthe release notes%2$s.', 'event_espresso'),
30
-            '<a href="https://eventespresso.com/wiki/ee4-changelog/#'
31
-            . $version
32
-            . '" target="_blank" rel="noopener noreferrer">',
33
-            '</a>'
34
-        ); ?>
29
+			esc_html__('For more information, see %1$sthe release notes%2$s.', 'event_espresso'),
30
+			'<a href="https://eventespresso.com/wiki/ee4-changelog/#'
31
+			. $version
32
+			. '" target="_blank" rel="noopener noreferrer">',
33
+			'</a>'
34
+		); ?>
35 35
     </p>
36 36
 </div><!-- end .changelog .point-releases -->
37 37
 
38 38
 <div class="changelog">
39 39
     <?php
40
-    // maintenance mode on?
41
-    if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) {
42
-        ?>
40
+	// maintenance mode on?
41
+	if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) {
42
+		?>
43 43
         <div class="ee-attention">
44 44
             <h2 class="ee-maintenance-mode-callout">
45 45
                 <?php esc_html_e('Event Espresso is in full maintenance mode.', 'event_espresso'); ?>
46 46
             </h2>
47 47
             <p>
48 48
                 <?php
49
-                printf(
50
-                    esc_html__(
51
-                        '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 %1$sEvent Espresso Maintenance%2$s page.',
52
-                        'event_espresso'
53
-                    ),
54
-                    '<a href="admin.php?page=espresso_maintenance_settings">',
55
-                    '</a>'
56
-                );
57
-                ?>
49
+				printf(
50
+					esc_html__(
51
+						'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 %1$sEvent Espresso Maintenance%2$s page.',
52
+						'event_espresso'
53
+					),
54
+					'<a href="admin.php?page=espresso_maintenance_settings">',
55
+					'</a>'
56
+				);
57
+				?>
58 58
             </p>
59 59
         </div>
60 60
         <?php
61
-    }
62
-    ?>
61
+	}
62
+	?>
63 63
 
64 64
     <h2 class="about-headline-callout">Updates &amp; Fixes in EE 4.10</h2>
65 65
     <p class="ee-highlight ee-highlight--info">This release brought many background updates and improvements to
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     <div class='ee-new-features ee-card-grid ee-card-grid-3-cols'>
72 72
 
73 73
     <?php
74
-    /*
74
+	/*
75 75
         WANT TO ADD A FEW FEATURE?
76 76
         COPY THE FOLLOWING:
77 77
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
         ADD "ee-grid-row-span-3" TO THE "ee-card ee-new-feature-card" ex:
104 104
         <div class='ee-card ee-new-feature-card ee-grid-row-span-3'>
105 105
     */
106
-    ?>
106
+	?>
107 107
 
108 108
         <div class='ee-card ee-new-feature-card'>
109 109
             <h4>Attendee Block for WordPress 5 Gutenberg</h4>
Please login to merge, or discard this patch.
caffeinated/admin/extend/about/templates/ee4-overview.template.php 1 patch
Indentation   +83 added lines, -83 removed lines patch added patch discarded remove patch
@@ -2,29 +2,29 @@  discard block
 block discarded – undo
2 2
     <h2 class="about-headline-callout"><?php esc_html_e('Welcome to Event Espresso 4!', 'event_espresso'); ?></h2>
3 3
     <p>
4 4
         <?php printf(
5
-            esc_html__(
6
-                'Manage your events from your WordPress dashboard. Reduce your admin, reduce your costs, make your life easier! This is the Caffeinated/Regular version of Event Espresso, but we also have a hosted version called %sEvent Smart%s for customers that want to cut back on their hosting and security expenses.',
7
-                'event_espresso'
8
-            ),
9
-            '<a href="https://eventsmart.com//?utm_source=ee4_decaf&amp;utm_medium=link&amp;utm_campaign=espresso_about_tab&amp;utm_content=EE4+Caffeinated">',
10
-            '</a>'
11
-        ); ?>
5
+			esc_html__(
6
+				'Manage your events from your WordPress dashboard. Reduce your admin, reduce your costs, make your life easier! This is the Caffeinated/Regular version of Event Espresso, but we also have a hosted version called %sEvent Smart%s for customers that want to cut back on their hosting and security expenses.',
7
+				'event_espresso'
8
+			),
9
+			'<a href="https://eventsmart.com//?utm_source=ee4_decaf&amp;utm_medium=link&amp;utm_campaign=espresso_about_tab&amp;utm_content=EE4+Caffeinated">',
10
+			'</a>'
11
+		); ?>
12 12
     </p>
13 13
     <h2>
14 14
         <?php esc_html_e(
15
-            'Powering 40,000+ event websites; $100 million in ticket sales per year!',
16
-            'event_espresso'
17
-        ); ?>
15
+			'Powering 40,000+ event websites; $100 million in ticket sales per year!',
16
+			'event_espresso'
17
+		); ?>
18 18
     </h2>
19 19
     <p>
20 20
         <?php printf(
21
-            esc_html__(
22
-                '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 lite version of the plugin provides everything that you need to manage your event using WordPress.',
23
-                'event_espresso'
24
-            ),
25
-            '<a href="https://eventespresso.com/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=espresso_about_tab&amp;utm_content=EE4+Decaf" rel="nofollow">',
26
-            '</a>'
27
-        ); ?>
21
+			esc_html__(
22
+				'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 lite version of the plugin provides everything that you need to manage your event using WordPress.',
23
+				'event_espresso'
24
+			),
25
+			'<a href="https://eventespresso.com/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=espresso_about_tab&amp;utm_content=EE4+Decaf" rel="nofollow">',
26
+			'</a>'
27
+		); ?>
28 28
     </p>
29 29
 </div>
30 30
 <div class="feature-section has-3-columns is-fullwidth three-col">
@@ -33,10 +33,10 @@  discard block
 block discarded – undo
33 33
         <h3><?php esc_html_e('Optimized aesthetic', 'event_espresso'); ?></h3>
34 34
         <p>
35 35
             <?php
36
-            esc_html_e(
37
-                'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.',
38
-                'event_espresso'
39
-            ); ?>
36
+			esc_html_e(
37
+				'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.',
38
+				'event_espresso'
39
+			); ?>
40 40
         </p>
41 41
     </div>
42 42
     <div class="column col">
@@ -44,9 +44,9 @@  discard block
 block discarded – undo
44 44
         <h3><?php esc_html_e('Integrated management', 'event_espresso'); ?></h3>
45 45
         <p>
46 46
             <?php esc_html_e(
47
-                'We’ve made it easier to know who your customers are and how they’ve done business with you over time.',
48
-                'event_espresso'
49
-            ); ?>
47
+				'We’ve made it easier to know who your customers are and how they’ve done business with you over time.',
48
+				'event_espresso'
49
+			); ?>
50 50
         </p>
51 51
     </div>
52 52
     <div class="column col last-feature">
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
         <h3><?php esc_html_e('Easy bookkeeping', 'event_espresso'); ?></h3>
55 55
         <p>
56 56
             <?php esc_html_e(
57
-                'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.',
58
-                'event_espresso'
59
-            ); ?>
57
+				'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.',
58
+				'event_espresso'
59
+			); ?>
60 60
         </p>
61 61
     </div>
62 62
 </div>
@@ -68,16 +68,16 @@  discard block
 block discarded – undo
68 68
         <h3><?php esc_html_e('Higher customer retention', 'event_espresso'); ?></h3>
69 69
         <p>
70 70
             <?php esc_html_e(
71
-                '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.',
72
-                'event_espresso'
73
-            ); ?>
71
+				'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.',
72
+				'event_espresso'
73
+			); ?>
74 74
         </p>
75 75
         <h4><?php esc_html_e('Ticket selection boxes on any post page or post', 'event_espresso'); ?></h4>
76 76
         <p>
77 77
             <?php esc_html_e(
78
-                '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.',
79
-                'event_espresso'
80
-            ); ?>
78
+				'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.',
79
+				'event_espresso'
80
+			); ?>
81 81
         </p>
82 82
     </div>
83 83
     <div class="column col last-feature about-colors-img">
@@ -90,22 +90,22 @@  discard block
 block discarded – undo
90 90
         <h3><?php esc_html_e('Refined event management', 'event_espresso'); ?></h3>
91 91
         <p>
92 92
             <?php esc_html_e(
93
-                '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.',
94
-                'event_espresso'
95
-            ); ?>
93
+				'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.',
94
+				'event_espresso'
95
+			); ?>
96 96
         </p>
97 97
         <h4><?php esc_html_e('Smoother price types, taxes, and price modifiers', 'event_espresso'); ?></h4>
98 98
         <p>
99 99
             <?php esc_html_e(
100
-                'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket',
101
-                'event_espresso'
102
-            ); ?>.
100
+				'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket',
101
+				'event_espresso'
102
+			); ?>.
103 103
         </p>
104 104
         <p>
105 105
             <?php esc_html_e(
106
-                'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.',
107
-                'event_espresso'
108
-            ); ?>
106
+				'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.',
107
+				'event_espresso'
108
+			); ?>
109 109
         </p>
110 110
     </div>
111 111
     <div class="column col last-feature about-themes-img">
@@ -117,46 +117,46 @@  discard block
 block discarded – undo
117 117
 
118 118
 <h2 class="about-headline-callout">
119 119
     <?php esc_html_e(
120
-        'People Like You Manage Event Registration with WordPress',
121
-        'event_espresso'
122
-    ); ?>
120
+		'People Like You Manage Event Registration with WordPress',
121
+		'event_espresso'
122
+	); ?>
123 123
 </h2>
124 124
 <div class="feature-section has-2-columns is-fullwidth two-col">
125 125
     <div class="column col">
126 126
         <p>
127 127
             <?php printf(
128
-                esc_html__(
129
-                    '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.',
130
-                    'event_espresso'
131
-                ),
132
-                '<strong>',
133
-                '</strong>'
134
-            ); ?>
128
+				esc_html__(
129
+					'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.',
130
+					'event_espresso'
131
+				),
132
+				'<strong>',
133
+				'</strong>'
134
+			); ?>
135 135
         </p>
136 136
         <p>
137 137
             <?php esc_html_e(
138
-                'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.',
139
-                'event_espresso'
140
-            ); ?>
138
+				'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.',
139
+				'event_espresso'
140
+			); ?>
141 141
         </p>
142 142
     </div>
143 143
     <div class="column col">
144 144
         <p>
145 145
             <?php printf(
146
-                esc_html__(
147
-                    '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.',
148
-                    'event_espresso'
149
-                ),
150
-                '<strong>',
151
-                '</strong>'
152
-            ); ?>
146
+				esc_html__(
147
+					'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.',
148
+					'event_espresso'
149
+				),
150
+				'<strong>',
151
+				'</strong>'
152
+			); ?>
153 153
         </p>
154 154
         <p>
155 155
             <?php
156
-            esc_html_e(
157
-                '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.',
158
-                'event_espresso'
159
-            ); ?>
156
+			esc_html_e(
157
+				'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.',
158
+				'event_espresso'
159
+			); ?>
160 160
         </p>
161 161
     </div>
162 162
 </div>
@@ -165,28 +165,28 @@  discard block
 block discarded – undo
165 165
     <div class="column col">
166 166
         <h3>
167 167
             <?php esc_html_e(
168
-                'Turn your blog into a complete event registration and management system',
169
-                'event_espresso'
170
-            ); ?>
168
+				'Turn your blog into a complete event registration and management system',
169
+				'event_espresso'
170
+			); ?>
171 171
         </h3>
172 172
         <p>
173 173
             <?php esc_html_e(
174
-                '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!',
175
-                'event_espresso'
176
-            ); ?>
174
+				'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!',
175
+				'event_espresso'
176
+			); ?>
177 177
         </p>
178 178
         <p>
179 179
             <?php esc_html_e(
180
-                '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.',
181
-                'event_espresso'
182
-            ); ?>
180
+				'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.',
181
+				'event_espresso'
182
+			); ?>
183 183
         </p>
184 184
         <p>
185 185
             <?php echo sprintf(
186
-                esc_html__('%sLearn more >>%s', 'event_espresso'),
187
-                '<a href="https://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">',
188
-                '</a>'
189
-            ); ?>
186
+				esc_html__('%sLearn more >>%s', 'event_espresso'),
187
+				'<a href="https://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">',
188
+				'</a>'
189
+			); ?>
190 190
         </p>
191 191
     </div>
192 192
     <div class="column col">
@@ -202,10 +202,10 @@  discard block
 block discarded – undo
202 202
 <div class="feature-section has-1-column is-fullwidth is-wide one-col">
203 203
     <div class="column col">
204 204
         <p><?php
205
-            esc_html_e(
206
-                '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.',
207
-                'event_espresso'
208
-            ); ?></p>
205
+			esc_html_e(
206
+				'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.',
207
+				'event_espresso'
208
+			); ?></p>
209 209
         <p>
210 210
             <img class="about-overview-img"
211 211
                  src="<?php echo EEH_Template::getScreenshotUrl('multiple-themes'); ?>"
Please login to merge, or discard this patch.