Changeset 2968
- Timestamp:
- 04/28/2010 09:54:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-templatetags.php
r2961 r2968 426 426 foreach( (array) $bp->bp_nav as $nav_item ) { 427 427 /* If the current component matches the nav item id, then add a highlight CSS class. */ 428 if ( $bp->active_components[$bp->current_component] == $nav_item['css_id'] ) {428 if ( !bp_is_directory && $bp->active_components[$bp->current_component] == $nav_item['css_id'] ) 429 429 $selected = ' class="current selected"'; 430 } else {430 else 431 431 $selected = ''; 432 }433 432 434 433 /* If we are viewing another person (current_userid does not equal loggedin_user->id)
Note: See TracChangeset
for help on using the changeset viewer.