|
@@ -1,11 +1,11 @@ |
|
|
block discarded – undo |
|
1
|
|
-<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
|
1
|
+<?php if (!defined('ABSPATH')) exit; |
|
2
|
2
|
?> |
|
3
|
3
|
<div class="wps-boxed"> |
|
4
|
4
|
<?php echo $attributes_sections_tpl; ?> |
|
5
|
|
- <?php if( !$is_from_admin ) : ?> |
|
6
|
|
- <div><button data-nonce="<?php echo wp_create_nonce( 'wps_fill_account_informations_modal' ); ?>" class="wps-link wps-alignright" id="wps_modal_account_informations_opener"><i class="wps-icon-pencil"></i><?php _e( 'Edit your account informations', 'wpshop')?></button></div> |
|
7
|
|
- <?php elseif( $customer_link ) : ?> |
|
8
|
|
- <div><a href="<?php echo get_edit_post_link( $cid ); ?>"><?php esc_html_e( 'See customer', 'wpshop' ); ?></a></div> |
|
9
|
|
- <?php apply_filters( 'wps_filter_customer_in_order', $cid, wps_customer_ctr::get_author_id_by_customer_id( $cid ) ); ?> |
|
|
5
|
+ <?php if (!$is_from_admin) : ?> |
|
|
6
|
+ <div><button data-nonce="<?php echo wp_create_nonce('wps_fill_account_informations_modal'); ?>" class="wps-link wps-alignright" id="wps_modal_account_informations_opener"><i class="wps-icon-pencil"></i><?php _e('Edit your account informations', 'wpshop')?></button></div> |
|
|
7
|
+ <?php elseif ($customer_link) : ?> |
|
|
8
|
+ <div><a href="<?php echo get_edit_post_link($cid); ?>"><?php esc_html_e('See customer', 'wpshop'); ?></a></div> |
|
|
9
|
+ <?php apply_filters('wps_filter_customer_in_order', $cid, wps_customer_ctr::get_author_id_by_customer_id($cid)); ?> |
|
10
|
10
|
<?php endif; ?> |
|
11
|
11
|
</div> |
Please login to merge, or discard this patch.