Changeset 2077 for trunk/bp-themes/bp-sn-parent/friends/friends-loop.php
- Timestamp:
- 11/02/2009 07:54:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-sn-parent/friends/friends-loop.php
r1905 r2077 1 <?php do_action( 'bp_before_my_friends_loop' ) ?> 1 <?php do_action( 'bp_before_my_friends_loop' ) ?> 2 2 3 3 <div id="friends-loop"> 4 4 5 5 <?php if ( bp_has_friendships() ) : ?> 6 6 7 7 <div class="pagination"> 8 8 … … 10 10 <?php bp_friend_pagination_count() ?> 11 11 </div> 12 12 13 13 <div class="pagination-links" id="pag"> 14 14 <?php bp_friend_pagination() ?> 15 15 </div> 16 16 17 17 </div> 18 18 19 19 <?php do_action( 'bp_before_my_friends_list' ) ?> 20 20 21 21 <ul id="friend-list" class="item-list"> 22 22 <?php while ( bp_user_friendships() ) : bp_the_friendship(); ?> 23 23 24 24 <li> 25 25 <?php bp_friend_avatar_thumb() ?> … … 27 27 <span class="activity"><?php bp_friend_last_active() ?></span> 28 28 29 <?php do_action( 'bp_my_friends_list_item' ) ?> 30 29 <?php do_action( 'bp_my_friends_list_item' ) ?> 30 31 31 <div class="action"> 32 32 <?php bp_add_friend_button() ?> 33 33 34 34 <?php do_action( 'bp_my_friends_list_item_action' ) ?> 35 35 </div> 36 36 </li> 37 37 38 38 <?php endwhile; ?> 39 39 </ul> 40 40 41 41 <?php do_action( 'bp_after_my_friends_list' ) ?> 42 42 43 43 <?php else: ?> 44 44 45 45 <?php if ( bp_friends_is_filtered() ) : ?> 46 46 47 47 <div id="message" class="info"> 48 48 <p><?php _e( "No friends matched your search filter terms", 'buddypress' ) ?></p> 49 </div> 50 49 </div> 50 51 51 <?php else : ?> 52 52 53 53 <div id="message" class="info"> 54 54 <p><?php bp_word_or_name( __( "Your friends list is currently empty", 'buddypress' ), __( "%s's friends list is currently empty", 'buddypress' ) ) ?></p> 55 55 </div> 56 56 57 57 <?php endif; ?> 58 58 59 59 <?php if ( bp_is_home() && !bp_friends_is_filtered() ) : ?> 60 60 61 61 <?php do_action( 'bp_before_random_members_list' ) ?> 62 62 63 63 <h3><?php _e( 'Why not make friends with some of these members?', 'buddypress' ) ?></h3> 64 64 <?php bp_friends_random_members() ?> 65 65 66 66 <?php do_action( 'bp_after_random_members_list' ) ?> 67 67 68 68 <?php endif; ?> 69 69 70 70 <?php endif;?> 71 71 72 72 </div> 73 73 74 <?php do_action( 'bp_after_my_friends_loop' ) ?> 74 <?php do_action( 'bp_after_my_friends_loop' ) ?>
Note: See TracChangeset
for help on using the changeset viewer.