@@ -2,25 +2,25 @@ discard block |
||
2 | 2 | |
3 | 3 | // maintenance mode on? |
4 | 4 | if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) { |
5 | - ?> |
|
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 | - ); ?> |
|
9 | + 'Event Espresso is in full maintenance mode.', |
|
10 | + 'event_espresso' |
|
11 | + ); ?> |
|
12 | 12 | </h2> |
13 | 13 | <p> |
14 | 14 | <?php esc_html( |
15 | - sprintf( |
|
16 | - __( |
|
17 | - '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.', |
|
18 | - 'event_espresso' |
|
19 | - ), |
|
20 | - '<a href="admin.php?page=espresso_maintenance_settings">', |
|
21 | - '</a>' |
|
22 | - ) |
|
23 | - ); ?> |
|
15 | + sprintf( |
|
16 | + __( |
|
17 | + '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.', |
|
18 | + 'event_espresso' |
|
19 | + ), |
|
20 | + '<a href="admin.php?page=espresso_maintenance_settings">', |
|
21 | + '</a>' |
|
22 | + ) |
|
23 | + ); ?> |
|
24 | 24 | </p> |
25 | 25 | </div> |
26 | 26 | <?php |
@@ -29,37 +29,37 @@ discard block |
||
29 | 29 | <div class="headline-feature"> |
30 | 30 | <h2 class="about-headline-callout"> |
31 | 31 | <?php esc_html_e( |
32 | - 'Welcome to the Decaf (free) Version of Event Espresso 4!', |
|
33 | - 'event_espresso' |
|
34 | - ); ?> |
|
32 | + 'Welcome to the Decaf (free) Version of Event Espresso 4!', |
|
33 | + 'event_espresso' |
|
34 | + ); ?> |
|
35 | 35 | </h2> |
36 | 36 | <p> |
37 | 37 | <?php printf( |
38 | - esc_html__( |
|
39 | - '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).', |
|
40 | - 'event_espresso' |
|
41 | - ), |
|
42 | - '<a href="?page=espresso_about&action=decafvpro">', |
|
43 | - '</a>', |
|
44 | - '<a href="https://eventsmart.com//?utm_source=ee4_decaf&utm_medium=link&utm_campaign=espresso_about_tab&utm_content=EE4+Decaf">', |
|
45 | - '</a>' |
|
46 | - ); ?> |
|
38 | + esc_html__( |
|
39 | + '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).', |
|
40 | + 'event_espresso' |
|
41 | + ), |
|
42 | + '<a href="?page=espresso_about&action=decafvpro">', |
|
43 | + '</a>', |
|
44 | + '<a href="https://eventsmart.com//?utm_source=ee4_decaf&utm_medium=link&utm_campaign=espresso_about_tab&utm_content=EE4+Decaf">', |
|
45 | + '</a>' |
|
46 | + ); ?> |
|
47 | 47 | </p> |
48 | 48 | <h2> |
49 | 49 | <?php esc_html_e( |
50 | - 'Powering 40,000+ event websites; $100 million in ticket sales per year!', |
|
51 | - 'event_espresso' |
|
52 | - ); ?> |
|
50 | + 'Powering 40,000+ event websites; $100 million in ticket sales per year!', |
|
51 | + 'event_espresso' |
|
52 | + ); ?> |
|
53 | 53 | </h2> |
54 | 54 | <p> |
55 | 55 | <?php printf( |
56 | - esc_html__( |
|
57 | - '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.', |
|
58 | - 'event_espresso' |
|
59 | - ), |
|
60 | - '<a href="https://eventespresso.com/?utm_source=wordpress_org&utm_medium=link&utm_campaign=plugin_description_tab&utm_content=EE4+Decaf">', |
|
61 | - '</a>' |
|
62 | - ); ?> |
|
56 | + esc_html__( |
|
57 | + '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.', |
|
58 | + 'event_espresso' |
|
59 | + ), |
|
60 | + '<a href="https://eventespresso.com/?utm_source=wordpress_org&utm_medium=link&utm_campaign=plugin_description_tab&utm_content=EE4+Decaf">', |
|
61 | + '</a>' |
|
62 | + ); ?> |
|
63 | 63 | </p> |
64 | 64 | </div> |
65 | 65 | <div class="feature-section has-3-columns is-fullwidth three-col"> |
@@ -68,9 +68,9 @@ discard block |
||
68 | 68 | <h3><?php esc_html_e('Optimized aesthetic', 'event_espresso'); ?></h3> |
69 | 69 | <p> |
70 | 70 | <?php esc_html_e( |
71 | - 'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.', |
|
72 | - 'event_espresso' |
|
73 | - ); ?> |
|
71 | + 'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.', |
|
72 | + 'event_espresso' |
|
73 | + ); ?> |
|
74 | 74 | </p> |
75 | 75 | </div> |
76 | 76 | <div class="column col"> |
@@ -78,9 +78,9 @@ discard block |
||
78 | 78 | <h3><?php esc_html_e('Integrated management', 'event_espresso'); ?></h3> |
79 | 79 | <p> |
80 | 80 | <?php esc_html_e( |
81 | - 'We’ve made it easier to know who your customers are and how they’ve done business with you over time.', |
|
82 | - 'event_espresso' |
|
83 | - ); ?> |
|
81 | + 'We’ve made it easier to know who your customers are and how they’ve done business with you over time.', |
|
82 | + 'event_espresso' |
|
83 | + ); ?> |
|
84 | 84 | </p> |
85 | 85 | </div> |
86 | 86 | <div class="column col last-feature"> |
@@ -88,9 +88,9 @@ discard block |
||
88 | 88 | <h3><?php esc_html_e('Easy bookkeeping', 'event_espresso'); ?></h3> |
89 | 89 | <p> |
90 | 90 | <?php esc_html_e( |
91 | - 'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.', |
|
92 | - 'event_espresso' |
|
93 | - ); ?> |
|
91 | + 'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.', |
|
92 | + 'event_espresso' |
|
93 | + ); ?> |
|
94 | 94 | </p> |
95 | 95 | </div> |
96 | 96 | </div> |
@@ -102,16 +102,16 @@ discard block |
||
102 | 102 | <h3><?php esc_html_e('Higher customer retention', 'event_espresso'); ?></h3> |
103 | 103 | <p> |
104 | 104 | <?php esc_html_e( |
105 | - '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.', |
|
106 | - 'event_espresso' |
|
107 | - ); ?> |
|
105 | + '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.', |
|
106 | + 'event_espresso' |
|
107 | + ); ?> |
|
108 | 108 | </p> |
109 | 109 | <h4><?php esc_html_e('Ticket selection boxes on any post page or post', 'event_espresso'); ?></h4> |
110 | 110 | <p> |
111 | 111 | <?php esc_html_e( |
112 | - '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.', |
|
113 | - 'event_espresso' |
|
114 | - ); ?> |
|
112 | + '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.', |
|
113 | + 'event_espresso' |
|
114 | + ); ?> |
|
115 | 115 | </p> |
116 | 116 | </div> |
117 | 117 | <div class="column col last-feature about-colors-img"> |
@@ -124,24 +124,24 @@ discard block |
||
124 | 124 | <h3><?php esc_html_e('Refined event management', 'event_espresso'); ?></h3> |
125 | 125 | <p> |
126 | 126 | <?php esc_html_e( |
127 | - '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.', |
|
128 | - 'event_espresso' |
|
129 | - ); ?> |
|
127 | + '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.', |
|
128 | + 'event_espresso' |
|
129 | + ); ?> |
|
130 | 130 | </p> |
131 | 131 | <h4> |
132 | 132 | <?php esc_html_e('Smoother price types, taxes, and price modifiers', 'event_espresso'); ?> |
133 | 133 | </h4> |
134 | 134 | <p> |
135 | 135 | <?php esc_html_e( |
136 | - 'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket', |
|
137 | - 'event_espresso' |
|
138 | - ); ?> |
|
136 | + 'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket', |
|
137 | + 'event_espresso' |
|
138 | + ); ?> |
|
139 | 139 | </p> |
140 | 140 | <p> |
141 | 141 | <?php esc_html_e( |
142 | - 'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.', |
|
143 | - 'event_espresso' |
|
144 | - ); ?> |
|
142 | + 'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.', |
|
143 | + 'event_espresso' |
|
144 | + ); ?> |
|
145 | 145 | </p> |
146 | 146 | </div> |
147 | 147 | <div class="column col last-feature about-themes-img"> |
@@ -153,45 +153,45 @@ discard block |
||
153 | 153 | |
154 | 154 | <h2 class="about-headline-callout"> |
155 | 155 | <?php esc_html_e( |
156 | - 'People Like You Manage Event Registration with WordPress', |
|
157 | - 'event_espresso' |
|
158 | - ); ?> |
|
156 | + 'People Like You Manage Event Registration with WordPress', |
|
157 | + 'event_espresso' |
|
158 | + ); ?> |
|
159 | 159 | </h2> |
160 | 160 | <div class="feature-section has-2-columns is-fullwidth two-col"> |
161 | 161 | <div class="column col"> |
162 | 162 | <p> |
163 | 163 | <?php printf( |
164 | - esc_html__( |
|
165 | - '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.', |
|
166 | - 'event_espresso' |
|
167 | - ), |
|
168 | - '<strong>', |
|
169 | - '</strong>' |
|
170 | - ); ?> |
|
164 | + esc_html__( |
|
165 | + '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.', |
|
166 | + 'event_espresso' |
|
167 | + ), |
|
168 | + '<strong>', |
|
169 | + '</strong>' |
|
170 | + ); ?> |
|
171 | 171 | </p> |
172 | 172 | <p> |
173 | 173 | <?php esc_html_e( |
174 | - 'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.', |
|
175 | - 'event_espresso' |
|
176 | - ); ?> |
|
174 | + 'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.', |
|
175 | + 'event_espresso' |
|
176 | + ); ?> |
|
177 | 177 | </p> |
178 | 178 | </div> |
179 | 179 | <div class="column col"> |
180 | 180 | <p> |
181 | 181 | <?php printf( |
182 | - esc_html__( |
|
183 | - '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.', |
|
184 | - 'event_espresso' |
|
185 | - ), |
|
186 | - '<strong>', |
|
187 | - '</strong>' |
|
188 | - ); ?> |
|
182 | + esc_html__( |
|
183 | + '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.', |
|
184 | + 'event_espresso' |
|
185 | + ), |
|
186 | + '<strong>', |
|
187 | + '</strong>' |
|
188 | + ); ?> |
|
189 | 189 | </p> |
190 | 190 | <p> |
191 | 191 | <?php esc_html_e( |
192 | - '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.', |
|
193 | - 'event_espresso' |
|
194 | - ); ?> |
|
192 | + '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.', |
|
193 | + 'event_espresso' |
|
194 | + ); ?> |
|
195 | 195 | </p> |
196 | 196 | </div> |
197 | 197 | </div> |
@@ -200,28 +200,28 @@ discard block |
||
200 | 200 | <div class="column col"> |
201 | 201 | <h3> |
202 | 202 | <?php esc_html_e( |
203 | - 'Turn your blog into a complete event registration and management system', |
|
204 | - 'event_espresso' |
|
205 | - ); ?> |
|
203 | + 'Turn your blog into a complete event registration and management system', |
|
204 | + 'event_espresso' |
|
205 | + ); ?> |
|
206 | 206 | </h3> |
207 | 207 | <p> |
208 | 208 | <?php esc_html_e( |
209 | - '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!', |
|
210 | - 'event_espresso' |
|
211 | - ); ?> |
|
209 | + '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!', |
|
210 | + 'event_espresso' |
|
211 | + ); ?> |
|
212 | 212 | </p> |
213 | 213 | <p> |
214 | 214 | <?php esc_html_e( |
215 | - '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.', |
|
216 | - 'event_espresso' |
|
217 | - ); ?> |
|
215 | + '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.', |
|
216 | + 'event_espresso' |
|
217 | + ); ?> |
|
218 | 218 | </p> |
219 | 219 | <p> |
220 | 220 | <?php printf( |
221 | - esc_html__('%sLearn more >>%s', 'event_espresso'), |
|
222 | - '<a href="https://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">', |
|
223 | - '</a>' |
|
224 | - ); ?> |
|
221 | + esc_html__('%sLearn more >>%s', 'event_espresso'), |
|
222 | + '<a href="https://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">', |
|
223 | + '</a>' |
|
224 | + ); ?> |
|
225 | 225 | </p> |
226 | 226 | </div> |
227 | 227 | <div class="column col"> |
@@ -236,9 +236,9 @@ discard block |
||
236 | 236 | <div class="column col"> |
237 | 237 | <p> |
238 | 238 | <?php esc_html_e( |
239 | - '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.', |
|
240 | - 'event_espresso' |
|
241 | - ); ?> |
|
239 | + '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.', |
|
240 | + 'event_espresso' |
|
241 | + ); ?> |
|
242 | 242 | </p> |
243 | 243 | <p> |
244 | 244 | <img class="about-overview-img" src="<?php echo esc_url_raw(EEH_Template::getScreenshotUrl('multiple-themes')); ?>" /> |
@@ -14,9 +14,9 @@ discard block |
||
14 | 14 | |
15 | 15 | <h2 class="ee-admin-settings-hdr"> |
16 | 16 | <?php |
17 | - echo esc_html__('Countries and States/Provinces', 'event_espresso'); |
|
18 | - echo wp_kses(EEH_Template::get_help_tab_link('country_select_info'), AllowedTags::getAllowedTags()); |
|
19 | - ?> |
|
17 | + echo esc_html__('Countries and States/Provinces', 'event_espresso'); |
|
18 | + echo wp_kses(EEH_Template::get_help_tab_link('country_select_info'), AllowedTags::getAllowedTags()); |
|
19 | + ?> |
|
20 | 20 | </h2> |
21 | 21 | <table class="form-table"> |
22 | 22 | <tbody> |
@@ -26,27 +26,27 @@ discard block |
||
26 | 26 | <br/> |
27 | 27 | <p> |
28 | 28 | <?php esc_html_e( |
29 | - 'The country that is selected above will populate the Country Details settings and the options for States/Provinces. This information will be used throughout Event Espresso including for registration purposes and how currency is displayed. If you make a change to the country on this page, it is important that you also update your Contact Information on the Your Organization tab.', |
|
30 | - 'event_espresso' |
|
31 | - ); ?> |
|
29 | + 'The country that is selected above will populate the Country Details settings and the options for States/Provinces. This information will be used throughout Event Espresso including for registration purposes and how currency is displayed. If you make a change to the country on this page, it is important that you also update your Contact Information on the Your Organization tab.', |
|
30 | + 'event_espresso' |
|
31 | + ); ?> |
|
32 | 32 | </p> |
33 | 33 | <p id="country-currency-setting-disabled-pg" style="display: none;"> |
34 | 34 | <span class="reminder-spn"> |
35 | 35 | <?php printf( |
36 | - esc_html__( |
|
37 | - 'Currency setting inputs are currently only enabled for the country "%1$s" which is the selected country for the site. This can be changed in the "Contact Information" section under the "Your Organization" tab of the Event Espresso - General Settings.', |
|
38 | - 'event_espresso' |
|
39 | - ), |
|
40 | - $CNT_name_for_site |
|
41 | - ); ?> |
|
36 | + esc_html__( |
|
37 | + 'Currency setting inputs are currently only enabled for the country "%1$s" which is the selected country for the site. This can be changed in the "Contact Information" section under the "Your Organization" tab of the Event Espresso - General Settings.', |
|
38 | + 'event_espresso' |
|
39 | + ), |
|
40 | + $CNT_name_for_site |
|
41 | + ); ?> |
|
42 | 42 | </span> |
43 | 43 | </p> |
44 | 44 | <div id="country-details-settings-dv"> |
45 | 45 | <h2 class="ee-admin-settings-hdr"> |
46 | 46 | <?php |
47 | - echo esc_html__('Country Details', 'event_espresso'); |
|
48 | - echo wp_kses(EEH_Template::get_help_tab_link('country_details_info'), AllowedTags::getAllowedTags()); |
|
49 | - ?> |
|
47 | + echo esc_html__('Country Details', 'event_espresso'); |
|
48 | + echo wp_kses(EEH_Template::get_help_tab_link('country_details_info'), AllowedTags::getAllowedTags()); |
|
49 | + ?> |
|
50 | 50 | </h2> |
51 | 51 | <div id="country-details-dv"><?php echo wp_kses($country_details_settings, AllowedTags::getAllowedTags()); ?></div> |
52 | 52 | </div> |
@@ -54,9 +54,9 @@ discard block |
||
54 | 54 | <div id="country-states-settings-dv"> |
55 | 55 | <h2 class="ee-admin-settings-hdr"> |
56 | 56 | <?php |
57 | - echo esc_html__('States/Provinces', 'event_espresso'); |
|
58 | - echo wp_kses(EEH_Template::get_help_tab_link('country_states_info'), AllowedTags::getAllowedTags()); |
|
59 | - ?> |
|
57 | + echo esc_html__('States/Provinces', 'event_espresso'); |
|
58 | + echo wp_kses(EEH_Template::get_help_tab_link('country_states_info'), AllowedTags::getAllowedTags()); |
|
59 | + ?> |
|
60 | 60 | </h2> |
61 | 61 | <div id="country-states-dv"><?php echo wp_kses($country_states_settings, AllowedTags::getAllowedTags()); ?></div> |
62 | 62 | </div> |
@@ -15,8 +15,8 @@ discard block |
||
15 | 15 | /* @var EE_Question[] $all_questions */ |
16 | 16 | assert(isset($all_questions) && (empty($all_questions) || is_array($all_questions)));// list of unused questions |
17 | 17 | foreach ($all_questions as $unused_question) { |
18 | - assert($unused_question); |
|
19 | - assert($unused_question instanceof EE_Question); |
|
18 | + assert($unused_question); |
|
19 | + assert($unused_question instanceof EE_Question); |
|
20 | 20 | } |
21 | 21 | /* @var array $values . Array of arrays, where each sub-array contains 2 keys: 'id' (internal value) and 'name' (label for displaying) */ |
22 | 22 | assert(is_array($values)); |
@@ -100,10 +100,10 @@ discard block |
||
100 | 100 | <td> |
101 | 101 | <label for="QSG_show_group_name"> |
102 | 102 | <?php echo EEH_Form_Fields::select_input( |
103 | - 'QSG_show_group_name', |
|
104 | - $values, |
|
105 | - $question_group->show_group_name() |
|
106 | - ); ?> |
|
103 | + 'QSG_show_group_name', |
|
104 | + $values, |
|
105 | + $question_group->show_group_name() |
|
106 | + ); ?> |
|
107 | 107 | <p class="description"><?php esc_html_e('Show Group Name on Registration Page?', 'event_espresso'); ?></p> |
108 | 108 | </label> |
109 | 109 | </td> |
@@ -119,13 +119,13 @@ discard block |
||
119 | 119 | <td> |
120 | 120 | <label for="QSG_show_group_order"> |
121 | 121 | <?php echo EEH_Form_Fields::select_input( |
122 | - 'QSG_show_group_desc', |
|
123 | - $values, |
|
124 | - $question_group->show_group_desc() |
|
125 | - ); ?> |
|
122 | + 'QSG_show_group_desc', |
|
123 | + $values, |
|
124 | + $question_group->show_group_desc() |
|
125 | + ); ?> |
|
126 | 126 | <p class="description"><?php |
127 | - esc_html_e(' Show Group Description on Registration Page?', 'event_espresso'); |
|
128 | - ?></p> |
|
127 | + esc_html_e(' Show Group Description on Registration Page?', 'event_espresso'); |
|
128 | + ?></p> |
|
129 | 129 | </label> |
130 | 130 | <input type="hidden" name="QSG_system" value="<?php echo esc_attr($question_group->system_group()); ?>"> |
131 | 131 | </td> |
@@ -141,85 +141,85 @@ discard block |
||
141 | 141 | <div class="form-table question-group-questions inside"> |
142 | 142 | <div class="padding"> |
143 | 143 | <p><span class="description"><?php |
144 | - esc_html_e( |
|
145 | - 'Select which questions should be shown in this group by checking or unchecking boxes. You can drag and drop questions to reorder them. Your changes will be updated when you save.', |
|
146 | - 'event_espresso' |
|
147 | - ); ?></span></p> |
|
144 | + esc_html_e( |
|
145 | + 'Select which questions should be shown in this group by checking or unchecking boxes. You can drag and drop questions to reorder them. Your changes will be updated when you save.', |
|
146 | + 'event_espresso' |
|
147 | + ); ?></span></p> |
|
148 | 148 | <div> |
149 | 149 | <ul class="question-list-sortable"> |
150 | 150 | <?php |
151 | - $question_order = 0; |
|
152 | - $question_group_questions = $question_group->questions(); |
|
153 | - foreach ($all_questions as $question_ID => $question) { |
|
154 | - if ($question instanceof EE_Question) { |
|
155 | - /*@var $question EE_Question*/ |
|
156 | - $checked = isset($question_group_questions[ $question_ID ]) ? 'checked' : ''; |
|
157 | - // disable questions from the personal information question group |
|
158 | - // is it required in the current question group? if so don't allow admins to remove it |
|
159 | - $disabled = in_array( |
|
160 | - $question->system_ID(), |
|
161 | - EEM_Question::instance()->required_system_questions_in_system_question_group( |
|
162 | - $QSG_system |
|
163 | - ) |
|
164 | - ) ? 'disabled' : ''; |
|
165 | - // limit where system questions can appear |
|
166 | - if ( |
|
167 | - $question->system_ID() && |
|
168 | - ! in_array( |
|
169 | - $question->system_ID(), |
|
170 | - EEM_Question::instance()->allowed_system_questions_in_system_question_group( |
|
171 | - $QSG_system |
|
172 | - ) |
|
173 | - ) |
|
174 | - ) { |
|
175 | - continue; // skip over system question not assigned to this group except for the address system group cause we want the address questions to display even if they aren't selected (but still not show the personal system questions). The third condition checks if we're displaying a non system question group and the question is a system question, then we skip because for non-system question groups we only want to show non-system questions. |
|
176 | - } |
|
177 | - ?> |
|
151 | + $question_order = 0; |
|
152 | + $question_group_questions = $question_group->questions(); |
|
153 | + foreach ($all_questions as $question_ID => $question) { |
|
154 | + if ($question instanceof EE_Question) { |
|
155 | + /*@var $question EE_Question*/ |
|
156 | + $checked = isset($question_group_questions[ $question_ID ]) ? 'checked' : ''; |
|
157 | + // disable questions from the personal information question group |
|
158 | + // is it required in the current question group? if so don't allow admins to remove it |
|
159 | + $disabled = in_array( |
|
160 | + $question->system_ID(), |
|
161 | + EEM_Question::instance()->required_system_questions_in_system_question_group( |
|
162 | + $QSG_system |
|
163 | + ) |
|
164 | + ) ? 'disabled' : ''; |
|
165 | + // limit where system questions can appear |
|
166 | + if ( |
|
167 | + $question->system_ID() && |
|
168 | + ! in_array( |
|
169 | + $question->system_ID(), |
|
170 | + EEM_Question::instance()->allowed_system_questions_in_system_question_group( |
|
171 | + $QSG_system |
|
172 | + ) |
|
173 | + ) |
|
174 | + ) { |
|
175 | + continue; // skip over system question not assigned to this group except for the address system group cause we want the address questions to display even if they aren't selected (but still not show the personal system questions). The third condition checks if we're displaying a non system question group and the question is a system question, then we skip because for non-system question groups we only want to show non-system questions. |
|
176 | + } |
|
177 | + ?> |
|
178 | 178 | <li class="ee-question-sortable"> |
179 | 179 | <label for="question-<?php echo absint($question_ID); ?>"> |
180 | 180 | <input type="checkbox" name="questions[<?php echo absint($question_ID); ?>]" |
181 | 181 | id="question-<?php echo absint($question_ID); ?>" |
182 | 182 | value="<?php echo absint($question_ID); ?>" <?php echo esc_attr($disabled); ?> <?php echo esc_attr($checked); ?>> |
183 | 183 | <span class="question-text"><?php |
184 | - echo wp_kses(trim($question->display_text()), AllowedTags::getAllowedTags()) |
|
185 | - . (95 <= strlen(trim($question->display_text())) |
|
186 | - ? "…" |
|
187 | - : ''); |
|
188 | - ?> |
|
184 | + echo wp_kses(trim($question->display_text()), AllowedTags::getAllowedTags()) |
|
185 | + . (95 <= strlen(trim($question->display_text())) |
|
186 | + ? "…" |
|
187 | + : ''); |
|
188 | + ?> |
|
189 | 189 | </span> |
190 | 190 | <input class="question-group-QGQ_order" type="hidden" |
191 | 191 | name="question_orders[<?php echo absint($question_ID); ?>]" |
192 | 192 | value="<?php echo esc_attr($question_order); ?>"> |
193 | 193 | </label> |
194 | 194 | <?php |
195 | - if ( |
|
196 | - EE_Registry::instance()->CAP->current_user_can( |
|
197 | - 'ee_edit_question', |
|
198 | - 'espresso_registration_form_edit_question', |
|
199 | - $question->ID() |
|
200 | - ) |
|
201 | - ) { |
|
202 | - $edit_query_args = array( |
|
203 | - 'action' => 'edit_question', |
|
204 | - 'QST_ID' => $question->ID(), |
|
205 | - ); |
|
206 | - $edit_link = EE_Admin_Page::add_query_args_and_nonce($edit_query_args, EE_FORMS_ADMIN_URL); |
|
207 | - |
|
208 | - echo '<a href="' . $edit_link . '" target="_blank" aria-label="' . |
|
209 | - sprintf( |
|
210 | - esc_attr__('Edit %s', 'event_espresso'), |
|
211 | - $question->admin_label() |
|
212 | - ) |
|
213 | - . '"><span class="dashicons dashicons-edit"></span> |
|
195 | + if ( |
|
196 | + EE_Registry::instance()->CAP->current_user_can( |
|
197 | + 'ee_edit_question', |
|
198 | + 'espresso_registration_form_edit_question', |
|
199 | + $question->ID() |
|
200 | + ) |
|
201 | + ) { |
|
202 | + $edit_query_args = array( |
|
203 | + 'action' => 'edit_question', |
|
204 | + 'QST_ID' => $question->ID(), |
|
205 | + ); |
|
206 | + $edit_link = EE_Admin_Page::add_query_args_and_nonce($edit_query_args, EE_FORMS_ADMIN_URL); |
|
207 | + |
|
208 | + echo '<a href="' . $edit_link . '" target="_blank" aria-label="' . |
|
209 | + sprintf( |
|
210 | + esc_attr__('Edit %s', 'event_espresso'), |
|
211 | + $question->admin_label() |
|
212 | + ) |
|
213 | + . '"><span class="dashicons dashicons-edit"></span> |
|
214 | 214 | </a>'; |
215 | - } |
|
216 | - ?> |
|
215 | + } |
|
216 | + ?> |
|
217 | 217 | </li> |
218 | 218 | <?php |
219 | - $question_order++; |
|
220 | - } |
|
221 | - } |
|
222 | - ?> |
|
219 | + $question_order++; |
|
220 | + } |
|
221 | + } |
|
222 | + ?> |
|
223 | 223 | </ul> |
224 | 224 | </div> |
225 | 225 | </div> |
@@ -2,29 +2,29 @@ discard block |
||
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&utm_medium=link&utm_campaign=espresso_about_tab&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&utm_medium=link&utm_campaign=espresso_about_tab&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&utm_medium=link&utm_campaign=espresso_about_tab&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&utm_medium=link&utm_campaign=espresso_about_tab&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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 esc_url_raw(EEH_Template::getScreenshotUrl('multiple-themes')); ?>" |
@@ -15,40 +15,40 @@ discard block |
||
15 | 15 | <tbody> |
16 | 16 | <tr valign="top"> |
17 | 17 | <th><label for="PRT_ID"><?php |
18 | - esc_html_e( |
|
19 | - 'Type', |
|
20 | - 'event_espresso' |
|
21 | - ); ?></label> <?php echo wp_kses(EEH_Template::get_help_tab_link('type_field_info'), AllowedTags::getAllowedTags()); ?></th> |
|
18 | + esc_html_e( |
|
19 | + 'Type', |
|
20 | + 'event_espresso' |
|
21 | + ); ?></label> <?php echo wp_kses(EEH_Template::get_help_tab_link('type_field_info'), AllowedTags::getAllowedTags()); ?></th> |
|
22 | 22 | <td> |
23 | 23 | <?php if ($price->type_obj() && $price->type_obj()->base_type() === 1) : ?> |
24 | 24 | <input type="hidden" name="PRT_ID" id="PRT_ID" value="<?php echo esc_attr($price->type()); ?>"/> |
25 | 25 | <p><strong><?php esc_html_e('Price', 'event_espresso'); ?></strong></p> |
26 | 26 | <p class="description"> |
27 | 27 | <?php |
28 | - esc_html_e( |
|
29 | - 'This is the default base price. Every new ticket created will start off with this base price.', |
|
30 | - 'event_espresso' |
|
31 | - ); |
|
32 | - ?> |
|
28 | + esc_html_e( |
|
29 | + 'This is the default base price. Every new ticket created will start off with this base price.', |
|
30 | + 'event_espresso' |
|
31 | + ); |
|
32 | + ?> |
|
33 | 33 | </p> |
34 | 34 | <?php else : ?> |
35 | 35 | <?php echo EEH_Form_Fields::select_input('PRT_ID', $price_types, $price->type(), 'id="PRT_ID"'); ?> |
36 | 36 | <p class="description"> |
37 | 37 | <?php |
38 | - esc_html_e( |
|
39 | - 'Price Modifier. Default items will apply to ALL new events you create.', |
|
40 | - 'event_espresso' |
|
41 | - ); |
|
42 | - ?></p> |
|
38 | + esc_html_e( |
|
39 | + 'Price Modifier. Default items will apply to ALL new events you create.', |
|
40 | + 'event_espresso' |
|
41 | + ); |
|
42 | + ?></p> |
|
43 | 43 | <?php endif; ?> |
44 | 44 | </td> |
45 | 45 | </tr> |
46 | 46 | <tr valign="top"> |
47 | 47 | <th><label for="PRC_name"><?php |
48 | - esc_html_e( |
|
49 | - 'Name', |
|
50 | - 'event_espresso' |
|
51 | - ); ?></label> <?php echo wp_kses(EEH_Template::get_help_tab_link('name_field_info'), AllowedTags::getAllowedTags()); ?></th> |
|
48 | + esc_html_e( |
|
49 | + 'Name', |
|
50 | + 'event_espresso' |
|
51 | + ); ?></label> <?php echo wp_kses(EEH_Template::get_help_tab_link('name_field_info'), AllowedTags::getAllowedTags()); ?></th> |
|
52 | 52 | <td> |
53 | 53 | <input class="regular-text" type="text" id="PRC_name" name="PRC_name" |
54 | 54 | value="<?php $price->f('PRC_name'); ?>"/> |
@@ -56,22 +56,22 @@ discard block |
||
56 | 56 | </tr> |
57 | 57 | <tr valign="top"> |
58 | 58 | <th><label for="PRC_desc"><?php |
59 | - esc_html_e( |
|
60 | - 'Description', |
|
61 | - 'event_espresso' |
|
62 | - ); ?></label> <?php echo wp_kses(EEH_Template::get_help_tab_link('description_field_info'), AllowedTags::getAllowedTags()); ?></th> |
|
59 | + esc_html_e( |
|
60 | + 'Description', |
|
61 | + 'event_espresso' |
|
62 | + ); ?></label> <?php echo wp_kses(EEH_Template::get_help_tab_link('description_field_info'), AllowedTags::getAllowedTags()); ?></th> |
|
63 | 63 | <td> |
64 | 64 | <textarea class="regular-text" id="PRC_desc" name="PRC_desc" rows="5"><?php |
65 | - echo esc_textarea($price->get_f('PRC_desc')); |
|
66 | - ?></textarea><br/> |
|
65 | + echo esc_textarea($price->get_f('PRC_desc')); |
|
66 | + ?></textarea><br/> |
|
67 | 67 | </td> |
68 | 68 | </tr> |
69 | 69 | <tr valign="top"> |
70 | 70 | <th><label for="PRC_amount"><?php |
71 | - esc_html_e( |
|
72 | - 'Amount', |
|
73 | - 'event_espresso' |
|
74 | - ); ?><?php echo wp_kses(EEH_Template::get_help_tab_link('amount_field_info'), AllowedTags::getAllowedTags()); ?></label></th> |
|
71 | + esc_html_e( |
|
72 | + 'Amount', |
|
73 | + 'event_espresso' |
|
74 | + ); ?><?php echo wp_kses(EEH_Template::get_help_tab_link('amount_field_info'), AllowedTags::getAllowedTags()); ?></label></th> |
|
75 | 75 | <td> |
76 | 76 | <input class="small-text ee-numeric" type="text" id="PRC_amount" name="PRC_amount" |
77 | 77 | value="<?php echo esc_attr($price->amount()); ?>"/> |
@@ -5,18 +5,18 @@ discard block |
||
5 | 5 | add_filter('FHEE__EEH_Form_Fields__label_html', '__return_empty_string'); |
6 | 6 | |
7 | 7 | $values = EEH_Form_Fields::prep_answer_options( |
8 | - array( |
|
9 | - array('id' => 1, 'text' => esc_html__('Yes', 'event_espresso')), |
|
10 | - array('id' => 0, 'text' => esc_html__('No', 'event_espresso')), |
|
11 | - ) |
|
8 | + array( |
|
9 | + array('id' => 1, 'text' => esc_html__('Yes', 'event_espresso')), |
|
10 | + array('id' => 0, 'text' => esc_html__('No', 'event_espresso')), |
|
11 | + ) |
|
12 | 12 | ); |
13 | 13 | |
14 | 14 | $description = EEH_Form_Fields::prep_answer_options( |
15 | - array( |
|
16 | - array('id' => 0, 'text' => esc_html__('none', 'event_espresso')), |
|
17 | - array('id' => 1, 'text' => esc_html__('excerpt (short desc)', 'event_espresso')), |
|
18 | - array('id' => 2, 'text' => esc_html__('full description', 'event_espresso')), |
|
19 | - ) |
|
15 | + array( |
|
16 | + array('id' => 0, 'text' => esc_html__('none', 'event_espresso')), |
|
17 | + array('id' => 1, 'text' => esc_html__('excerpt (short desc)', 'event_espresso')), |
|
18 | + array('id' => 2, 'text' => esc_html__('full description', 'event_espresso')), |
|
19 | + ) |
|
20 | 20 | ); |
21 | 21 | |
22 | 22 | ?> |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | <td> |
42 | 42 | <a id="event_listings_url" class="ee-admin-settings-hdr-lnk small-text" |
43 | 43 | href="<?php echo EEH_Event_View::event_archive_url(); ?>"><?php |
44 | - echo EEH_Event_View::event_archive_url(); ?></a> |
|
44 | + echo EEH_Event_View::event_archive_url(); ?></a> |
|
45 | 45 | </td> |
46 | 46 | </tr> |
47 | 47 | |
@@ -53,30 +53,30 @@ discard block |
||
53 | 53 | </th> |
54 | 54 | <td> |
55 | 55 | <p><?php echo site_url() . '/ ' |
56 | - . EEH_Form_Fields::text( |
|
57 | - 'not_used', |
|
58 | - EE_Registry::instance()->CFG->core->event_cpt_slug, |
|
59 | - 'event_cpt_slug', |
|
60 | - 'event_cpt_slug', |
|
61 | - 'regular' |
|
62 | - ); ?></p> |
|
56 | + . EEH_Form_Fields::text( |
|
57 | + 'not_used', |
|
58 | + EE_Registry::instance()->CFG->core->event_cpt_slug, |
|
59 | + 'event_cpt_slug', |
|
60 | + 'event_cpt_slug', |
|
61 | + 'regular' |
|
62 | + ); ?></p> |
|
63 | 63 | <p class="description"><?php |
64 | - esc_html_e( |
|
65 | - 'This allows you to configure what slug is used for the url of all event pages.', |
|
66 | - 'event_espresso' |
|
67 | - ); ?></p> |
|
64 | + esc_html_e( |
|
65 | + 'This allows you to configure what slug is used for the url of all event pages.', |
|
66 | + 'event_espresso' |
|
67 | + ); ?></p> |
|
68 | 68 | <?php if (has_filter('FHEE__EE_Register_CPTs__register_CPT__rewrite')) : ?> |
69 | 69 | <p class="important-notice"> |
70 | 70 | <?php |
71 | - sprintf( |
|
72 | - esc_html__( |
|
73 | - 'Usage of the %1$s FHEE__EE_Register_CPTs__register_CPT__rewrite %2$s filter has been detected. Please be aware that while this filter is being used, this setting has no affect.', |
|
74 | - 'event_espresso' |
|
75 | - ), |
|
76 | - '<code>', |
|
77 | - '</code>' |
|
78 | - ); |
|
79 | - ?> |
|
71 | + sprintf( |
|
72 | + esc_html__( |
|
73 | + 'Usage of the %1$s FHEE__EE_Register_CPTs__register_CPT__rewrite %2$s filter has been detected. Please be aware that while this filter is being used, this setting has no affect.', |
|
74 | + 'event_espresso' |
|
75 | + ), |
|
76 | + '<code>', |
|
77 | + '</code>' |
|
78 | + ); |
|
79 | + ?> |
|
80 | 80 | </p> |
81 | 81 | <?php endif; ?> |
82 | 82 | </td> |
@@ -90,17 +90,17 @@ discard block |
||
90 | 90 | </th> |
91 | 91 | <td> |
92 | 92 | <?php echo EEH_Form_Fields::select( |
93 | - 'display_status_banner', |
|
94 | - $display_status_banner, |
|
95 | - $values, |
|
96 | - 'EED_Events_Archive_display_status_banner', |
|
97 | - 'EED_Events_Archive_display_status_banner' |
|
98 | - ); ?> |
|
93 | + 'display_status_banner', |
|
94 | + $display_status_banner, |
|
95 | + $values, |
|
96 | + 'EED_Events_Archive_display_status_banner', |
|
97 | + 'EED_Events_Archive_display_status_banner' |
|
98 | + ); ?> |
|
99 | 99 | <p class="description"><?php |
100 | - esc_html_e( |
|
101 | - 'Selecting "Yes" will inject an Event Status banner with the title whenever Events are displaying on the events archive page.', |
|
102 | - 'event_espresso' |
|
103 | - ); ?></p> |
|
100 | + esc_html_e( |
|
101 | + 'Selecting "Yes" will inject an Event Status banner with the title whenever Events are displaying on the events archive page.', |
|
102 | + 'event_espresso' |
|
103 | + ); ?></p> |
|
104 | 104 | </td> |
105 | 105 | </tr> |
106 | 106 | |
@@ -113,12 +113,12 @@ discard block |
||
113 | 113 | </th> |
114 | 114 | <td> |
115 | 115 | <?php echo EEH_Form_Fields::select( |
116 | - 'description', |
|
117 | - $display_description, |
|
118 | - $description, |
|
119 | - 'EED_Events_Archive_display_description', |
|
120 | - 'EED_Events_Archive_display_description' |
|
121 | - ); ?> |
|
116 | + 'description', |
|
117 | + $display_description, |
|
118 | + $description, |
|
119 | + 'EED_Events_Archive_display_description', |
|
120 | + 'EED_Events_Archive_display_description' |
|
121 | + ); ?> |
|
122 | 122 | </td> |
123 | 123 | </tr> |
124 | 124 | |
@@ -131,12 +131,12 @@ discard block |
||
131 | 131 | </th> |
132 | 132 | <td> |
133 | 133 | <?php echo EEH_Form_Fields::select( |
134 | - 'ticket_selector', |
|
135 | - $display_ticket_selector, |
|
136 | - $values, |
|
137 | - 'EED_Events_Archive_display_ticket_selector', |
|
138 | - 'EED_Events_Archive_display_ticket_selector' |
|
139 | - ); ?> |
|
134 | + 'ticket_selector', |
|
135 | + $display_ticket_selector, |
|
136 | + $values, |
|
137 | + 'EED_Events_Archive_display_ticket_selector', |
|
138 | + 'EED_Events_Archive_display_ticket_selector' |
|
139 | + ); ?> |
|
140 | 140 | </td> |
141 | 141 | </tr> |
142 | 142 | |
@@ -149,12 +149,12 @@ discard block |
||
149 | 149 | </th> |
150 | 150 | <td> |
151 | 151 | <?php echo EEH_Form_Fields::select( |
152 | - 'venue_details', |
|
153 | - $display_datetimes, |
|
154 | - $values, |
|
155 | - 'EED_Events_Archive_display_datetimes', |
|
156 | - 'EED_Events_Archive_display_datetimes' |
|
157 | - ); ?> |
|
152 | + 'venue_details', |
|
153 | + $display_datetimes, |
|
154 | + $values, |
|
155 | + 'EED_Events_Archive_display_datetimes', |
|
156 | + 'EED_Events_Archive_display_datetimes' |
|
157 | + ); ?> |
|
158 | 158 | </td> |
159 | 159 | </tr> |
160 | 160 | |
@@ -167,12 +167,12 @@ discard block |
||
167 | 167 | </th> |
168 | 168 | <td> |
169 | 169 | <?php echo EEH_Form_Fields::select( |
170 | - 'display_venue', |
|
171 | - $display_venue, |
|
172 | - $values, |
|
173 | - 'EED_Events_Archive_display_venue', |
|
174 | - 'EED_Events_Archive_display_venue' |
|
175 | - ); ?> |
|
170 | + 'display_venue', |
|
171 | + $display_venue, |
|
172 | + $values, |
|
173 | + 'EED_Events_Archive_display_venue', |
|
174 | + 'EED_Events_Archive_display_venue' |
|
175 | + ); ?> |
|
176 | 176 | </td> |
177 | 177 | </tr> |
178 | 178 | |
@@ -185,12 +185,12 @@ discard block |
||
185 | 185 | </th> |
186 | 186 | <td> |
187 | 187 | <?php echo EEH_Form_Fields::select( |
188 | - 'expired_events', |
|
189 | - $display_expired_events, |
|
190 | - $values, |
|
191 | - 'EED_Events_Archive_display_expired_events', |
|
192 | - 'EED_Events_Archive_display_expired_events' |
|
193 | - ); ?> |
|
188 | + 'expired_events', |
|
189 | + $display_expired_events, |
|
190 | + $values, |
|
191 | + 'EED_Events_Archive_display_expired_events', |
|
192 | + 'EED_Events_Archive_display_expired_events' |
|
193 | + ); ?> |
|
194 | 194 | </td> |
195 | 195 | </tr> |
196 | 196 | |
@@ -198,43 +198,43 @@ discard block |
||
198 | 198 | <th> |
199 | 199 | <label for="EED_Events_Archive_use_sortable_display_order"> |
200 | 200 | <?php esc_html_e( |
201 | - 'Use Custom Display Order?', |
|
202 | - 'event_espresso' |
|
203 | - ); ?><?php // echo wp_kses(EEH_Template::get_help_tab_link('use_sortable_display_order_info'),AllowedTags::getAllowedTags()); ?> |
|
201 | + 'Use Custom Display Order?', |
|
202 | + 'event_espresso' |
|
203 | + ); ?><?php // echo wp_kses(EEH_Template::get_help_tab_link('use_sortable_display_order_info'),AllowedTags::getAllowedTags()); ?> |
|
204 | 204 | </label> |
205 | 205 | </th> |
206 | 206 | <td> |
207 | 207 | <?php echo EEH_Form_Fields::select( |
208 | - 'use_sortable_display_order', |
|
209 | - $use_sortable_display_order, |
|
210 | - $values, |
|
211 | - 'EED_Events_Archive_use_sortable_display_order', |
|
212 | - 'EED_Events_Archive_use_sortable_display_order' |
|
213 | - ); ?> |
|
208 | + 'use_sortable_display_order', |
|
209 | + $use_sortable_display_order, |
|
210 | + $values, |
|
211 | + 'EED_Events_Archive_use_sortable_display_order', |
|
212 | + 'EED_Events_Archive_use_sortable_display_order' |
|
213 | + ); ?> |
|
214 | 214 | </td> |
215 | 215 | </tr> |
216 | 216 | |
217 | 217 | <tr> |
218 | 218 | <th> |
219 | 219 | <?php esc_html_e( |
220 | - 'Display Order', |
|
221 | - 'event_espresso' |
|
222 | - ); ?><?php // echo wp_kses(EEH_Template::get_help_tab_link('event_archive_order_info'),AllowedTags::getAllowedTags()); ?> |
|
220 | + 'Display Order', |
|
221 | + 'event_espresso' |
|
222 | + ); ?><?php // echo wp_kses(EEH_Template::get_help_tab_link('event_archive_order_info'),AllowedTags::getAllowedTags()); ?> |
|
223 | 223 | </th> |
224 | 224 | <td> |
225 | 225 | |
226 | 226 | <?php wp_nonce_field( |
227 | - 'espresso_update_event_archive_order', |
|
228 | - 'espresso_update_event_archive_order_nonce', |
|
229 | - false |
|
230 | - ); ?> |
|
227 | + 'espresso_update_event_archive_order', |
|
228 | + 'espresso_update_event_archive_order_nonce', |
|
229 | + false |
|
230 | + ); ?> |
|
231 | 231 | <?php echo wp_kses($event_archive_display_order, AllowedTags::getWithFormTags()); ?> |
232 | 232 | |
233 | 233 | <p class="description"><?php |
234 | - esc_html_e( |
|
235 | - 'Drag and Drop the above to determine the display order of the Event Description, Date and Times, Ticket Selector, and Venue Information on the event archive page.', |
|
236 | - 'event_espresso' |
|
237 | - ); ?></p> |
|
234 | + esc_html_e( |
|
235 | + 'Drag and Drop the above to determine the display order of the Event Description, Date and Times, Ticket Selector, and Venue Information on the event archive page.', |
|
236 | + 'event_espresso' |
|
237 | + ); ?></p> |
|
238 | 238 | |
239 | 239 | </td> |
240 | 240 | </tr> |
@@ -247,12 +247,12 @@ discard block |
||
247 | 247 | </th> |
248 | 248 | <td> |
249 | 249 | <?php echo EEH_Form_Fields::select( |
250 | - 'reset_event_list_settings', |
|
251 | - 0, |
|
252 | - $values, |
|
253 | - 'EED_Events_Archive_reset_event_list_settings', |
|
254 | - 'EED_Events_Archive_reset_event_list_settings' |
|
255 | - ); ?> |
|
250 | + 'reset_event_list_settings', |
|
251 | + 0, |
|
252 | + $values, |
|
253 | + 'EED_Events_Archive_reset_event_list_settings', |
|
254 | + 'EED_Events_Archive_reset_event_list_settings' |
|
255 | + ); ?> |
|
256 | 256 | </td> |
257 | 257 | </tr> |
258 | 258 |
@@ -4,10 +4,10 @@ discard block |
||
4 | 4 | |
5 | 5 | add_filter('FHEE__EEH_Form_Fields__label_html', '__return_empty_string'); |
6 | 6 | $values = EEH_Form_Fields::prep_answer_options( |
7 | - array( |
|
8 | - array('id' => 1, 'text' => esc_html__('Yes', 'event_espresso')), |
|
9 | - array('id' => 0, 'text' => esc_html__('No', 'event_espresso')), |
|
10 | - ) |
|
7 | + array( |
|
8 | + array('id' => 1, 'text' => esc_html__('Yes', 'event_espresso')), |
|
9 | + array('id' => 0, 'text' => esc_html__('No', 'event_espresso')), |
|
10 | + ) |
|
11 | 11 | ); |
12 | 12 | ?> |
13 | 13 | |
@@ -15,9 +15,9 @@ discard block |
||
15 | 15 | |
16 | 16 | <h2 class="ee-admin-settings-hdr"> |
17 | 17 | <?php esc_html_e( |
18 | - 'Single Event Pages', |
|
19 | - 'event_espresso' |
|
20 | - ); ?><?php // echo wp_kses(EEH_Template::get_help_tab_link('event_single_settings_info'),AllowedTags::getAllowedTags()); ?> |
|
18 | + 'Single Event Pages', |
|
19 | + 'event_espresso' |
|
20 | + ); ?><?php // echo wp_kses(EEH_Template::get_help_tab_link('event_single_settings_info'),AllowedTags::getAllowedTags()); ?> |
|
21 | 21 | </h2> |
22 | 22 | <table class="form-table"> |
23 | 23 | <tbody> |
@@ -29,17 +29,17 @@ discard block |
||
29 | 29 | </th> |
30 | 30 | <td> |
31 | 31 | <?php echo EEH_Form_Fields::select( |
32 | - 'display_status_banner_single', |
|
33 | - $display_status_banner_single, |
|
34 | - $values, |
|
35 | - 'display_status_banner_single', |
|
36 | - 'display_status_banner_single' |
|
37 | - ); ?> |
|
32 | + 'display_status_banner_single', |
|
33 | + $display_status_banner_single, |
|
34 | + $values, |
|
35 | + 'display_status_banner_single', |
|
36 | + 'display_status_banner_single' |
|
37 | + ); ?> |
|
38 | 38 | <p class="description"><?php |
39 | - esc_html_e( |
|
40 | - 'Selecting "Yes" will inject an Event Status banner with the title whenever Events are displaying on the single event page.', |
|
41 | - 'event_espresso' |
|
42 | - ); ?></p> |
|
39 | + esc_html_e( |
|
40 | + 'Selecting "Yes" will inject an Event Status banner with the title whenever Events are displaying on the single event page.', |
|
41 | + 'event_espresso' |
|
42 | + ); ?></p> |
|
43 | 43 | </td> |
44 | 44 | </tr> |
45 | 45 | |
@@ -52,17 +52,17 @@ discard block |
||
52 | 52 | </th> |
53 | 53 | <td> |
54 | 54 | <?php echo EEH_Form_Fields::select( |
55 | - 'display_venue', |
|
56 | - $display_venue, |
|
57 | - $values, |
|
58 | - 'display_venue', |
|
59 | - 'display_venue' |
|
60 | - ); ?> |
|
55 | + 'display_venue', |
|
56 | + $display_venue, |
|
57 | + $values, |
|
58 | + 'display_venue', |
|
59 | + 'display_venue' |
|
60 | + ); ?> |
|
61 | 61 | <p class="description"><?php |
62 | - esc_html_e( |
|
63 | - 'Do not use this if you are using the venue shortcodes in your event description.', |
|
64 | - 'event_espresso' |
|
65 | - ); ?></p> |
|
62 | + esc_html_e( |
|
63 | + 'Do not use this if you are using the venue shortcodes in your event description.', |
|
64 | + 'event_espresso' |
|
65 | + ); ?></p> |
|
66 | 66 | </td> |
67 | 67 | </tr> |
68 | 68 | |
@@ -74,14 +74,14 @@ discard block |
||
74 | 74 | </th> |
75 | 75 | <td> |
76 | 76 | <?php |
77 | - echo EEH_Form_Fields::select( |
|
78 | - 'use_sortable_display_order', |
|
79 | - $use_sortable_display_order, |
|
80 | - $values, |
|
81 | - 'EED_Events_Single_use_sortable_display_order', |
|
82 | - 'EED_Events_Single_use_sortable_display_order' |
|
83 | - ); |
|
84 | - ?> |
|
77 | + echo EEH_Form_Fields::select( |
|
78 | + 'use_sortable_display_order', |
|
79 | + $use_sortable_display_order, |
|
80 | + $values, |
|
81 | + 'EED_Events_Single_use_sortable_display_order', |
|
82 | + 'EED_Events_Single_use_sortable_display_order' |
|
83 | + ); |
|
84 | + ?> |
|
85 | 85 | </td> |
86 | 86 | </tr> |
87 | 87 | |
@@ -93,17 +93,17 @@ discard block |
||
93 | 93 | <td> |
94 | 94 | |
95 | 95 | <?php wp_nonce_field( |
96 | - 'espresso_update_event_single_order', |
|
97 | - 'espresso_update_event_single_order_nonce', |
|
98 | - false |
|
99 | - ); ?> |
|
96 | + 'espresso_update_event_single_order', |
|
97 | + 'espresso_update_event_single_order_nonce', |
|
98 | + false |
|
99 | + ); ?> |
|
100 | 100 | <?php echo wp_kses($event_single_display_order, AllowedTags::getWithFormTags()); ?> |
101 | 101 | |
102 | 102 | <p class="description"><?php |
103 | - esc_html_e( |
|
104 | - 'Drag and Drop the above to determine the display order of the Event Description, Date and Times, Ticket Selector, and Venue Information on the single event page.', |
|
105 | - 'event_espresso' |
|
106 | - ); ?></p> |
|
103 | + esc_html_e( |
|
104 | + 'Drag and Drop the above to determine the display order of the Event Description, Date and Times, Ticket Selector, and Venue Information on the single event page.', |
|
105 | + 'event_espresso' |
|
106 | + ); ?></p> |
|
107 | 107 | |
108 | 108 | </td> |
109 | 109 | </tr> |
@@ -38,103 +38,103 @@ |
||
38 | 38 | * @since 4.0 |
39 | 39 | */ |
40 | 40 | if (function_exists('espresso_version')) { |
41 | - if (! function_exists('espresso_duplicate_plugin_error')) { |
|
42 | - /** |
|
43 | - * espresso_duplicate_plugin_error |
|
44 | - * displays if more than one version of EE is activated at the same time |
|
45 | - */ |
|
46 | - function espresso_duplicate_plugin_error() |
|
47 | - { |
|
48 | - ?> |
|
41 | + if (! function_exists('espresso_duplicate_plugin_error')) { |
|
42 | + /** |
|
43 | + * espresso_duplicate_plugin_error |
|
44 | + * displays if more than one version of EE is activated at the same time |
|
45 | + */ |
|
46 | + function espresso_duplicate_plugin_error() |
|
47 | + { |
|
48 | + ?> |
|
49 | 49 | <div class="error"> |
50 | 50 | <p> |
51 | 51 | <?php |
52 | - echo esc_html__( |
|
53 | - 'Can not run multiple versions of Event Espresso! One version has been automatically deactivated. Please verify that you have the correct version you want still active.', |
|
54 | - 'event_espresso' |
|
55 | - ); ?> |
|
52 | + echo esc_html__( |
|
53 | + 'Can not run multiple versions of Event Espresso! One version has been automatically deactivated. Please verify that you have the correct version you want still active.', |
|
54 | + 'event_espresso' |
|
55 | + ); ?> |
|
56 | 56 | </p> |
57 | 57 | </div> |
58 | 58 | <?php |
59 | - espresso_deactivate_plugin(plugin_basename(__FILE__)); |
|
60 | - } |
|
61 | - } |
|
62 | - add_action('admin_notices', 'espresso_duplicate_plugin_error', 1); |
|
59 | + espresso_deactivate_plugin(plugin_basename(__FILE__)); |
|
60 | + } |
|
61 | + } |
|
62 | + add_action('admin_notices', 'espresso_duplicate_plugin_error', 1); |
|
63 | 63 | } else { |
64 | - define('EE_MIN_PHP_VER_REQUIRED', '5.6.2'); |
|
65 | - if (! version_compare(PHP_VERSION, EE_MIN_PHP_VER_REQUIRED, '>=')) { |
|
66 | - /** |
|
67 | - * espresso_minimum_php_version_error |
|
68 | - * |
|
69 | - * @return void |
|
70 | - */ |
|
71 | - function espresso_minimum_php_version_error() |
|
72 | - { |
|
73 | - ?> |
|
64 | + define('EE_MIN_PHP_VER_REQUIRED', '5.6.2'); |
|
65 | + if (! version_compare(PHP_VERSION, EE_MIN_PHP_VER_REQUIRED, '>=')) { |
|
66 | + /** |
|
67 | + * espresso_minimum_php_version_error |
|
68 | + * |
|
69 | + * @return void |
|
70 | + */ |
|
71 | + function espresso_minimum_php_version_error() |
|
72 | + { |
|
73 | + ?> |
|
74 | 74 | <div class="error"> |
75 | 75 | <p> |
76 | 76 | <?php |
77 | - printf( |
|
78 | - esc_html__( |
|
79 | - 'We\'re sorry, but Event Espresso requires PHP version %1$s or greater in order to operate. You are currently running version %2$s.%3$sIn order to update your version of PHP, you will need to contact your current hosting provider.%3$sFor information on stable PHP versions, please go to %4$s.', |
|
80 | - 'event_espresso' |
|
81 | - ), |
|
82 | - EE_MIN_PHP_VER_REQUIRED, |
|
83 | - PHP_VERSION, |
|
84 | - '<br/>', |
|
85 | - '<a href="http://php.net/downloads.php">http://php.net/downloads.php</a>' |
|
86 | - ); |
|
87 | - ?> |
|
77 | + printf( |
|
78 | + esc_html__( |
|
79 | + 'We\'re sorry, but Event Espresso requires PHP version %1$s or greater in order to operate. You are currently running version %2$s.%3$sIn order to update your version of PHP, you will need to contact your current hosting provider.%3$sFor information on stable PHP versions, please go to %4$s.', |
|
80 | + 'event_espresso' |
|
81 | + ), |
|
82 | + EE_MIN_PHP_VER_REQUIRED, |
|
83 | + PHP_VERSION, |
|
84 | + '<br/>', |
|
85 | + '<a href="http://php.net/downloads.php">http://php.net/downloads.php</a>' |
|
86 | + ); |
|
87 | + ?> |
|
88 | 88 | </p> |
89 | 89 | </div> |
90 | 90 | <?php |
91 | - espresso_deactivate_plugin(plugin_basename(__FILE__)); |
|
92 | - } |
|
91 | + espresso_deactivate_plugin(plugin_basename(__FILE__)); |
|
92 | + } |
|
93 | 93 | |
94 | - add_action('admin_notices', 'espresso_minimum_php_version_error', 1); |
|
95 | - } else { |
|
96 | - define('EVENT_ESPRESSO_MAIN_FILE', __FILE__); |
|
97 | - /** |
|
98 | - * espresso_version |
|
99 | - * Returns the plugin version |
|
100 | - * |
|
101 | - * @return string |
|
102 | - */ |
|
103 | - function espresso_version() |
|
104 | - { |
|
105 | - return apply_filters('FHEE__espresso__espresso_version', '4.10.39.rc.018'); |
|
106 | - } |
|
94 | + add_action('admin_notices', 'espresso_minimum_php_version_error', 1); |
|
95 | + } else { |
|
96 | + define('EVENT_ESPRESSO_MAIN_FILE', __FILE__); |
|
97 | + /** |
|
98 | + * espresso_version |
|
99 | + * Returns the plugin version |
|
100 | + * |
|
101 | + * @return string |
|
102 | + */ |
|
103 | + function espresso_version() |
|
104 | + { |
|
105 | + return apply_filters('FHEE__espresso__espresso_version', '4.10.39.rc.018'); |
|
106 | + } |
|
107 | 107 | |
108 | - /** |
|
109 | - * espresso_plugin_activation |
|
110 | - * adds a wp-option to indicate that EE has been activated via the WP admin plugins page |
|
111 | - */ |
|
112 | - function espresso_plugin_activation() |
|
113 | - { |
|
114 | - update_option('ee_espresso_activation', true); |
|
115 | - } |
|
108 | + /** |
|
109 | + * espresso_plugin_activation |
|
110 | + * adds a wp-option to indicate that EE has been activated via the WP admin plugins page |
|
111 | + */ |
|
112 | + function espresso_plugin_activation() |
|
113 | + { |
|
114 | + update_option('ee_espresso_activation', true); |
|
115 | + } |
|
116 | 116 | |
117 | - register_activation_hook(EVENT_ESPRESSO_MAIN_FILE, 'espresso_plugin_activation'); |
|
117 | + register_activation_hook(EVENT_ESPRESSO_MAIN_FILE, 'espresso_plugin_activation'); |
|
118 | 118 | |
119 | - require_once __DIR__ . '/core/bootstrap_espresso.php'; |
|
120 | - bootstrap_espresso(); |
|
121 | - } |
|
119 | + require_once __DIR__ . '/core/bootstrap_espresso.php'; |
|
120 | + bootstrap_espresso(); |
|
121 | + } |
|
122 | 122 | } |
123 | 123 | if (! function_exists('espresso_deactivate_plugin')) { |
124 | - /** |
|
125 | - * deactivate_plugin |
|
126 | - * usage: espresso_deactivate_plugin( plugin_basename( __FILE__ )); |
|
127 | - * |
|
128 | - * @access public |
|
129 | - * @param string $plugin_basename - the results of plugin_basename( __FILE__ ) for the plugin's main file |
|
130 | - * @return void |
|
131 | - */ |
|
132 | - function espresso_deactivate_plugin($plugin_basename = '') |
|
133 | - { |
|
134 | - if (! function_exists('deactivate_plugins')) { |
|
135 | - require_once ABSPATH . 'wp-admin/includes/plugin.php'; |
|
136 | - } |
|
137 | - unset($_GET['activate'], $_REQUEST['activate']); |
|
138 | - deactivate_plugins($plugin_basename); |
|
139 | - } |
|
124 | + /** |
|
125 | + * deactivate_plugin |
|
126 | + * usage: espresso_deactivate_plugin( plugin_basename( __FILE__ )); |
|
127 | + * |
|
128 | + * @access public |
|
129 | + * @param string $plugin_basename - the results of plugin_basename( __FILE__ ) for the plugin's main file |
|
130 | + * @return void |
|
131 | + */ |
|
132 | + function espresso_deactivate_plugin($plugin_basename = '') |
|
133 | + { |
|
134 | + if (! function_exists('deactivate_plugins')) { |
|
135 | + require_once ABSPATH . 'wp-admin/includes/plugin.php'; |
|
136 | + } |
|
137 | + unset($_GET['activate'], $_REQUEST['activate']); |
|
138 | + deactivate_plugins($plugin_basename); |
|
139 | + } |
|
140 | 140 | } |
141 | 141 | \ No newline at end of file |