@@ -35,13 +35,13 @@ discard block |
||
35 | 35 | |
36 | 36 | <div class="contact-details-buttons"> |
37 | 37 | <?php |
38 | - if ($att_check instanceof EE_Attendee |
|
39 | - && EE_Registry::instance()->CAP->current_user_can( |
|
40 | - 'ee_edit_contact', |
|
41 | - 'view_or_edit_contact_button', |
|
42 | - $att_check->ID() |
|
43 | - )) : |
|
44 | - ?> |
|
38 | + if ($att_check instanceof EE_Attendee |
|
39 | + && EE_Registry::instance()->CAP->current_user_can( |
|
40 | + 'ee_edit_contact', |
|
41 | + 'view_or_edit_contact_button', |
|
42 | + $att_check->ID() |
|
43 | + )) : |
|
44 | + ?> |
|
45 | 45 | <a class="button button-small" href="<?php echo $att_edit_link; ?>" |
46 | 46 | title="<?php echo esc_attr($att_edit_label); ?>"> |
47 | 47 | <span class="ee-icon ee-icon-user-edit"></span><?php echo $att_edit_label; ?> |
@@ -49,15 +49,15 @@ discard block |
||
49 | 49 | <?php if (! empty($create_link)) : ?> |
50 | 50 | <a class="button button-small" href="<?php echo $create_link; ?>" |
51 | 51 | title="<?php |
52 | - esc_attr_e( |
|
53 | - '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', |
|
54 | - 'event_espresso' |
|
55 | - ); ?>"> |
|
52 | + esc_attr_e( |
|
53 | + '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', |
|
54 | + 'event_espresso' |
|
55 | + ); ?>"> |
|
56 | 56 | <span class="ee-icon ee-icon-user-add-new"></span><?php echo $create_label; ?> |
57 | 57 | </a> |
58 | 58 | <?php endif; ?> |
59 | 59 | <div style="clear:both"></div> |
60 | 60 | <?php |
61 | - endif; |
|
61 | + endif; |
|
62 | 62 | ?> |
63 | 63 | </div> |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | <div class="clearfix"> |
3 | 3 | <span class="admin-side-mbox-label-spn lt-grey-txt float-left"> |
4 | 4 | <?php esc_html_e('Name', 'event_espresso'); ?> |
5 | - </span><?php echo $fname . ' ' . $lname; ?> |
|
5 | + </span><?php echo $fname.' '.$lname; ?> |
|
6 | 6 | </div> |
7 | 7 | <div class="clearfix"> |
8 | 8 | <span class="admin-side-mbox-label-spn lt-grey-txt float-left"> |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | <span class="admin-side-mbox-label-spn lt-grey-txt float-left"> |
17 | 17 | <?php esc_html_e('Phone #', 'event_espresso'); ?> |
18 | 18 | </span> |
19 | - <?php if (! empty($phone)) : ?> |
|
19 | + <?php if ( ! empty($phone)) : ?> |
|
20 | 20 | <a href="tel:<?php echo $phone; ?>"> |
21 | 21 | <?php echo $phone; ?> |
22 | 22 | </a> |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | title="<?php echo esc_attr($att_edit_label); ?>"> |
47 | 47 | <span class="ee-icon ee-icon-user-edit"></span><?php echo $att_edit_label; ?> |
48 | 48 | </a> |
49 | - <?php if (! empty($create_link)) : ?> |
|
49 | + <?php if ( ! empty($create_link)) : ?> |
|
50 | 50 | <a class="button button-small" href="<?php echo $create_link; ?>" |
51 | 51 | title="<?php |
52 | 52 | esc_attr_e( |