Changeset 2077 for trunk/bp-themes/bp-sn-parent/groups/group-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/groups/group-loop.php
r1991 r2077 2 2 3 3 <div id="group-loop"> 4 4 5 5 <?php if ( bp_has_groups() ) : ?> 6 6 7 7 <div class="pagination"> 8 8 9 9 <div class="pag-count"> 10 10 <?php bp_group_pagination_count() ?> 11 11 </div> 12 12 13 13 <div class="pagination-links" id="<?php bp_group_pag_id() ?>"> 14 14 <?php bp_group_pagination() ?> 15 15 </div> 16 16 17 17 </div> 18 18 19 19 <?php do_action( 'bp_before_my_groups_list' ) ?> 20 20 21 21 <ul id="group-list" class="item-list"> 22 22 <?php while ( bp_groups() ) : bp_the_group(); ?> 23 23 24 24 <li> 25 25 <?php bp_group_avatar_thumb() ?> 26 26 <h4><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a><span class="small"> - <?php printf( __( '%s members', 'buddypress' ), bp_group_total_members( false ) ) ?></span></h4> 27 27 28 28 <?php if ( bp_group_has_requested_membership() ) : ?> 29 29 <p class="request-pending"><?php _e( 'Membership Pending Approval', 'buddypress' ); ?></p> 30 30 <?php endif; ?> 31 31 32 32 <div class="desc"> 33 33 <?php bp_group_description_excerpt() ?> 34 34 </div> 35 35 36 36 <?php do_action( 'bp_before_my_groups_list_item' ) ?> 37 37 </li> 38 38 39 39 <?php endwhile; ?> 40 40 </ul> 41 41 42 42 <?php do_action( 'bp_after_my_groups_list' ) ?> 43 43 44 44 <?php else: ?> 45 45 … … 51 51 52 52 <?php if ( bp_is_home() ) : ?> 53 53 54 54 <?php do_action( 'bp_before_random_groups_list' ) ?> 55 55 56 56 <h3><?php _e( 'Why not join a few of these groups?', 'buddypress') ?></h3> 57 57 <?php bp_groups_random_selection() ?> 58 58 59 59 <?php do_action( 'bp_after_random_groups_list' ) ?> 60 60 61 61 <?php endif; ?> 62 62 … … 70 70 71 71 <?php endif;?> 72 72 73 73 </div> 74 74
Note: See TracChangeset
for help on using the changeset viewer.