Changeset 2389 for trunk/bp-friends.php
- Timestamp:
- 01/21/2010 11:19:32 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends.php
r2381 r2389 73 73 /* Add the subnav items to the friends nav item */ 74 74 bp_core_new_subnav_item( array( 'name' => __( 'My Friends', 'buddypress' ), 'slug' => 'my-friends', 'parent_url' => $friends_link, 'parent_slug' => $bp->friends->slug, 'screen_function' => 'friends_screen_my_friends', 'position' => 10, 'item_css_id' => 'friends-my-friends' ) ); 75 bp_core_new_subnav_item( array( 'name' => __( 'Requests', 'buddypress' ), 'slug' => 'requests', 'parent_url' => $friends_link, 'parent_slug' => $bp->friends->slug, 'screen_function' => 'friends_screen_requests', 'position' => 20, 'user_has_access' => bp_is_ home() ) );75 bp_core_new_subnav_item( array( 'name' => __( 'Requests', 'buddypress' ), 'slug' => 'requests', 'parent_url' => $friends_link, 'parent_slug' => $bp->friends->slug, 'screen_function' => 'friends_screen_requests', 'position' => 20, 'user_has_access' => bp_is_my_profile() ) ); 76 76 77 77 if ( $bp->current_component == $bp->friends->slug ) { 78 if ( bp_is_ home() ) {78 if ( bp_is_my_profile() ) { 79 79 $bp->bp_options_title = __( 'My Friends', 'buddypress' ); 80 80 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)