Changeset 3810 for trunk/bp-themes/bp-default/members/members-loop.php
- Timestamp:
- 01/22/2011 10:13:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/members/members-loop.php
r3771 r3810 1 <?php /* Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter() */ ?>1 <?php 2 2 3 <?php do_action( 'bp_before_members_loop' ) ?> 3 /** 4 * BuddyPress - Members Loop 5 * 6 * Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter() 7 * 8 * @package BuddyPress 9 * @subpackage bp-default 10 */ 11 12 ?> 13 14 <?php do_action( 'bp_before_members_loop' ); ?> 4 15 5 16 <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?> … … 8 19 9 20 <div class="pag-count" id="member-dir-count-top"> 10 <?php bp_members_pagination_count() ?> 21 22 <?php bp_members_pagination_count(); ?> 23 11 24 </div> 12 25 13 26 <div class="pagination-links" id="member-dir-pag-top"> 14 <?php bp_members_pagination_links() ?> 27 28 <?php bp_members_pagination_links(); ?> 29 15 30 </div> 16 31 17 32 </div> 18 33 19 <?php do_action( 'bp_before_directory_members_list' ) ?>34 <?php do_action( 'bp_before_directory_members_list' ); ?> 20 35 21 36 <ul id="members-list" class="item-list" role="main"> 37 22 38 <?php while ( bp_members() ) : bp_the_member(); ?> 23 39 24 40 <li> 25 41 <div class="item-avatar"> 26 <a href="<?php bp_member_permalink() ?>"><?php bp_member_avatar()?></a>42 <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a> 27 43 </div> 28 44 29 45 <div class="item"> 30 46 <div class="item-title"> 31 <a href="<?php bp_member_permalink() ?>"><?php bp_member_name()?></a>47 <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a> 32 48 33 49 <?php if ( bp_get_member_latest_update() ) : ?> 34 50 35 <span class="update"> - <?php bp_member_latest_update( 'length=10' ) ?></span>51 <span class="update"> - <?php bp_member_latest_update( 'length=10' ); ?></span> 36 52 37 53 <?php endif; ?> … … 39 55 </div> 40 56 41 <div class="item-meta"><span class="activity"><?php bp_member_last_active() ?></span></div>57 <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div> 42 58 43 <?php do_action( 'bp_directory_members_item' ) ?>59 <?php do_action( 'bp_directory_members_item' ); ?> 44 60 45 61 <?php … … 64 80 65 81 <?php endwhile; ?> 82 66 83 </ul> 67 84 68 <?php do_action( 'bp_after_directory_members_list' ) ?>85 <?php do_action( 'bp_after_directory_members_list' ); ?> 69 86 70 <?php bp_member_hidden_fields() ?>87 <?php bp_member_hidden_fields(); ?> 71 88 72 89 <div id="pag-bottom" class="pagination"> 73 90 74 91 <div class="pag-count" id="member-dir-count-bottom"> 75 <?php bp_members_pagination_count() ?> 92 93 <?php bp_members_pagination_count(); ?> 94 76 95 </div> 77 96 78 97 <div class="pagination-links" id="member-dir-pag-bottom"> 79 <?php bp_members_pagination_links() ?> 98 99 <?php bp_members_pagination_links(); ?> 100 80 101 </div> 81 102 … … 85 106 86 107 <div id="message" class="info"> 87 <p><?php _e( "Sorry, no members were found.", 'buddypress' ) ?></p>108 <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p> 88 109 </div> 89 110 90 111 <?php endif; ?> 91 112 92 <?php do_action( 'bp_after_members_loop' ) ?>113 <?php do_action( 'bp_after_members_loop' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.