- Timestamp:
- 02/11/2013 02:01:12 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-templates/bp-legacy/buddypress/members/single/friends.php
r6284 r6783 35 35 36 36 <?php 37 switch ( bp_current_action() ) : 37 38 38 if ( bp_is_current_action( 'requests' ) ) : 39 bp_get_template_part( 'members/single/friends/requests' ); 39 // Home/My Friends 40 case 'my-friends' : 41 do_action( 'bp_before_member_friends_content' ); ?> 40 42 41 else : 42 do_action( 'bp_before_member_friends_content' ); ?> 43 <div class="members friends"> 43 44 44 <div class="members friends">45 <?php bp_get_template_part( 'members/members-loop' ) ?> 45 46 46 < ?php bp_get_template_part( 'members/members-loop' ) ?>47 </div><!-- .members.friends --> 47 48 48 </div><!-- .members.friends --> 49 <?php do_action( 'bp_after_member_friends_content' ); 50 break; 49 51 50 <?php do_action( 'bp_after_member_friends_content' ); ?> 52 case 'requests' : 53 bp_get_template_part( 'members/single/friends/requests' ); 54 break; 51 55 52 <?php endif; ?> 56 // Any other 57 default : 58 bp_get_template_part( 'members/single/plugins' ); 59 break; 60 endswitch;
Note: See TracChangeset
for help on using the changeset viewer.