Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/18/2010 10:31:29 AM (15 years ago)
Author:
apeatling
Message:

Fixes #1562 - group forum pagination links.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-templatetags.php

    r2321 r2325  
    426426        /* If the current component matches the nav item id, then add a highlight CSS class. */
    427427        if ( $bp->active_components[$bp->current_component] == $nav_item['css_id'] ) {
    428             $selected = ' class="current"';
     428            $selected = ' class="current selected"';
    429429        } else {
    430430            $selected = '';
     
    440440                if ( $nav_item['css_id'] == $bp->friends->id ) {
    441441                    if ( friends_check_friendship( $bp->loggedin_user->id, $bp->displayed_user->id ) )
    442                         $selected = ' class="current"';
     442                        $selected = ' class="current selected"';
    443443                }
    444444            }
     
    479479
    480480        if ( $bp->current_component == $user_nav_item['slug'] )
    481             $selected = ' class="current"';
     481            $selected = ' class="current selected"';
    482482        else
    483483            $selected = '';
     
    529529            /* If the current action or an action variable matches the nav item id, then add a highlight CSS class. */
    530530            if ( $subnav_item['slug'] == $bp->current_action ) {
    531                 $selected = ' class="current"';
     531                $selected = ' class="current selected"';
    532532            } else {
    533533                $selected = '';
Note: See TracChangeset for help on using the changeset viewer.