Changeset 1022
- Timestamp:
- 02/06/2009 03:08:51 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/buddypress-theme/member-themes/buddypress-member/functions.php
r1021 r1022 11 11 global $bp, $is_single_group; 12 12 13 if ( !bp_is_home() && $bp->current_component == 'profile' || 14 $bp->current_component == 'blog' || 15 $bp->current_component == 'friends' || 16 $bp->current_component == 'blogs' ) { 17 if ( $bp->displayed_user->id != $bp->loggedin_user->id ) 18 echo ' class="arrow"'; 13 if ( !bp_is_home() && $bp->current_component == $bp->profile->slug || $bp->current_component == $bp->friends->slug || $bp->current_component == $bp->blogs->slug ) { 14 echo ' class="arrow"'; 19 15 } 20 16 21 if ( ( $bp->current_component == 'groups' && $is_single_group ) || ( $bp->current_component == 'groups'&& !bp_is_home() ) )17 if ( ( $bp->current_component == $bp->groups->slug && $is_single_group ) || ( $bp->current_component == $bp->groups->slug && !bp_is_home() ) ) 22 18 echo ' class="arrow"'; 23 19 } … … 26 22 global $bp; 27 23 28 if ( ( $bp->displayed_user->id != $bp->loggedin_user->id) )24 if ( ( !bp_is_home() ) ) 29 25 echo ' class="icons"'; 30 26 }
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)