Changeset 2325 for trunk/bp-core/bp-core-templatetags.php
- Timestamp:
- 01/18/2010 10:31:29 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r2321 r2325 426 426 /* If the current component matches the nav item id, then add a highlight CSS class. */ 427 427 if ( $bp->active_components[$bp->current_component] == $nav_item['css_id'] ) { 428 $selected = ' class="current "';428 $selected = ' class="current selected"'; 429 429 } else { 430 430 $selected = ''; … … 440 440 if ( $nav_item['css_id'] == $bp->friends->id ) { 441 441 if ( friends_check_friendship( $bp->loggedin_user->id, $bp->displayed_user->id ) ) 442 $selected = ' class="current "';442 $selected = ' class="current selected"'; 443 443 } 444 444 } … … 479 479 480 480 if ( $bp->current_component == $user_nav_item['slug'] ) 481 $selected = ' class="current "';481 $selected = ' class="current selected"'; 482 482 else 483 483 $selected = ''; … … 529 529 /* If the current action or an action variable matches the nav item id, then add a highlight CSS class. */ 530 530 if ( $subnav_item['slug'] == $bp->current_action ) { 531 $selected = ' class="current "';531 $selected = ' class="current selected"'; 532 532 } else { 533 533 $selected = '';
Note: See TracChangeset
for help on using the changeset viewer.