@@ -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 | title="<?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"> |
@@ -50,15 +50,15 @@ discard block |
||
50 | 50 | |
51 | 51 | <div class="contact-details-buttons"> |
52 | 52 | <?php |
53 | - if ( |
|
54 | - $att_check instanceof EE_Attendee |
|
55 | - && EE_Registry::instance()->CAP->current_user_can( |
|
56 | - 'ee_edit_contact', |
|
57 | - 'view_or_edit_contact_button', |
|
58 | - $att_check->ID() |
|
59 | - ) |
|
60 | - ) : |
|
61 | - ?> |
|
53 | + if ( |
|
54 | + $att_check instanceof EE_Attendee |
|
55 | + && EE_Registry::instance()->CAP->current_user_can( |
|
56 | + 'ee_edit_contact', |
|
57 | + 'view_or_edit_contact_button', |
|
58 | + $att_check->ID() |
|
59 | + ) |
|
60 | + ) : |
|
61 | + ?> |
|
62 | 62 | <a class="button button-small" href="<?php echo esc_url_raw($att_edit_link); ?>" |
63 | 63 | title="<?php echo esc_attr($att_edit_label); ?>" |
64 | 64 | > |
@@ -68,9 +68,9 @@ discard block |
||
68 | 68 | <?php if (! empty($create_link)) : ?> |
69 | 69 | <a class="button button-small" href="<?php echo esc_url_raw($create_link); ?>" |
70 | 70 | title="<?php esc_attr_e( |
71 | - 'This registration shares the contact details for the primary registration in this group. If you\'d like this registration to have its own details, you can do so by clicking this button', |
|
72 | - 'event_espresso' |
|
73 | - ); ?>" |
|
71 | + 'This registration shares the contact details for the primary registration in this group. If you\'d like this registration to have its own details, you can do so by clicking this button', |
|
72 | + 'event_espresso' |
|
73 | + ); ?>" |
|
74 | 74 | > |
75 | 75 | <span class="ee-icon ee-icon-user-add-new"></span> |
76 | 76 | <?php echo esc_html($create_label); ?> |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | <span class="admin-side-mbox-label-spn lt-grey-txt float-left"> |
33 | 33 | <?php esc_html_e('Phone #', 'event_espresso'); ?> |
34 | 34 | </span> |
35 | - <?php if (! empty($phone)) : ?> |
|
35 | + <?php if ( ! empty($phone)) : ?> |
|
36 | 36 | <a href="tel:<?php echo esc_attr($phone); ?>"> |
37 | 37 | <?php echo esc_html($phone); ?> |
38 | 38 | </a> |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | <span class="ee-icon ee-icon-user-edit"></span> |
66 | 66 | <?php echo esc_html($att_edit_label); ?> |
67 | 67 | </a> |
68 | - <?php if (! empty($create_link)) : ?> |
|
68 | + <?php if ( ! empty($create_link)) : ?> |
|
69 | 69 | <a class="button button-small" href="<?php echo esc_url_raw($create_link); ?>" |
70 | 70 | title="<?php esc_attr_e( |
71 | 71 | 'This registration shares the contact details for the primary registration in this group. If you\'d like this registration to have its own details, you can do so by clicking this button', |
@@ -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', |
@@ -22,60 +22,60 @@ |
||
22 | 22 | <tr> |
23 | 23 | <td class="jst-left"> |
24 | 24 | <?php |
25 | - $EVT_ID = absint($registration->event_ID()); |
|
26 | - $event_url = add_query_arg( |
|
27 | - ['action' => 'edit', 'post' => $EVT_ID], |
|
28 | - admin_url('admin.php?page=espresso_events') |
|
29 | - ); |
|
30 | - echo EE_Registry::instance()->CAP->current_user_can( |
|
31 | - 'ee_edit_event', |
|
32 | - 'espresso_events_edit', |
|
33 | - $EVT_ID |
|
34 | - ) |
|
35 | - ? '<a href="' . esc_url_raw($event_url) . '" title="' |
|
36 | - . esc_attr__('Edit Event', 'event_espresso') . '">' |
|
37 | - . esc_html($registration->event_name()) . '</a>' |
|
38 | - : esc_html($registration->event_name()); |
|
39 | - ?> |
|
25 | + $EVT_ID = absint($registration->event_ID()); |
|
26 | + $event_url = add_query_arg( |
|
27 | + ['action' => 'edit', 'post' => $EVT_ID], |
|
28 | + admin_url('admin.php?page=espresso_events') |
|
29 | + ); |
|
30 | + echo EE_Registry::instance()->CAP->current_user_can( |
|
31 | + 'ee_edit_event', |
|
32 | + 'espresso_events_edit', |
|
33 | + $EVT_ID |
|
34 | + ) |
|
35 | + ? '<a href="' . esc_url_raw($event_url) . '" title="' |
|
36 | + . esc_attr__('Edit Event', 'event_espresso') . '">' |
|
37 | + . esc_html($registration->event_name()) . '</a>' |
|
38 | + : esc_html($registration->event_name()); |
|
39 | + ?> |
|
40 | 40 | </td> |
41 | 41 | <td class="jst-left"> |
42 | 42 | <?php |
43 | - $REG_ID = absint($registration->ID()); |
|
44 | - $reg_url = EE_Admin_Page::add_query_args_and_nonce( |
|
45 | - ['action' => 'view_registration', '_REG_ID' => $REG_ID], |
|
46 | - REG_ADMIN_URL |
|
47 | - ); |
|
48 | - echo EE_Registry::instance()->CAP->current_user_can( |
|
49 | - 'ee_read_registration', |
|
50 | - 'espresso_registrations_view_registration', |
|
51 | - $REG_ID |
|
52 | - ) |
|
53 | - ? '<a href="' . esc_url_raw($reg_url) . '" title="' |
|
54 | - . esc_attr__('View Registration Details', 'event_espresso') . '">' |
|
55 | - . esc_html__('View Registration', 'event_espresso') . '</a>' |
|
56 | - : $REG_ID; |
|
57 | - ?> |
|
43 | + $REG_ID = absint($registration->ID()); |
|
44 | + $reg_url = EE_Admin_Page::add_query_args_and_nonce( |
|
45 | + ['action' => 'view_registration', '_REG_ID' => $REG_ID], |
|
46 | + REG_ADMIN_URL |
|
47 | + ); |
|
48 | + echo EE_Registry::instance()->CAP->current_user_can( |
|
49 | + 'ee_read_registration', |
|
50 | + 'espresso_registrations_view_registration', |
|
51 | + $REG_ID |
|
52 | + ) |
|
53 | + ? '<a href="' . esc_url_raw($reg_url) . '" title="' |
|
54 | + . esc_attr__('View Registration Details', 'event_espresso') . '">' |
|
55 | + . esc_html__('View Registration', 'event_espresso') . '</a>' |
|
56 | + : $REG_ID; |
|
57 | + ?> |
|
58 | 58 | </td> |
59 | 59 | <td class="jst-left"> |
60 | 60 | <?php |
61 | - $TXN_ID = absint($registration->transaction_ID()); |
|
62 | - $txn_url = EE_Admin_Page::add_query_args_and_nonce( |
|
63 | - ['action' => 'view_transaction', 'TXN_ID' => $TXN_ID], |
|
64 | - TXN_ADMIN_URL |
|
65 | - ); |
|
66 | - echo EE_Registry::instance()->CAP->current_user_can( |
|
67 | - 'ee_read_transaction', |
|
68 | - 'espresso_transactions_view_transaction' |
|
69 | - ) |
|
70 | - ? '<a href="' . esc_url_raw($txn_url) . '" title="' |
|
71 | - . esc_attr__('View Transaction Details', 'event_espresso') . '">' |
|
72 | - . sprintf( |
|
73 | - esc_html__('View Transaction %d', 'event_espresso'), |
|
74 | - $TXN_ID |
|
75 | - ) . |
|
76 | - '</a>' |
|
77 | - : $TXN_ID; |
|
78 | - ?> |
|
61 | + $TXN_ID = absint($registration->transaction_ID()); |
|
62 | + $txn_url = EE_Admin_Page::add_query_args_and_nonce( |
|
63 | + ['action' => 'view_transaction', 'TXN_ID' => $TXN_ID], |
|
64 | + TXN_ADMIN_URL |
|
65 | + ); |
|
66 | + echo EE_Registry::instance()->CAP->current_user_can( |
|
67 | + 'ee_read_transaction', |
|
68 | + 'espresso_transactions_view_transaction' |
|
69 | + ) |
|
70 | + ? '<a href="' . esc_url_raw($txn_url) . '" title="' |
|
71 | + . esc_attr__('View Transaction Details', 'event_espresso') . '">' |
|
72 | + . sprintf( |
|
73 | + esc_html__('View Transaction %d', 'event_espresso'), |
|
74 | + $TXN_ID |
|
75 | + ) . |
|
76 | + '</a>' |
|
77 | + : $TXN_ID; |
|
78 | + ?> |
|
79 | 79 | </td> |
80 | 80 | <td class="jst-left"><?php echo esc_html($registration->reg_code()); ?></td> |
81 | 81 | <td class="jst-rght"> |
@@ -32,9 +32,9 @@ discard block |
||
32 | 32 | 'espresso_events_edit', |
33 | 33 | $EVT_ID |
34 | 34 | ) |
35 | - ? '<a href="' . esc_url_raw($event_url) . '" title="' |
|
36 | - . esc_attr__('Edit Event', 'event_espresso') . '">' |
|
37 | - . esc_html($registration->event_name()) . '</a>' |
|
35 | + ? '<a href="'.esc_url_raw($event_url).'" title="' |
|
36 | + . esc_attr__('Edit Event', 'event_espresso').'">' |
|
37 | + . esc_html($registration->event_name()).'</a>' |
|
38 | 38 | : esc_html($registration->event_name()); |
39 | 39 | ?> |
40 | 40 | </td> |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | 'espresso_registrations_view_registration', |
51 | 51 | $REG_ID |
52 | 52 | ) |
53 | - ? '<a href="' . esc_url_raw($reg_url) . '" title="' |
|
54 | - . esc_attr__('View Registration Details', 'event_espresso') . '">' |
|
55 | - . esc_html__('View Registration', 'event_espresso') . '</a>' |
|
53 | + ? '<a href="'.esc_url_raw($reg_url).'" title="' |
|
54 | + . esc_attr__('View Registration Details', 'event_espresso').'">' |
|
55 | + . esc_html__('View Registration', 'event_espresso').'</a>' |
|
56 | 56 | : $REG_ID; |
57 | 57 | ?> |
58 | 58 | </td> |
@@ -67,12 +67,12 @@ discard block |
||
67 | 67 | 'ee_read_transaction', |
68 | 68 | 'espresso_transactions_view_transaction' |
69 | 69 | ) |
70 | - ? '<a href="' . esc_url_raw($txn_url) . '" title="' |
|
71 | - . esc_attr__('View Transaction Details', 'event_espresso') . '">' |
|
70 | + ? '<a href="'.esc_url_raw($txn_url).'" title="' |
|
71 | + . esc_attr__('View Transaction Details', 'event_espresso').'">' |
|
72 | 72 | . sprintf( |
73 | 73 | esc_html__('View Transaction %d', 'event_espresso'), |
74 | 74 | $TXN_ID |
75 | - ) . |
|
75 | + ). |
|
76 | 76 | '</a>' |
77 | 77 | : $TXN_ID; |
78 | 78 | ?> |