@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | |
137 | 137 | </div> |
138 | 138 | <?php |
139 | - if (! defined('EE_CAF_URL')) { |
|
139 | + if ( ! defined('EE_CAF_URL')) { |
|
140 | 140 | ?> |
141 | 141 | <div align="right"><a |
142 | 142 | href="https://eventespresso.com/pricing/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=reviews+tab" |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | |
257 | 257 | </div> |
258 | 258 | <?php |
259 | - if (! defined('EE_CAF_URL')) { |
|
259 | + if ( ! defined('EE_CAF_URL')) { |
|
260 | 260 | ?> |
261 | 261 | <div align="right"><a |
262 | 262 | href="https://eventespresso.com/pricing/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=reviews+tab" |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | </div> |
368 | 368 | </div> |
369 | 369 | <?php |
370 | - if (! defined('EE_CAF_URL')) { |
|
370 | + if ( ! defined('EE_CAF_URL')) { |
|
371 | 371 | ?> |
372 | 372 | <div align="right"><a |
373 | 373 | href="https://eventespresso.com/pricing/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=reviews+tab" |
@@ -1,19 +1,19 @@ discard block |
||
1 | 1 | <h2 style="text-align: left;"><?php esc_html_e('Who uses Event Espresso?', 'event_espresso'); ?></h2> |
2 | 2 | <p><?php |
3 | - echo sprintf( |
|
4 | - esc_html__( |
|
5 | - 'Event Espresso is used by over 40,000 event organizers across the world. They host %sconferences%s, %sart classes%s, training courses, concerts, fundraisers, workshops, %sfilm festivals%s, %spaint and wine%s, and more.', |
|
6 | - 'event_espresso' |
|
7 | - ), |
|
8 | - '<a href="https://eventespresso.com/use-cases/conferences/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
9 | - '</a>', |
|
10 | - '<a href="https://eventespresso.com/use-cases/art-classes/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
11 | - '</a>', |
|
12 | - '<a href="https://eventespresso.com/use-cases/film-festival-ticketing-software/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
13 | - '</a>', |
|
14 | - '<a href="https://eventespresso.com/use-cases/paint-wine-party-ticketing-software/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
15 | - '</a>' |
|
16 | - ); ?></p> |
|
3 | + echo sprintf( |
|
4 | + esc_html__( |
|
5 | + 'Event Espresso is used by over 40,000 event organizers across the world. They host %sconferences%s, %sart classes%s, training courses, concerts, fundraisers, workshops, %sfilm festivals%s, %spaint and wine%s, and more.', |
|
6 | + 'event_espresso' |
|
7 | + ), |
|
8 | + '<a href="https://eventespresso.com/use-cases/conferences/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
9 | + '</a>', |
|
10 | + '<a href="https://eventespresso.com/use-cases/art-classes/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
11 | + '</a>', |
|
12 | + '<a href="https://eventespresso.com/use-cases/film-festival-ticketing-software/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
13 | + '</a>', |
|
14 | + '<a href="https://eventespresso.com/use-cases/paint-wine-party-ticketing-software/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
15 | + '</a>' |
|
16 | + ); ?></p> |
|
17 | 17 | |
18 | 18 | <h2 class="about-headline-callout"><?php esc_html_e('Rave Reviews About Event Espresso 4', 'event_espresso'); ?></h2> |
19 | 19 | <p>See what people have to say about the Event Espresso software and support services on <a |
@@ -135,16 +135,16 @@ discard block |
||
135 | 135 | |
136 | 136 | </div> |
137 | 137 | <?php |
138 | - if (! defined('EE_CAF_URL')) { |
|
139 | - ?> |
|
138 | + if (! defined('EE_CAF_URL')) { |
|
139 | + ?> |
|
140 | 140 | <div align="right"><a |
141 | 141 | href="https://eventespresso.com/pricing/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=reviews+tab" |
142 | 142 | target="_blank" class="button button-primary button-hero"><span |
143 | 143 | class="dashicons dashicons-cart"></span><?php esc_html_e('Upgrade Now!', 'event_espresso') ?></a> |
144 | 144 | </div> |
145 | 145 | <?php |
146 | - } |
|
147 | - ?> |
|
146 | + } |
|
147 | + ?> |
|
148 | 148 | |
149 | 149 | <hr/> |
150 | 150 | <div class="feature-section has-3-columns is-fullwidth three-col"> |
@@ -255,16 +255,16 @@ discard block |
||
255 | 255 | |
256 | 256 | </div> |
257 | 257 | <?php |
258 | - if (! defined('EE_CAF_URL')) { |
|
259 | - ?> |
|
258 | + if (! defined('EE_CAF_URL')) { |
|
259 | + ?> |
|
260 | 260 | <div align="right"><a |
261 | 261 | href="https://eventespresso.com/pricing/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=reviews+tab" |
262 | 262 | target="_blank" class="button button-primary button-hero"><span |
263 | 263 | class="dashicons dashicons-cart"></span><?php esc_html_e('Upgrade Now!', 'event_espresso') ?></a> |
264 | 264 | </div> |
265 | 265 | <?php |
266 | - } |
|
267 | - ?> |
|
266 | + } |
|
267 | + ?> |
|
268 | 268 | |
269 | 269 | <hr/> |
270 | 270 | <div class="feature-section has-3-columns is-fullwidth three-col"> |
@@ -366,13 +366,13 @@ discard block |
||
366 | 366 | </div> |
367 | 367 | </div> |
368 | 368 | <?php |
369 | - if (! defined('EE_CAF_URL')) { |
|
370 | - ?> |
|
369 | + if (! defined('EE_CAF_URL')) { |
|
370 | + ?> |
|
371 | 371 | <div align="right"><a |
372 | 372 | href="https://eventespresso.com/pricing/?utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=reviews+tab" |
373 | 373 | target="_blank" class="button button-primary button-hero"><span |
374 | 374 | class="dashicons dashicons-cart"></span><?php esc_html_e('Upgrade Now!', 'event_espresso') ?></a> |
375 | 375 | </div> |
376 | 376 | <?php |
377 | - } |
|
378 | - ?> |
|
379 | 377 | \ No newline at end of file |
378 | + } |
|
379 | + ?> |
|
380 | 380 | \ No newline at end of file |
@@ -1,64 +1,64 @@ discard block |
||
1 | 1 | <p><?php |
2 | - echo sprintf( |
|
3 | - esc_html__( |
|
4 | - 'We offer a free version of Event Espresso 4 called Decaf which is a good fit for basic events. Need more features like custom registration forms and advanced email notifications? %sUpgrade to Event Espresso 4 (Regular)%s.', |
|
5 | - 'event_espresso' |
|
6 | - ), |
|
7 | - '<a href="https://eventespresso.com/pricing/?ee_ver=ee4&utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
8 | - '</a>' |
|
9 | - ); ?><br> |
|
2 | + echo sprintf( |
|
3 | + esc_html__( |
|
4 | + 'We offer a free version of Event Espresso 4 called Decaf which is a good fit for basic events. Need more features like custom registration forms and advanced email notifications? %sUpgrade to Event Espresso 4 (Regular)%s.', |
|
5 | + 'event_espresso' |
|
6 | + ), |
|
7 | + '<a href="https://eventespresso.com/pricing/?ee_ver=ee4&utm_source=wordpress_org&utm_medium=link&utm_campaign=decaf_about_page&utm_content=Decaf+vs+Regular">', |
|
8 | + '</a>' |
|
9 | + ); ?><br> |
|
10 | 10 | |
11 | 11 | <?php |
12 | 12 | |
13 | - /** |
|
14 | - * Features |
|
15 | - */ |
|
13 | + /** |
|
14 | + * Features |
|
15 | + */ |
|
16 | 16 | |
17 | - $features = array( |
|
18 | - 'pricing-options' => array( |
|
19 | - 'label' => esc_html__('Handle multiple dates and pricing options', 'event_espresso'), |
|
20 | - 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
21 | - 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
22 | - 'class' => 'alternate', |
|
23 | - ), |
|
24 | - 'custom-registration' => array( |
|
25 | - 'label' => esc_html__('Create custom registration forms', 'event_espresso'), |
|
26 | - 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
27 | - 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
28 | - 'class' => 'none', |
|
29 | - ), |
|
30 | - 'advanced-notifications' => array( |
|
31 | - 'label' => esc_html__('Customize advanced email notifications', 'event_espresso'), |
|
32 | - 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
33 | - 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
34 | - 'class' => 'alternate', |
|
35 | - ), |
|
36 | - 'manage-taxes' => array( |
|
37 | - 'label' => esc_html__('Manage taxes', 'event_espresso'), |
|
38 | - 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
39 | - 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
40 | - 'class' => 'none', |
|
41 | - ), |
|
42 | - 'typography' => array( |
|
43 | - 'label' => esc_html__('Additional payment methods available', 'event_espresso'), |
|
44 | - 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
45 | - 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
46 | - 'class' => 'alternate', |
|
47 | - ), |
|
48 | - 'add-on-compatibility' => array( |
|
49 | - 'label' => esc_html__('Compatibility with add-ons', 'event_espresso'), |
|
50 | - 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
51 | - 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
52 | - 'class' => 'none', |
|
53 | - ), |
|
54 | - 'best-support' => array( |
|
55 | - 'label' => esc_html__('Best in class support', 'event_espresso'), |
|
56 | - 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
57 | - 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
58 | - 'class' => 'alternate', |
|
59 | - ), |
|
60 | - ); |
|
61 | - ?> |
|
17 | + $features = array( |
|
18 | + 'pricing-options' => array( |
|
19 | + 'label' => esc_html__('Handle multiple dates and pricing options', 'event_espresso'), |
|
20 | + 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
21 | + 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
22 | + 'class' => 'alternate', |
|
23 | + ), |
|
24 | + 'custom-registration' => array( |
|
25 | + 'label' => esc_html__('Create custom registration forms', 'event_espresso'), |
|
26 | + 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
27 | + 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
28 | + 'class' => 'none', |
|
29 | + ), |
|
30 | + 'advanced-notifications' => array( |
|
31 | + 'label' => esc_html__('Customize advanced email notifications', 'event_espresso'), |
|
32 | + 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
33 | + 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
34 | + 'class' => 'alternate', |
|
35 | + ), |
|
36 | + 'manage-taxes' => array( |
|
37 | + 'label' => esc_html__('Manage taxes', 'event_espresso'), |
|
38 | + 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
39 | + 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
40 | + 'class' => 'none', |
|
41 | + ), |
|
42 | + 'typography' => array( |
|
43 | + 'label' => esc_html__('Additional payment methods available', 'event_espresso'), |
|
44 | + 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
45 | + 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
46 | + 'class' => 'alternate', |
|
47 | + ), |
|
48 | + 'add-on-compatibility' => array( |
|
49 | + 'label' => esc_html__('Compatibility with add-ons', 'event_espresso'), |
|
50 | + 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
51 | + 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
52 | + 'class' => 'none', |
|
53 | + ), |
|
54 | + 'best-support' => array( |
|
55 | + 'label' => esc_html__('Best in class support', 'event_espresso'), |
|
56 | + 'decaf' => '<span class="dashicons dashicons-no-alt"></span>', |
|
57 | + 'regular' => '<span class="dashicons dashicons-yes"></span></i>', |
|
58 | + 'class' => 'alternate', |
|
59 | + ), |
|
60 | + ); |
|
61 | + ?> |
|
62 | 62 | <div class="featured-section features"> |
63 | 63 | <table class="decaf-regular-table"> |
64 | 64 | <thead> |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | </thead> |
71 | 71 | <tbody> |
72 | 72 | <?php |
73 | - foreach ($features as $feature) : ?> |
|
73 | + foreach ($features as $feature) : ?> |
|
74 | 74 | <tr class="<?php echo $feature['class']; ?>"> |
75 | 75 | <td class="feature"> |
76 | 76 | <h3> |
@@ -4,52 +4,52 @@ |
||
4 | 4 | <?php $type = 'minor'; ?> |
5 | 5 | <?php // $type = 'major'; ?> |
6 | 6 | <p><?php |
7 | - printf( |
|
8 | - __('<strong>Version %1$s</strong> is a %2$s bug fix/enhancement release.', 'event_espresso'), |
|
9 | - EVENT_ESPRESSO_VERSION, |
|
10 | - $type |
|
11 | - ); ?> |
|
7 | + printf( |
|
8 | + __('<strong>Version %1$s</strong> is a %2$s bug fix/enhancement release.', 'event_espresso'), |
|
9 | + EVENT_ESPRESSO_VERSION, |
|
10 | + $type |
|
11 | + ); ?> |
|
12 | 12 | <?php |
13 | - $ver = explode('.', EVENT_ESPRESSO_VERSION); |
|
14 | - array_pop($ver); |
|
15 | - $ver = implode('.', $ver); |
|
16 | - ?> |
|
13 | + $ver = explode('.', EVENT_ESPRESSO_VERSION); |
|
14 | + array_pop($ver); |
|
15 | + $ver = implode('.', $ver); |
|
16 | + ?> |
|
17 | 17 | <?php |
18 | - printf( |
|
19 | - __('For more information, see <a href="%s">the release notes</a>.', 'event_espresso'), |
|
20 | - 'http://eventespresso.com/wiki/ee4-changelog/#' . $ver |
|
21 | - ); ?> |
|
18 | + printf( |
|
19 | + __('For more information, see <a href="%s">the release notes</a>.', 'event_espresso'), |
|
20 | + 'http://eventespresso.com/wiki/ee4-changelog/#' . $ver |
|
21 | + ); ?> |
|
22 | 22 | </p> |
23 | 23 | </div> |
24 | 24 | |
25 | 25 | <div class="changelog"> |
26 | 26 | <?php |
27 | - // maintenance mode on? |
|
28 | - if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) { |
|
29 | - ?> |
|
27 | + // maintenance mode on? |
|
28 | + if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) { |
|
29 | + ?> |
|
30 | 30 | <div class="ee-attention"> |
31 | 31 | <h2 class="ee-maintenance-mode-callout"> |
32 | 32 | <?php |
33 | - _e( |
|
34 | - 'Event Espresso is in full maintenance mode.', |
|
35 | - 'event_espresso' |
|
36 | - ); ?></h2> |
|
33 | + _e( |
|
34 | + 'Event Espresso is in full maintenance mode.', |
|
35 | + 'event_espresso' |
|
36 | + ); ?></h2> |
|
37 | 37 | <p> |
38 | 38 | <?php |
39 | - printf( |
|
40 | - __( |
|
41 | - 'A previous version of Event Espresso has detected. But before anything else can happen, we need to know whether or not to migrate (copy over) your existing event data so that it can be utilized by EE4. For more instructions on what to do, please visit the %sEvent Espresso Maintenance%s page.', |
|
42 | - 'event_espresso' |
|
43 | - ), |
|
44 | - '<a href="admin.php?page=espresso_maintenance_settings">', |
|
45 | - '</a>' |
|
46 | - ); |
|
47 | - ?> |
|
39 | + printf( |
|
40 | + __( |
|
41 | + 'A previous version of Event Espresso has detected. But before anything else can happen, we need to know whether or not to migrate (copy over) your existing event data so that it can be utilized by EE4. For more instructions on what to do, please visit the %sEvent Espresso Maintenance%s page.', |
|
42 | + 'event_espresso' |
|
43 | + ), |
|
44 | + '<a href="admin.php?page=espresso_maintenance_settings">', |
|
45 | + '</a>' |
|
46 | + ); |
|
47 | + ?> |
|
48 | 48 | </p> |
49 | 49 | </div> |
50 | 50 | <?php |
51 | - } |
|
52 | - ?> |
|
51 | + } |
|
52 | + ?> |
|
53 | 53 | |
54 | 54 | |
55 | 55 | <h2 class="about-headline-callout">Initial EE4 Decaf (free) Release</h2> |
@@ -17,7 +17,7 @@ |
||
17 | 17 | <?php |
18 | 18 | printf( |
19 | 19 | __('For more information, see <a href="%s">the release notes</a>.', 'event_espresso'), |
20 | - 'http://eventespresso.com/wiki/ee4-changelog/#' . $ver |
|
20 | + 'http://eventespresso.com/wiki/ee4-changelog/#'.$ver |
|
21 | 21 | ); ?> |
22 | 22 | </p> |
23 | 23 | </div> |
@@ -15,105 +15,105 @@ |
||
15 | 15 | { |
16 | 16 | |
17 | 17 | |
18 | - protected function _set_tips_array() |
|
19 | - { |
|
20 | - $this->_qtipsa = array( |
|
21 | - 0 => array( |
|
22 | - 'content_id' => 'message_status-' . EEM_Message::status_sent, |
|
23 | - 'target' => '.msg-status-' . EEM_Message::status_sent, |
|
24 | - 'content' => $this->_message_status_legend(EEM_Message::status_sent), |
|
25 | - 'options' => array( |
|
26 | - 'position' => array( |
|
27 | - 'target' => 'mouse', |
|
28 | - ), |
|
29 | - ), |
|
30 | - ), |
|
31 | - 1 => array( |
|
32 | - 'content_id' => 'message_status-' . EEM_Message::status_idle, |
|
33 | - 'target' => '.msg-status-' . EEM_Message::status_idle, |
|
34 | - 'content' => $this->_message_status_legend(EEM_Message::status_idle), |
|
35 | - 'options' => array( |
|
36 | - 'position' => array( |
|
37 | - 'target' => 'mouse', |
|
38 | - ), |
|
39 | - ), |
|
40 | - ), |
|
41 | - 2 => array( |
|
42 | - 'content_id' => 'message_status-' . EEM_Message::status_failed, |
|
43 | - 'target' => '.msg-status-' . EEM_Message::status_failed, |
|
44 | - 'content' => $this->_message_status_legend(EEM_Message::status_failed), |
|
45 | - 'options' => array( |
|
46 | - 'position' => array( |
|
47 | - 'target' => 'mouse', |
|
48 | - ), |
|
49 | - ), |
|
50 | - ), |
|
51 | - 3 => array( |
|
52 | - 'content_id' => 'message_status-' . EEM_Message::status_resend, |
|
53 | - 'target' => '.msg-status-' . EEM_Message::status_resend, |
|
54 | - 'content' => $this->_message_status_legend(EEM_Message::status_resend), |
|
55 | - 'options' => array( |
|
56 | - 'position' => array( |
|
57 | - 'target' => 'mouse', |
|
58 | - ), |
|
59 | - ), |
|
60 | - ), |
|
61 | - 4 => array( |
|
62 | - 'content_id' => 'message_status-' . EEM_Message::status_incomplete, |
|
63 | - 'target' => '.msg-status-' . EEM_Message::status_incomplete, |
|
64 | - 'content' => $this->_message_status_legend(EEM_Message::status_incomplete), |
|
65 | - 'options' => array( |
|
66 | - 'position' => array( |
|
67 | - 'target' => 'mouse', |
|
68 | - ), |
|
69 | - ), |
|
70 | - ), |
|
71 | - 5 => array( |
|
72 | - 'content_id' => 'message_status-' . EEM_Message::status_retry, |
|
73 | - 'target' => '.msg-status-' . EEM_Message::status_retry, |
|
74 | - 'content' => $this->_message_status_legend(EEM_Message::status_retry), |
|
75 | - 'options' => array( |
|
76 | - 'position' => array( |
|
77 | - 'target' => 'mouse', |
|
78 | - ), |
|
79 | - ), |
|
80 | - ), |
|
81 | - 6 => array( |
|
82 | - 'content_id' => 'message_status-' . EEM_Message::status_debug_only, |
|
83 | - 'target' => '.msg-status-' . EEM_Message::status_debug_only, |
|
84 | - 'content' => $this->_message_status_legend(EEM_Message::status_debug_only), |
|
85 | - 'options' => array( |
|
86 | - 'position' => array( |
|
87 | - 'target' => 'mouse', |
|
88 | - ), |
|
89 | - ), |
|
90 | - ), |
|
91 | - ); |
|
92 | - } |
|
18 | + protected function _set_tips_array() |
|
19 | + { |
|
20 | + $this->_qtipsa = array( |
|
21 | + 0 => array( |
|
22 | + 'content_id' => 'message_status-' . EEM_Message::status_sent, |
|
23 | + 'target' => '.msg-status-' . EEM_Message::status_sent, |
|
24 | + 'content' => $this->_message_status_legend(EEM_Message::status_sent), |
|
25 | + 'options' => array( |
|
26 | + 'position' => array( |
|
27 | + 'target' => 'mouse', |
|
28 | + ), |
|
29 | + ), |
|
30 | + ), |
|
31 | + 1 => array( |
|
32 | + 'content_id' => 'message_status-' . EEM_Message::status_idle, |
|
33 | + 'target' => '.msg-status-' . EEM_Message::status_idle, |
|
34 | + 'content' => $this->_message_status_legend(EEM_Message::status_idle), |
|
35 | + 'options' => array( |
|
36 | + 'position' => array( |
|
37 | + 'target' => 'mouse', |
|
38 | + ), |
|
39 | + ), |
|
40 | + ), |
|
41 | + 2 => array( |
|
42 | + 'content_id' => 'message_status-' . EEM_Message::status_failed, |
|
43 | + 'target' => '.msg-status-' . EEM_Message::status_failed, |
|
44 | + 'content' => $this->_message_status_legend(EEM_Message::status_failed), |
|
45 | + 'options' => array( |
|
46 | + 'position' => array( |
|
47 | + 'target' => 'mouse', |
|
48 | + ), |
|
49 | + ), |
|
50 | + ), |
|
51 | + 3 => array( |
|
52 | + 'content_id' => 'message_status-' . EEM_Message::status_resend, |
|
53 | + 'target' => '.msg-status-' . EEM_Message::status_resend, |
|
54 | + 'content' => $this->_message_status_legend(EEM_Message::status_resend), |
|
55 | + 'options' => array( |
|
56 | + 'position' => array( |
|
57 | + 'target' => 'mouse', |
|
58 | + ), |
|
59 | + ), |
|
60 | + ), |
|
61 | + 4 => array( |
|
62 | + 'content_id' => 'message_status-' . EEM_Message::status_incomplete, |
|
63 | + 'target' => '.msg-status-' . EEM_Message::status_incomplete, |
|
64 | + 'content' => $this->_message_status_legend(EEM_Message::status_incomplete), |
|
65 | + 'options' => array( |
|
66 | + 'position' => array( |
|
67 | + 'target' => 'mouse', |
|
68 | + ), |
|
69 | + ), |
|
70 | + ), |
|
71 | + 5 => array( |
|
72 | + 'content_id' => 'message_status-' . EEM_Message::status_retry, |
|
73 | + 'target' => '.msg-status-' . EEM_Message::status_retry, |
|
74 | + 'content' => $this->_message_status_legend(EEM_Message::status_retry), |
|
75 | + 'options' => array( |
|
76 | + 'position' => array( |
|
77 | + 'target' => 'mouse', |
|
78 | + ), |
|
79 | + ), |
|
80 | + ), |
|
81 | + 6 => array( |
|
82 | + 'content_id' => 'message_status-' . EEM_Message::status_debug_only, |
|
83 | + 'target' => '.msg-status-' . EEM_Message::status_debug_only, |
|
84 | + 'content' => $this->_message_status_legend(EEM_Message::status_debug_only), |
|
85 | + 'options' => array( |
|
86 | + 'position' => array( |
|
87 | + 'target' => 'mouse', |
|
88 | + ), |
|
89 | + ), |
|
90 | + ), |
|
91 | + ); |
|
92 | + } |
|
93 | 93 | |
94 | 94 | |
95 | - /** |
|
96 | - * output the relevant ee-status-legend with the designated status highlighted. |
|
97 | - * |
|
98 | - * @param EEM_Message constant $status What status is set (by class) |
|
99 | - * @return string The status legend with the related status highlighted |
|
100 | - */ |
|
101 | - private function _message_status_legend($status) |
|
102 | - { |
|
95 | + /** |
|
96 | + * output the relevant ee-status-legend with the designated status highlighted. |
|
97 | + * |
|
98 | + * @param EEM_Message constant $status What status is set (by class) |
|
99 | + * @return string The status legend with the related status highlighted |
|
100 | + */ |
|
101 | + private function _message_status_legend($status) |
|
102 | + { |
|
103 | 103 | |
104 | - $status_array = array( |
|
105 | - 'sent_status' => EEM_Message::status_sent, |
|
106 | - 'idle_status' => EEM_Message::status_idle, |
|
107 | - 'failed_status' => EEM_Message::status_failed, |
|
108 | - 'resend_status' => EEM_Message::status_resend, |
|
109 | - 'incomplete_status' => EEM_Message::status_incomplete, |
|
110 | - 'retry_status' => EEM_Message::status_retry, |
|
111 | - ); |
|
104 | + $status_array = array( |
|
105 | + 'sent_status' => EEM_Message::status_sent, |
|
106 | + 'idle_status' => EEM_Message::status_idle, |
|
107 | + 'failed_status' => EEM_Message::status_failed, |
|
108 | + 'resend_status' => EEM_Message::status_resend, |
|
109 | + 'incomplete_status' => EEM_Message::status_incomplete, |
|
110 | + 'retry_status' => EEM_Message::status_retry, |
|
111 | + ); |
|
112 | 112 | |
113 | - if (defined('WP_DEBUG') && WP_DEBUG) { |
|
114 | - $status_array['debug_only_status'] = EEM_Message::status_debug_only; |
|
115 | - } |
|
113 | + if (defined('WP_DEBUG') && WP_DEBUG) { |
|
114 | + $status_array['debug_only_status'] = EEM_Message::status_debug_only; |
|
115 | + } |
|
116 | 116 | |
117 | - return EEH_Template::status_legend($status_array, $status); |
|
118 | - } |
|
117 | + return EEH_Template::status_legend($status_array, $status); |
|
118 | + } |
|
119 | 119 | } |
@@ -19,8 +19,8 @@ discard block |
||
19 | 19 | { |
20 | 20 | $this->_qtipsa = array( |
21 | 21 | 0 => array( |
22 | - 'content_id' => 'message_status-' . EEM_Message::status_sent, |
|
23 | - 'target' => '.msg-status-' . EEM_Message::status_sent, |
|
22 | + 'content_id' => 'message_status-'.EEM_Message::status_sent, |
|
23 | + 'target' => '.msg-status-'.EEM_Message::status_sent, |
|
24 | 24 | 'content' => $this->_message_status_legend(EEM_Message::status_sent), |
25 | 25 | 'options' => array( |
26 | 26 | 'position' => array( |
@@ -29,8 +29,8 @@ discard block |
||
29 | 29 | ), |
30 | 30 | ), |
31 | 31 | 1 => array( |
32 | - 'content_id' => 'message_status-' . EEM_Message::status_idle, |
|
33 | - 'target' => '.msg-status-' . EEM_Message::status_idle, |
|
32 | + 'content_id' => 'message_status-'.EEM_Message::status_idle, |
|
33 | + 'target' => '.msg-status-'.EEM_Message::status_idle, |
|
34 | 34 | 'content' => $this->_message_status_legend(EEM_Message::status_idle), |
35 | 35 | 'options' => array( |
36 | 36 | 'position' => array( |
@@ -39,8 +39,8 @@ discard block |
||
39 | 39 | ), |
40 | 40 | ), |
41 | 41 | 2 => array( |
42 | - 'content_id' => 'message_status-' . EEM_Message::status_failed, |
|
43 | - 'target' => '.msg-status-' . EEM_Message::status_failed, |
|
42 | + 'content_id' => 'message_status-'.EEM_Message::status_failed, |
|
43 | + 'target' => '.msg-status-'.EEM_Message::status_failed, |
|
44 | 44 | 'content' => $this->_message_status_legend(EEM_Message::status_failed), |
45 | 45 | 'options' => array( |
46 | 46 | 'position' => array( |
@@ -49,8 +49,8 @@ discard block |
||
49 | 49 | ), |
50 | 50 | ), |
51 | 51 | 3 => array( |
52 | - 'content_id' => 'message_status-' . EEM_Message::status_resend, |
|
53 | - 'target' => '.msg-status-' . EEM_Message::status_resend, |
|
52 | + 'content_id' => 'message_status-'.EEM_Message::status_resend, |
|
53 | + 'target' => '.msg-status-'.EEM_Message::status_resend, |
|
54 | 54 | 'content' => $this->_message_status_legend(EEM_Message::status_resend), |
55 | 55 | 'options' => array( |
56 | 56 | 'position' => array( |
@@ -59,8 +59,8 @@ discard block |
||
59 | 59 | ), |
60 | 60 | ), |
61 | 61 | 4 => array( |
62 | - 'content_id' => 'message_status-' . EEM_Message::status_incomplete, |
|
63 | - 'target' => '.msg-status-' . EEM_Message::status_incomplete, |
|
62 | + 'content_id' => 'message_status-'.EEM_Message::status_incomplete, |
|
63 | + 'target' => '.msg-status-'.EEM_Message::status_incomplete, |
|
64 | 64 | 'content' => $this->_message_status_legend(EEM_Message::status_incomplete), |
65 | 65 | 'options' => array( |
66 | 66 | 'position' => array( |
@@ -69,8 +69,8 @@ discard block |
||
69 | 69 | ), |
70 | 70 | ), |
71 | 71 | 5 => array( |
72 | - 'content_id' => 'message_status-' . EEM_Message::status_retry, |
|
73 | - 'target' => '.msg-status-' . EEM_Message::status_retry, |
|
72 | + 'content_id' => 'message_status-'.EEM_Message::status_retry, |
|
73 | + 'target' => '.msg-status-'.EEM_Message::status_retry, |
|
74 | 74 | 'content' => $this->_message_status_legend(EEM_Message::status_retry), |
75 | 75 | 'options' => array( |
76 | 76 | 'position' => array( |
@@ -79,8 +79,8 @@ discard block |
||
79 | 79 | ), |
80 | 80 | ), |
81 | 81 | 6 => array( |
82 | - 'content_id' => 'message_status-' . EEM_Message::status_debug_only, |
|
83 | - 'target' => '.msg-status-' . EEM_Message::status_debug_only, |
|
82 | + 'content_id' => 'message_status-'.EEM_Message::status_debug_only, |
|
83 | + 'target' => '.msg-status-'.EEM_Message::status_debug_only, |
|
84 | 84 | 'content' => $this->_message_status_legend(EEM_Message::status_debug_only), |
85 | 85 | 'options' => array( |
86 | 86 | 'position' => array( |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <p><strong><?php _e('Messengers', 'event_espresso'); ?></strong></p> |
2 | 2 | <p> |
3 | 3 | <?php printf( |
4 | - __( |
|
5 | - 'Messengers are the vehicles that deliver messages to individuals (recipients). By default, every install of Event Espresso has the %sEmail%s messenger active. The Email messenger is a vehicle for delivering messages. Other possible vehicles might be any social media applications, 3rd party API\'s etc.', |
|
6 | - 'event_espresso' |
|
7 | - ), |
|
8 | - '<strong>', |
|
9 | - '</strong>' |
|
10 | - ); ?> |
|
4 | + __( |
|
5 | + 'Messengers are the vehicles that deliver messages to individuals (recipients). By default, every install of Event Espresso has the %sEmail%s messenger active. The Email messenger is a vehicle for delivering messages. Other possible vehicles might be any social media applications, 3rd party API\'s etc.', |
|
6 | + 'event_espresso' |
|
7 | + ), |
|
8 | + '<strong>', |
|
9 | + '</strong>' |
|
10 | + ); ?> |
|
11 | 11 | </p> |
12 | 12 | \ No newline at end of file |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <p><strong><?php esc_html_e('Message Templates', 'event_espresso'); ?></strong></p> |
2 | 2 | <p> |
3 | 3 | <?php printf( |
4 | - esc_html__( |
|
5 | - 'Message Templates are the %1$sformat%2$s of the messages going out. Think of them as a “form letter”. Templates tell the Messages system how to style your messages and the content (information) they will have when they are delivered.', |
|
6 | - 'event_espresso' |
|
7 | - ), |
|
8 | - '<em>', |
|
9 | - '</em>' |
|
10 | - ); ?></p> |
|
4 | + esc_html__( |
|
5 | + 'Message Templates are the %1$sformat%2$s of the messages going out. Think of them as a “form letter”. Templates tell the Messages system how to style your messages and the content (information) they will have when they are delivered.', |
|
6 | + 'event_espresso' |
|
7 | + ), |
|
8 | + '<em>', |
|
9 | + '</em>' |
|
10 | + ); ?></p> |
|
11 | 11 | <p> |
12 | 12 | <?php esc_html_e( |
13 | - 'There is a template created for each Messenger / Message Type and context combination. For example, messages that are sent for Payment Confirmation have a template for Event Administrator and a different one for Primary Registrant. Whereas, messages that are sent for the Registration confirmation have 3 templates: one for Event Administrator, one for the Primary Registrant, and another for each additional Registrant(s).', |
|
14 | - 'event_espresso' |
|
15 | - ); ?></p> |
|
13 | + 'There is a template created for each Messenger / Message Type and context combination. For example, messages that are sent for Payment Confirmation have a template for Event Administrator and a different one for Primary Registrant. Whereas, messages that are sent for the Registration confirmation have 3 templates: one for Event Administrator, one for the Primary Registrant, and another for each additional Registrant(s).', |
|
14 | + 'event_espresso' |
|
15 | + ); ?></p> |
|
16 | 16 | <p> |
17 | 17 | <?php esc_html_e( |
18 | - 'With the Event Espresso Messages system, every Messenger, Message Type, and context will have a global template created with some default content on creation. You have the ability to edit the global template that will be used for all events you create. Additionally, you have the ability to create custom templates for each event on the edit event page for the event (in a metabox labelled "Notifications").', |
|
19 | - 'event_espresso' |
|
20 | - ); ?></p> |
|
21 | 18 | \ No newline at end of file |
19 | + 'With the Event Espresso Messages system, every Messenger, Message Type, and context will have a global template created with some default content on creation. You have the ability to edit the global template that will be used for all events you create. Additionally, you have the ability to create custom templates for each event on the edit event page for the event (in a metabox labelled "Notifications").', |
|
20 | + 'event_espresso' |
|
21 | + ); ?></p> |
|
22 | 22 | \ No newline at end of file |
@@ -1,27 +1,27 @@ |
||
1 | 1 | <div class="<?php echo $messenger; ?>-content"> |
2 | 2 | <?php echo $content; ?> |
3 | 3 | <?php |
4 | - if (empty($inactive_message_types) && empty($active_message_types)) : |
|
5 | - echo '<p>' |
|
6 | - . __( |
|
7 | - 'This messenger is not currently used with any message types for templates but merely adds to the shortcodes available for templates on other messenger and message types.', |
|
8 | - 'event_espresso' |
|
9 | - ) . '</p>'; |
|
10 | - else : ?> |
|
4 | + if (empty($inactive_message_types) && empty($active_message_types)) : |
|
5 | + echo '<p>' |
|
6 | + . __( |
|
7 | + 'This messenger is not currently used with any message types for templates but merely adds to the shortcodes available for templates on other messenger and message types.', |
|
8 | + 'event_espresso' |
|
9 | + ) . '</p>'; |
|
10 | + else : ?> |
|
11 | 11 | <p class="active-on-message <?php echo $hide_on_message; ?>"> |
12 | 12 | <?php printf( |
13 | - __( |
|
14 | - 'Below are message types that are currently %sactive%s with this messenger. Drag them over to the "Inactive Message Types" box to deactivate them.', |
|
15 | - 'event_espresso' |
|
16 | - ), |
|
17 | - '<strong>', |
|
18 | - '</strong>' |
|
19 | - ); ?> |
|
13 | + __( |
|
14 | + 'Below are message types that are currently %sactive%s with this messenger. Drag them over to the "Inactive Message Types" box to deactivate them.', |
|
15 | + 'event_espresso' |
|
16 | + ), |
|
17 | + '<strong>', |
|
18 | + '</strong>' |
|
19 | + ); ?> |
|
20 | 20 | <p> |
21 | 21 | <div <?php |
22 | - if ($active) : |
|
23 | - ?> id="active-message-types"<?php |
|
24 | - endif; ?> |
|
22 | + if ($active) : |
|
23 | + ?> id="active-message-types"<?php |
|
24 | + endif; ?> |
|
25 | 25 | class="mt-tab-container <?php echo $hide_on_message; ?>"> |
26 | 26 | <ul class="messenger-activation"> |
27 | 27 | <?php echo $active_message_types; ?> |
@@ -6,7 +6,7 @@ |
||
6 | 6 | . __( |
7 | 7 | 'This messenger is not currently used with any message types for templates but merely adds to the shortcodes available for templates on other messenger and message types.', |
8 | 8 | 'event_espresso' |
9 | - ) . '</p>'; |
|
9 | + ).'</p>'; |
|
10 | 10 | else : ?> |
11 | 11 | <p class="active-on-message <?php echo $hide_on_message; ?>"> |
12 | 12 | <?php printf( |
@@ -7,8 +7,11 @@ |
||
7 | 7 | 'This messenger is not currently used with any message types for templates but merely adds to the shortcodes available for templates on other messenger and message types.', |
8 | 8 | 'event_espresso' |
9 | 9 | ) . '</p>'; |
10 | - else : ?> |
|
11 | - <p class="active-on-message <?php echo $hide_on_message; ?>"> |
|
10 | + else { |
|
11 | + : ?> |
|
12 | + <p class="active-on-message <?php echo $hide_on_message; |
|
13 | + } |
|
14 | + ?>"> |
|
12 | 15 | <?php printf( |
13 | 16 | __( |
14 | 17 | 'Below are message types that are currently %sactive%s with this messenger. Drag them over to the "Inactive Message Types" box to deactivate them.', |
@@ -6,18 +6,18 @@ discard block |
||
6 | 6 | <form id="ee-msg-add-message-template-frm" action="<?php echo $edit_message_template_form_url; ?>" method="post"> |
7 | 7 | <input type="hidden" id="evt_id" name="EVT_ID" value="<?php echo ($EVT_ID) ? $EVT_ID : ''; ?>"/> |
8 | 8 | <?php |
9 | - if (isset($hidden_fields)) { |
|
10 | - echo $hidden_fields; |
|
11 | - } ?> |
|
9 | + if (isset($hidden_fields)) { |
|
10 | + echo $hidden_fields; |
|
11 | + } ?> |
|
12 | 12 | <!--active_messengers --> |
13 | 13 | <label for="MTP_messenger"><?php _e('Select Messenger', 'event_espresso'); ?></label> |
14 | 14 | <select name="MTP_messenger" id="MTP-messenger"> |
15 | 15 | <?php |
16 | - foreach ($active_messengers as $messenger => $values) : ?> |
|
16 | + foreach ($active_messengers as $messenger => $values) : ?> |
|
17 | 17 | <option value="<?php echo $messenger; ?>"> |
18 | 18 | <?php echo ucwords( |
19 | - str_replace('_', ' ', $messenger) |
|
20 | - ); ?></option> |
|
19 | + str_replace('_', ' ', $messenger) |
|
20 | + ); ?></option> |
|
21 | 21 | <?php endforeach; ?> |
22 | 22 | </select> |
23 | 23 | |
@@ -26,8 +26,8 @@ discard block |
||
26 | 26 | <?php foreach ($active_message_types as $message_type => $values) : ?> |
27 | 27 | <option value="<?php echo $message_type; ?>"> |
28 | 28 | <?php echo ucwords( |
29 | - str_replace('_', ' ', $message_type) |
|
30 | - ); ?></option> |
|
29 | + str_replace('_', ' ', $message_type) |
|
30 | + ); ?></option> |
|
31 | 31 | <?php endforeach; ?> |
32 | 32 | </select> |
33 | 33 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <div id="admin-primary-mbox-dv" class="admin-primary-mbox-dv"> |
2 | 2 | |
3 | - <h4 class="admin-primary-mbox-h4"><?php echo ($event_name) ? $event_name . ' Custom Template' : ''; ?></h4> |
|
3 | + <h4 class="admin-primary-mbox-h4"><?php echo ($event_name) ? $event_name.' Custom Template' : ''; ?></h4> |
|
4 | 4 | <p><?php echo $action_message; ?></p> |
5 | 5 | |
6 | 6 | <form id="ee-msg-add-message-template-frm" action="<?php echo $edit_message_template_form_url; ?>" method="post"> |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | </select> |
33 | 33 | |
34 | 34 | <!-- events if we don't have an EVENT_ID --> |
35 | - <?php if (! empty($active_events)) : ?> |
|
35 | + <?php if ( ! empty($active_events)) : ?> |
|
36 | 36 | <label for="EVT_ID_select"><?php _e('Select Event', 'event_espresso'); ?></label> |
37 | 37 | <select name="EVT_ID" id="EVT_ID_select"> |
38 | 38 | <?php foreach ($active_events as $event) : ?> |
@@ -12,7 +12,7 @@ |
||
12 | 12 | <span class="ee-messages-shortcodes-chooser js-open-list-trigger dashicons dashicons-menu"> |
13 | 13 | <ul id="ee_shortcode_chooser_<?php echo $fieldname; ?>" class="ee_shortcode_chooser_container hidden"> |
14 | 14 | <?php |
15 | - foreach ($shortcodes as $shortcode => $label) : ?> |
|
15 | + foreach ($shortcodes as $shortcode => $label) : ?> |
|
16 | 16 | <li> |
17 | 17 | <span class="js-shortcode-selection" data-value="<?php echo esc_attr($shortcode); ?>" |
18 | 18 | data-linked-input-id="<?php echo esc_attr($linked_input_id); ?>"><?php echo $shortcode; ?></span> |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * @type string $fieldname The name of the field the chooser is associated with. |
9 | 9 | * @type string $linked_input_id The name of the input that the shortcode gets inserted to. |
10 | 10 | */ |
11 | -if (! empty($shortcodes)) : ?> |
|
11 | +if ( ! empty($shortcodes)) : ?> |
|
12 | 12 | <span class="ee-messages-shortcodes-chooser js-open-list-trigger dashicons dashicons-menu"> |
13 | 13 | <ul id="ee_shortcode_chooser_<?php echo $fieldname; ?>" class="ee_shortcode_chooser_container hidden"> |
14 | 14 | <?php |