SHOW:
|
|
- or go back to the newest paste.
1 | <?php do_action( 'bp_before_header' ) ?> | |
2 | <?php endif; ?> | |
3 | <div id="header-wrapper"> | |
4 | <div id="header"> | |
5 | - | <?php if ((current_user_can('mp_view') && ( class_exists( 'MarketPress' ) )) |
5 | + | <?php if ((current_user_can('mp_view') && ( class_exists( 'MarketPress' ) )) { |
6 | $settings = get_option('mp_settings'); | |
7 | if (!$settings['disable_cart']) { | |
8 | ?> | |
9 | <div id="cart-contents"><?php _e( 'Cart:', 'framemarket' ) ?> <span><?php echo sprintf(__('%s item(s)', 'framemarket' ), mp_items_count_in_cart()); ?></span></div> | |
10 | <div id="mp-cartsmall"> | |
11 | <div id="toggle"> | |
12 | <a id="open" class="open button" href="#"><?php _e( 'View Cart', 'framemarket' ) ?></a> | |
13 | ||
14 | <a id="close" style="display: none;" class="close button" href="#"><?php _e( 'Hide Cart', 'framemarket' ) ?></a> | |
15 | ||
16 | </div> | |
17 | </div> | |
18 | <?php } ?> | |
19 | <?php if ( is_multisite() ) {?> | |
20 | <?php |