Changeset 2168 for trunk/bp-themes/bp-sn-parent/friends/requests.php
- Timestamp:
- 12/14/2009 03:24:05 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-sn-parent/friends/requests.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-sn-parent/friends/requests.php
r2077 r2168 6 6 <div id="content"> 7 7 8 <div class="pagination">9 10 <div class="pagination-links" id="pag">11 <?php bp_friend_pagination() ?>12 </div>13 14 </div>15 16 8 <h2><?php _e( 'Friendship Requests', 'buddypress' ); ?></h2> 17 9 <?php do_action( 'template_notices' ) // (error/success feedback) ?> … … 19 11 <?php do_action( 'bp_before_friend_requests_content' ) ?> 20 12 21 <?php if ( bp_has_ friendships() ) : ?>13 <?php if ( bp_has_members( 'include=' . bp_get_friendship_requests() ) ) : ?> 22 14 23 15 <ul id="friend-list" class="item-list"> 24 <?php while ( bp_ user_friendships() ) : bp_the_friendship(); ?>16 <?php while ( bp_members() ) : bp_the_member(); ?> 25 17 26 <li>27 <?php bp_friend_avatar_thumb() ?>28 < h4><?php bp_friend_link() ?></h4>29 <span class="activity"><?php bp_friend_time_since_requested() ?></span>18 <li> 19 <div class="item-avatar"> 20 <a href="<?php bp_member_link() ?>"><?php bp_member_avatar() ?></a> 21 </div> 30 22 31 <?php do_action( 'bp_friend_requests_item' ) ?> 23 <div class="item"> 24 <div class="item-title"><a href="<?php bp_member_link() ?>"><?php bp_member_name() ?></a></div> 25 <div class="item-meta"><span class="activity"><?php bp_member_last_active() ?></span></div> 26 </div> 32 27 33 <div class="action">34 <div class="generic-button accept">35 <a href="<?php bp_friend_accept_request_link() ?>"><?php _e( 'Accept', 'buddypress' ); ?></a>36 </div>28 <div class="action"> 29 <div class="generic-button accept"> 30 <a href="<?php bp_friend_accept_request_link() ?>"><?php _e( 'Accept', 'buddypress' ); ?></a> 31 </div> 37 32 38 33 39 34 40 <div class="generic-button reject">41 <a href="<?php bp_friend_reject_request_link() ?>"><?php _e( 'Reject', 'buddypress' ); ?></a>42 </div>35 <div class="generic-button reject"> 36 <a href="<?php bp_friend_reject_request_link() ?>"><?php _e( 'Reject', 'buddypress' ); ?></a> 37 </div> 43 38 44 <?php do_action( 'bp_friend_requests_item_action' ) ?> 45 </div> 46 </li> 39 <?php do_action( 'bp_friend_requests_item_action' ) ?> 40 </div> 41 42 43 <div class="clear"></div> 44 </li> 47 45 48 46 <?php endwhile; ?>
Note: See TracChangeset
for help on using the changeset viewer.