Changeset 1718 for trunk/bp-core/bp-core-templatetags.php
- Timestamp:
- 08/27/2009 09:18:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r1714 r1718 22 22 foreach( (array) $bp->bp_nav as $nav_item ) { 23 23 /* If the current component matches the nav item id, then add a highlight CSS class. */ 24 if ( $bp-> current_component== $nav_item['css_id'] ) {24 if ( $bp->active_components[$bp->current_component] == $nav_item['css_id'] ) { 25 25 $selected = ' class="current"'; 26 26 } else { … … 35 35 36 36 if ( function_exists('friends_install') ) { 37 if ( $nav_item['css_id'] == $bp->friends-> slug) {37 if ( $nav_item['css_id'] == $bp->friends->id ) { 38 38 if ( friends_check_friendship( $bp->loggedin_user->id, $bp->displayed_user->id ) ) 39 39 $selected = ' class="current"';
Note: See TracChangeset
for help on using the changeset viewer.