Changeset 3810 for trunk/bp-themes/bp-default/groups/groups-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/groups/groups-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_groups_loop' ) ?> 3 /** 4 * BuddyPress - Groups 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_groups_loop' ); ?> 4 15 5 16 <?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?> … … 8 19 9 20 <div class="pag-count" id="group-dir-count-top"> 10 <?php bp_groups_pagination_count() ?> 21 22 <?php bp_groups_pagination_count(); ?> 23 11 24 </div> 12 25 13 26 <div class="pagination-links" id="group-dir-pag-top"> 14 <?php bp_groups_pagination_links() ?> 27 28 <?php bp_groups_pagination_links(); ?> 29 15 30 </div> 16 31 17 32 </div> 18 33 19 <?php do_action( 'bp_before_directory_groups_list' ) ?>34 <?php do_action( 'bp_before_directory_groups_list' ); ?> 20 35 21 36 <ul id="groups-list" class="item-list" role="main"> 37 22 38 <?php while ( bp_groups() ) : bp_the_group(); ?> 23 39 24 40 <li> 25 41 <div class="item-avatar"> 26 <a href="<?php bp_group_permalink() ?>"><?php bp_group_avatar( 'type=thumb&width=50&height=50' )?></a>42 <a href="<?php bp_group_permalink(); ?>"><?php bp_group_avatar( 'type=thumb&width=50&height=50' ); ?></a> 27 43 </div> 28 44 29 45 <div class="item"> 30 <div class="item-title"><a href="<?php bp_group_permalink() ?>"><?php bp_group_name()?></a></div>31 <div class="item-meta"><span class="activity"><?php printf( __( 'active %s ago', 'buddypress' ), bp_get_group_last_active() ) ?></span></div>46 <div class="item-title"><a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a></div> 47 <div class="item-meta"><span class="activity"><?php printf( __( 'active %s ago', 'buddypress' ), bp_get_group_last_active() ); ?></span></div> 32 48 33 <div class="item-desc"><?php bp_group_description_excerpt() ?></div>49 <div class="item-desc"><?php bp_group_description_excerpt(); ?></div> 34 50 35 <?php do_action( 'bp_directory_groups_item' ) ?>51 <?php do_action( 'bp_directory_groups_item' ); ?> 36 52 37 53 </div> … … 39 55 <div class="action"> 40 56 41 <?php do_action( 'bp_directory_groups_actions' ) ?>57 <?php do_action( 'bp_directory_groups_actions' ); ?> 42 58 43 59 <div class="meta"> 44 60 45 <?php bp_group_type() ?> / <?php bp_group_member_count()?>61 <?php bp_group_type(); ?> / <?php bp_group_member_count(); ?> 46 62 47 63 </div> … … 53 69 54 70 <?php endwhile; ?> 71 55 72 </ul> 56 73 57 <?php do_action( 'bp_after_directory_groups_list' ) ?>74 <?php do_action( 'bp_after_directory_groups_list' ); ?> 58 75 59 76 <div id="pag-bottom" class="pagination"> 60 77 61 78 <div class="pag-count" id="group-dir-count-bottom"> 62 <?php bp_groups_pagination_count() ?> 79 80 <?php bp_groups_pagination_count(); ?> 81 63 82 </div> 64 83 65 84 <div class="pagination-links" id="group-dir-pag-bottom"> 66 <?php bp_groups_pagination_links() ?> 85 86 <?php bp_groups_pagination_links(); ?> 87 67 88 </div> 68 89 … … 72 93 73 94 <div id="message" class="info"> 74 <p><?php _e( 'There were no groups found.', 'buddypress' ) ?></p>95 <p><?php _e( 'There were no groups found.', 'buddypress' ); ?></p> 75 96 </div> 76 97 77 98 <?php endif; ?> 78 99 79 <?php do_action( 'bp_after_groups_loop' ) ?>100 <?php do_action( 'bp_after_groups_loop' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.