Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/21/2011 01:24:00 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Fix incorrect slugs in activity index template files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/activity/index.php

    r3771 r3797  
    4545                            <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
    4646
    47                                 <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_friends_slug() . '/' . BP_FRIENDS_SLUG . '/' ?>" title="<?php _e( 'The activity of my friends only.', 'buddypress' ) ?>"><?php printf( __( 'My Friends (%s)', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ) ?></a></li>
     47                                <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/' ?>" title="<?php _e( 'The activity of my friends only.', 'buddypress' ) ?>"><?php printf( __( 'My Friends (%s)', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ) ?></a></li>
    4848
    4949                            <?php endif; ?>
     
    5757                            <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
    5858
    59                                 <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_groups_slug() . '/' . BP_GROUPS_SLUG . '/' ?>" title="<?php _e( 'The activity of groups I am a member of.', 'buddypress' ) ?>"><?php printf( __( 'My Groups (%s)', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) ?></a></li>
     59                                <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/' ?>" title="<?php _e( 'The activity of groups I am a member of.', 'buddypress' ) ?>"><?php printf( __( 'My Groups (%s)', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) ?></a></li>
    6060
    6161                            <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.