Changeset 2209 for trunk/bp-themes/bp-default/activity/index.php
- Timestamp:
- 12/27/2009 10:41:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/activity/index.php
r2201 r2209 23 23 24 24 <?php if ( is_user_logged_in() ) : ?> 25 <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/my-friends/' ?>"><?php printf( __( 'My Friends (%s)', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ) ?></a></li> 26 <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/my-groups/' ?>"><?php printf( __( 'My Groups (%s)', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) ?></a></li> 25 26 <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 27 <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/my-friends/' ?>"><?php printf( __( 'My Friends (%s)', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ) ?></a></li> 28 <?php endif; ?> 29 30 <?php if ( bp_get_total_group_count( bp_loggedin_user_id() ) ) : ?> 31 <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/my-groups/' ?>"><?php printf( __( 'My Groups (%s)', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) ?></a></li> 32 <?php endif; ?> 33 27 34 <?php endif; ?> 28 35
Note: See TracChangeset
for help on using the changeset viewer.