@@ -5,29 +5,29 @@ |
||
5 | 5 | <?php esc_html_e('Enter the physical address for this venue. This field is optional.', 'event_espresso'); ?> |
6 | 6 | <br /> |
7 | 7 | <?php printf( |
8 | - esc_html__( |
|
9 | - 'The countries that are shown in the dropdown are controlled through the "Country Appears in Dropdown Select Lists" setting which is in the %sCountries tab%s on the General Settings page. Once on this page, you can specify whether to show a country in this dropdown by selecting yes or no and saving changes.', |
|
10 | - 'event_espresso' |
|
11 | - ), |
|
12 | - '<a href="admin.php?page=espresso_general_settings&action=country_settings">', |
|
13 | - '</a>' |
|
14 | - ); ?> |
|
8 | + esc_html__( |
|
9 | + 'The countries that are shown in the dropdown are controlled through the "Country Appears in Dropdown Select Lists" setting which is in the %sCountries tab%s on the General Settings page. Once on this page, you can specify whether to show a country in this dropdown by selecting yes or no and saving changes.', |
|
10 | + 'event_espresso' |
|
11 | + ), |
|
12 | + '<a href="admin.php?page=espresso_general_settings&action=country_settings">', |
|
13 | + '</a>' |
|
14 | + ); ?> |
|
15 | 15 | </p> |
16 | 16 | <p> |
17 | 17 | <strong><?php esc_html_e('Google Map', 'event_espresso'); ?></strong> |
18 | 18 | </p> |
19 | 19 | <p> |
20 | 20 | <?php esc_html_e( |
21 | - 'Specify whether to show a Google Map for this venue. You can also provide a link which is used in Event Espresso emails.', |
|
22 | - 'event_espresso' |
|
23 | - ); ?> |
|
21 | + 'Specify whether to show a Google Map for this venue. You can also provide a link which is used in Event Espresso emails.', |
|
22 | + 'event_espresso' |
|
23 | + ); ?> |
|
24 | 24 | </p> |
25 | 25 | <p> |
26 | 26 | <strong><?php esc_html_e('Virtual Location', 'event_espresso'); ?></strong> |
27 | 27 | </p> |
28 | 28 | <p> |
29 | 29 | <?php esc_html_e( |
30 | - 'Enter the URL (website address) for the venue and a provide a call-in number. This field is optional and is typically uses for virtual events such as webinars.', |
|
31 | - 'event_espresso' |
|
32 | - ); ?> |
|
30 | + 'Enter the URL (website address) for the venue and a provide a call-in number. This field is optional and is typically uses for virtual events such as webinars.', |
|
31 | + 'event_espresso' |
|
32 | + ); ?> |
|
33 | 33 | </p> |
34 | 34 | \ No newline at end of file |
@@ -3,16 +3,16 @@ |
||
3 | 3 | </p> |
4 | 4 | <p> |
5 | 5 | <?php esc_html_e( |
6 | - 'You can setup tags for your venue. This is optional. To add a tag, enter it into the tag field and click on the Add button.', |
|
7 | - 'event_espresso' |
|
8 | - ); ?> |
|
6 | + 'You can setup tags for your venue. This is optional. To add a tag, enter it into the tag field and click on the Add button.', |
|
7 | + 'event_espresso' |
|
8 | + ); ?> |
|
9 | 9 | </p> |
10 | 10 | <p> |
11 | 11 | <strong><?php esc_html_e('Venue Categories', 'event_espresso'); ?></strong> |
12 | 12 | </p> |
13 | 13 | <p> |
14 | 14 | <?php esc_html_e( |
15 | - 'You can setup categories for your venue. This is optional. To add a venue category, select one from the tabs or click on the add new category link and enter a name for your venue category and click on the add new category button.', |
|
16 | - 'event_espresso' |
|
17 | - ); ?> |
|
15 | + 'You can setup categories for your venue. This is optional. To add a venue category, select one from the tabs or click on the add new category link and enter a name for your venue category and click on the add new category button.', |
|
16 | + 'event_espresso' |
|
17 | + ); ?> |
|
18 | 18 | </p> |
19 | 19 | \ No newline at end of file |
@@ -9,7 +9,7 @@ |
||
9 | 9 | </p> |
10 | 10 | <p> |
11 | 11 | <?php esc_html_e( |
12 | - 'The rich text editor can be used to create a description for your venue. Similar to WordPress pages and posts, you can upload images and customize your text by using the options on the toolbar.', |
|
13 | - 'event_espresso' |
|
14 | - ); ?> |
|
12 | + 'The rich text editor can be used to create a description for your venue. Similar to WordPress pages and posts, you can upload images and customize your text by using the options on the toolbar.', |
|
13 | + 'event_espresso' |
|
14 | + ); ?> |
|
15 | 15 | </p> |
16 | 16 | \ No newline at end of file |
@@ -3,9 +3,9 @@ discard block |
||
3 | 3 | </p> |
4 | 4 | <p> |
5 | 5 | <?php esc_html_e( |
6 | - 'Bulk actions allow you to perform an action to multiple venue categories at once. The following bulk actions are supported: delete permanently and export categories. To use the bulk action feature, place a checkmark next to the events that you want to include. Then select a bulk action from the menu and click on the Apply button.', |
|
7 | - 'event_espresso' |
|
8 | - ); ?> |
|
6 | + 'Bulk actions allow you to perform an action to multiple venue categories at once. The following bulk actions are supported: delete permanently and export categories. To use the bulk action feature, place a checkmark next to the events that you want to include. Then select a bulk action from the menu and click on the Apply button.', |
|
7 | + 'event_espresso' |
|
8 | + ); ?> |
|
9 | 9 | <br /> |
10 | 10 | </p> |
11 | 11 | <p> |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | </p> |
14 | 14 | <p> |
15 | 15 | <?php esc_html_e( |
16 | - 'You can perform a search to find certain venue categories. The following sources will be searched: Venue Category ID, Venue Category Name, Venue Shortcode, and Venue Count. To use the search feature, enter a value into the search box and click on the Search Venue Categories button.', |
|
17 | - 'event_espresso' |
|
18 | - ); ?> |
|
16 | + 'You can perform a search to find certain venue categories. The following sources will be searched: Venue Category ID, Venue Category Name, Venue Shortcode, and Venue Count. To use the search feature, enter a value into the search box and click on the Search Venue Categories button.', |
|
17 | + 'event_espresso' |
|
18 | + ); ?> |
|
19 | 19 | </p> |
20 | 20 | \ No newline at end of file |
@@ -16,9 +16,9 @@ |
||
16 | 16 | <strong><?php esc_html_e('Shortcode', 'event_espresso'); ?></strong> |
17 | 17 | <br /> |
18 | 18 | <?php esc_html_e( |
19 | - 'This venue category shortcode can be entered on a event page, WordPress page, or WordPress post.', |
|
20 | - 'event_espresso' |
|
21 | - ); ?> |
|
19 | + 'This venue category shortcode can be entered on a event page, WordPress page, or WordPress post.', |
|
20 | + 'event_espresso' |
|
21 | + ); ?> |
|
22 | 22 | </li> |
23 | 23 | <li> |
24 | 24 | <strong><?php esc_html_e('Venues', 'event_espresso'); ?></strong> |
@@ -3,9 +3,9 @@ discard block |
||
3 | 3 | </p> |
4 | 4 | <p> |
5 | 5 | <?php esc_html_e( |
6 | - 'Quickly publish your venue to allow linking to an event or multiple events.', |
|
7 | - 'event_espresso' |
|
8 | - ); ?> |
|
6 | + 'Quickly publish your venue to allow linking to an event or multiple events.', |
|
7 | + 'event_espresso' |
|
8 | + ); ?> |
|
9 | 9 | <br /> |
10 | 10 | </p> |
11 | 11 | <ul> |
@@ -13,41 +13,41 @@ discard block |
||
13 | 13 | <strong><?php esc_html_e('Status', 'event_espresso'); ?></strong> |
14 | 14 | <br /> |
15 | 15 | <?php esc_html_e( |
16 | - 'The following statuses are available: Published, Pending Review, and Draft. A status of published means that a venue is live and can be associated with one or more events. Pending review will set a venue to draft until an event administrator has approved the venue. A status of draft will save a venue but it will be unpublished.', |
|
17 | - 'event_espresso' |
|
18 | - ); ?> |
|
16 | + 'The following statuses are available: Published, Pending Review, and Draft. A status of published means that a venue is live and can be associated with one or more events. Pending review will set a venue to draft until an event administrator has approved the venue. A status of draft will save a venue but it will be unpublished.', |
|
17 | + 'event_espresso' |
|
18 | + ); ?> |
|
19 | 19 | </li> |
20 | 20 | <li> |
21 | 21 | <strong><?php esc_html_e('Visibility', 'event_espresso'); ?></strong> |
22 | 22 | <br /> |
23 | 23 | <?php esc_html_e( |
24 | - 'The following visibility options are available: public, password protected, and private. An venue that is set to public will be accessible by anyone. An venue that is set to password protected will only be available to event administrators and individuals who know the password to access the event registration. A venue that is set to private will completely be hidden from public view.', |
|
25 | - 'event_espresso' |
|
26 | - ); ?> |
|
24 | + 'The following visibility options are available: public, password protected, and private. An venue that is set to public will be accessible by anyone. An venue that is set to password protected will only be available to event administrators and individuals who know the password to access the event registration. A venue that is set to private will completely be hidden from public view.', |
|
25 | + 'event_espresso' |
|
26 | + ); ?> |
|
27 | 27 | </li> |
28 | 28 | <li> |
29 | 29 | <strong><?php esc_html_e('Publish', 'event_espresso'); ?></strong> |
30 | 30 | <br /> |
31 | 31 | <?php esc_html_e( |
32 | - 'An event can be published immediately or you can schedule it to be published at a later date in the future.', |
|
33 | - 'event_espresso' |
|
34 | - ); ?> |
|
32 | + 'An event can be published immediately or you can schedule it to be published at a later date in the future.', |
|
33 | + 'event_espresso' |
|
34 | + ); ?> |
|
35 | 35 | </li> |
36 | 36 | <li> |
37 | 37 | <strong><?php esc_html_e('Capacity', 'event_espresso'); ?></strong> |
38 | 38 | <br /> |
39 | 39 | <?php esc_html_e( |
40 | - 'Enter the maximum number of registrants that are supported by this venue.', |
|
41 | - 'event_espresso' |
|
42 | - ); ?> |
|
40 | + 'Enter the maximum number of registrants that are supported by this venue.', |
|
41 | + 'event_espresso' |
|
42 | + ); ?> |
|
43 | 43 | </li> |
44 | 44 | <li> |
45 | 45 | <strong><?php esc_html_e('Venue Website', 'event_espresso'); ?></strong> |
46 | 46 | <br /> |
47 | 47 | <?php esc_html_e( |
48 | - 'Enter the URL (website address) for this venue. This field is optional.', |
|
49 | - 'event_espresso' |
|
50 | - ); ?> |
|
48 | + 'Enter the URL (website address) for this venue. This field is optional.', |
|
49 | + 'event_espresso' |
|
50 | + ); ?> |
|
51 | 51 | </li> |
52 | 52 | <li> |
53 | 53 | <strong><?php esc_html_e('Venue Phone #', 'event_espresso'); ?></strong> |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | </thead> |
26 | 26 | <tbody> |
27 | 27 | <?php |
28 | - foreach ($attendees as $att_nmbr => $attendee) : ?> |
|
28 | + foreach ($attendees as $att_nmbr => $attendee) : ?> |
|
29 | 29 | <tr class="ee-status-strip reg-status-<?php echo esc_attr($attendee['STS_ID']); ?>" |
30 | 30 | style='display: table-row;'> |
31 | 31 | <td class="jst-left"><?php echo esc_html($att_nmbr); ?></td> |
@@ -39,9 +39,9 @@ discard block |
||
39 | 39 | </td> |
40 | 40 | <td class="jst-rght"> |
41 | 41 | <?php |
42 | - $final_price = number_format((float) $attendee['final_price'], 2); |
|
43 | - echo esc_html("$currency_sign $final_price"); |
|
44 | - ?> |
|
42 | + $final_price = number_format((float) $attendee['final_price'], 2); |
|
43 | + echo esc_html("$currency_sign $final_price"); |
|
44 | + ?> |
|
45 | 45 | </td> |
46 | 46 | <td class="jst-left"><?php echo esc_html($attendee['email']); ?></td> |
47 | 47 | <td class="jst-left"><?php echo esc_html($attendee['address']); ?></td> |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | <div id="admin-primary-mbox-dv" class="admin-primary-mbox-dv"> |
11 | 11 | <br /> |
12 | 12 | <?php echo esc_html($attendee_notice); ?> |
13 | - <?php if (! empty($attendees)) : ?> |
|
13 | + <?php if ( ! empty($attendees)) : ?> |
|
14 | 14 | <div class="admin-primary-mbox-tbl-wrap"> |
15 | 15 | <table id="reg-admin-transaction-attendees-table" class="admin-primary-mbox-tbl"> |
16 | 16 | <thead> |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | <a href="<?php echo esc_url_raw($attendee['att_link']); ?>" |
35 | 35 | aria-label="<?php esc_attr_e('View details for this attendee', 'event_espresso'); ?>" |
36 | 36 | > |
37 | - <?php echo esc_html($attendee['fname'] . ' ' . $attendee['lname']); ?> |
|
37 | + <?php echo esc_html($attendee['fname'].' '.$attendee['lname']); ?> |
|
38 | 38 | </a> |
39 | 39 | </td> |
40 | 40 | <td class="jst-rght"> |
@@ -42,10 +42,13 @@ |
||
42 | 42 | /> |
43 | 43 | <?php |
44 | 44 | endif; |
45 | - else : |
|
45 | + else { |
|
46 | + : |
|
46 | 47 | ?> |
47 | 48 | <p class="ee-attention"> |
48 | - <?php esc_html_e('There were no custom questions asked for this registration.', 'event_espresso'); ?> |
|
49 | + <?php esc_html_e('There were no custom questions asked for this registration.', 'event_espresso'); |
|
50 | + } |
|
51 | + ?> |
|
49 | 52 | </p> |
50 | 53 | <?php endif; ?> |
51 | 54 |
@@ -13,9 +13,9 @@ discard block |
||
13 | 13 | <div id="admin-primary-mbox-questions-dv" class="admin-primary-mbox-dv"> |
14 | 14 | <p> |
15 | 15 | <?php esc_html_e( |
16 | - 'This displays the custom questions and answers for this registrant. Please note that any answers to system questions have been saved with the contact record. You can edit those answers via the "View/Edit this Contact" link in the Contact Details metabox in the sidebar.', |
|
17 | - 'event_espresso' |
|
18 | - ); ?> |
|
16 | + 'This displays the custom questions and answers for this registrant. Please note that any answers to system questions have been saved with the contact record. You can edit those answers via the "View/Edit this Contact" link in the Contact Details metabox in the sidebar.', |
|
17 | + 'event_espresso' |
|
18 | + ); ?> |
|
19 | 19 | </p> |
20 | 20 | |
21 | 21 | <form action='<?php echo esc_url_raw(REG_ADMIN_URL); ?>' |
@@ -30,24 +30,24 @@ discard block |
||
30 | 30 | <input type="hidden" name="espresso_ajax" id="espresso-ajax" value="0" /> |
31 | 31 | <input type="hidden" name="noheader" id="reg-admin-noheader-inp" value="true" /> |
32 | 32 | <?php |
33 | - echo wp_kses($att_questions, AllowedTags::getWithFormTags()); |
|
34 | - if (! empty($att_questions)) : |
|
35 | - if ( |
|
36 | - EE_Registry::instance()->CAP->current_user_can( |
|
37 | - 'ee_edit_registration', |
|
38 | - 'edit-reg-questions-mbox', |
|
39 | - $REG_ID |
|
40 | - ) |
|
41 | - ) : ?> |
|
33 | + echo wp_kses($att_questions, AllowedTags::getWithFormTags()); |
|
34 | + if (! empty($att_questions)) : |
|
35 | + if ( |
|
36 | + EE_Registry::instance()->CAP->current_user_can( |
|
37 | + 'ee_edit_registration', |
|
38 | + 'edit-reg-questions-mbox', |
|
39 | + $REG_ID |
|
40 | + ) |
|
41 | + ) : ?> |
|
42 | 42 | <input class='button-primary' |
43 | 43 | id="reg-admin-attendee-questions-submit" |
44 | 44 | type="submit" |
45 | 45 | value="Update Registration Questions" |
46 | 46 | /> |
47 | 47 | <?php |
48 | - endif; |
|
49 | - else : |
|
50 | - ?> |
|
48 | + endif; |
|
49 | + else : |
|
50 | + ?> |
|
51 | 51 | <p class="ee-attention"> |
52 | 52 | <?php esc_html_e('There were no custom questions asked for this registration.', 'event_espresso'); ?> |
53 | 53 | </p> |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | name="reg-admin-attendee-questions-frm" |
24 | 24 | method="post" |
25 | 25 | > |
26 | - <?php wp_nonce_field($reg_questions_form_action . '_nonce', $reg_questions_form_action . '_nonce'); ?> |
|
26 | + <?php wp_nonce_field($reg_questions_form_action.'_nonce', $reg_questions_form_action.'_nonce'); ?> |
|
27 | 27 | <input type="hidden" name="page" value="<?php echo esc_attr(REG_PG_SLUG); ?>" /> |
28 | 28 | <input type="hidden" name="action" value="<?php echo esc_html($reg_questions_form_action); ?>" /> |
29 | 29 | <input type="hidden" name="_REG_ID" value="<?php echo esc_html($REG_ID); ?>" /> |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | <input type="hidden" name="noheader" id="reg-admin-noheader-inp" value="true" /> |
32 | 32 | <?php |
33 | 33 | echo wp_kses($att_questions, AllowedTags::getWithFormTags()); |
34 | - if (! empty($att_questions)) : |
|
34 | + if ( ! empty($att_questions)) : |
|
35 | 35 | if ( |
36 | 36 | EE_Registry::instance()->CAP->current_user_can( |
37 | 37 | 'ee_edit_registration', |
@@ -31,10 +31,10 @@ discard block |
||
31 | 31 | <?php echo esc_html($nonce); ?> |
32 | 32 | <?php echo esc_html($status_buttons); ?> |
33 | 33 | <?php |
34 | - if ( |
|
35 | - $attendee instanceof EE_Attendee |
|
36 | - && EE_Registry::instance()->CAP->current_user_can('ee_send_message', 'registration_message_type') |
|
37 | - ) : ?> |
|
34 | + if ( |
|
35 | + $attendee instanceof EE_Attendee |
|
36 | + && EE_Registry::instance()->CAP->current_user_can('ee_send_message', 'registration_message_type') |
|
37 | + ) : ?> |
|
38 | 38 | <span id="send-related-messages-dv"> |
39 | 39 | <label for="txn-reg-status-send-notifications-inp" class="important-notice"> |
40 | 40 | <?php esc_html_e('...and send related messages ?', 'event_espresso'); ?> |
@@ -49,9 +49,9 @@ discard block |
||
49 | 49 | <br /> |
50 | 50 | <p class="description"> |
51 | 51 | <?php esc_html_e( |
52 | - 'If the "send related messages"checkbox is checked when changing status, then the related messages will be sent to the registrant.', |
|
53 | - 'event_espresso' |
|
54 | - ); ?> |
|
52 | + 'If the "send related messages"checkbox is checked when changing status, then the related messages will be sent to the registrant.', |
|
53 | + 'event_espresso' |
|
54 | + ); ?> |
|
55 | 55 | </p> |
56 | 56 | <?php endif; ?> |
57 | 57 | </form> |