Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/30/2011 08:08:12 PM (13 years ago)
Author:
boonebgorges
Message:

Fixes 'All Sites' and 'My Sites' tab links on Sites directory. Fixes #3636

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-themes/bp-default/blogs/index.php

    r4994 r5196  
    3333            <div class="item-list-tabs" role="navigation">
    3434                <ul>
    35                     <li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>"><?php printf( __( 'All Sites <span>%s</span>', 'buddypress' ), bp_get_total_blog_count() ); ?></a></li>
     35                    <li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug() ?>"><?php printf( __( 'All Sites <span>%s</span>', 'buddypress' ), bp_get_total_blog_count() ); ?></a></li>
    3636
    3737                    <?php if ( is_user_logged_in() && bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ) : ?>
    3838
    39                         <li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug() . '/my-blogs/' ?>"><?php printf( __( 'My Sites <span>%s</span>', 'buddypress' ), bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
     39                        <li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug() ?>"><?php printf( __( 'My Sites <span>%s</span>', 'buddypress' ), bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
    4040
    4141                    <?php endif; ?>
     
    7575
    7676            <?php wp_nonce_field( 'directory_blogs', '_wpnonce-blogs-filter' ); ?>
    77            
     77
    7878            <?php do_action( 'bp_after_directory_blogs_content' ); ?>
    7979
Note: See TracChangeset for help on using the changeset viewer.