Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/02/2009 07:54:21 PM (16 years ago)
Author:
apeatling
Message:

Merging 1.1 branch changes and syncing.

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' ) ?>
    22
    33<div id="friends-loop">
    4    
     4
    55    <?php if ( bp_has_friendships() ) : ?>
    6        
     6
    77        <div class="pagination">
    88
     
    1010                <?php bp_friend_pagination_count() ?>
    1111            </div>
    12            
     12
    1313            <div class="pagination-links" id="pag">
    1414                <?php bp_friend_pagination() ?>
    1515            </div>
    16        
     16
    1717        </div>
    18        
     18
    1919        <?php do_action( 'bp_before_my_friends_list' ) ?>
    20        
     20
    2121        <ul id="friend-list" class="item-list">
    2222            <?php while ( bp_user_friendships() ) : bp_the_friendship(); ?>
    23            
     23
    2424                <li>
    2525                    <?php bp_friend_avatar_thumb() ?>
     
    2727                    <span class="activity"><?php bp_friend_last_active() ?></span>
    2828
    29                     <?php do_action( 'bp_my_friends_list_item' ) ?> 
    30                                
     29                    <?php do_action( 'bp_my_friends_list_item' ) ?>
     30
    3131                    <div class="action">
    3232                        <?php bp_add_friend_button() ?>
    33                        
     33
    3434                        <?php do_action( 'bp_my_friends_list_item_action' ) ?>
    3535                    </div>
    3636                </li>
    37        
     37
    3838            <?php endwhile; ?>
    3939        </ul>
    4040
    4141        <?php do_action( 'bp_after_my_friends_list' ) ?>
    42        
     42
    4343    <?php else: ?>
    4444
    4545        <?php if ( bp_friends_is_filtered() ) : ?>
    46            
     46
    4747            <div id="message" class="info">
    4848                <p><?php _e( "No friends matched your search filter terms", 'buddypress' ) ?></p>
    49             </div>         
    50            
     49            </div>
     50
    5151        <?php else : ?>
    52            
     52
    5353            <div id="message" class="info">
    5454                <p><?php bp_word_or_name( __( "Your friends list is currently empty", 'buddypress' ), __( "%s's friends list is currently empty", 'buddypress' ) ) ?></p>
    5555            </div>
    56            
     56
    5757        <?php endif; ?>
    58        
     58
    5959        <?php if ( bp_is_home() && !bp_friends_is_filtered() ) : ?>
    6060
    6161            <?php do_action( 'bp_before_random_members_list' ) ?>
    62                        
     62
    6363            <h3><?php _e( 'Why not make friends with some of these members?', 'buddypress' ) ?></h3>
    6464            <?php bp_friends_random_members() ?>
    6565
    6666            <?php do_action( 'bp_after_random_members_list' ) ?>
    67        
     67
    6868        <?php endif; ?>
    69        
     69
    7070    <?php endif;?>
    71    
     71
    7272</div>
    7373
    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.