Changeset 3810 for trunk/bp-themes/bp-default/activity/activity-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/activity/activity-loop.php
r3771 r3810 1 <?php /* Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_activity_loop() */ ?>1 <?php 2 2 3 <?php do_action( 'bp_before_activity_loop' ) ?> 3 /** 4 * BuddyPress - Activity 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_activity_loop' ); ?> 4 15 5 16 <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?> … … 8 19 <noscript> 9 20 <div class="pagination"> 10 <div class="pag-count"><?php bp_activity_pagination_count() ?></div>11 <div class="pagination-links"><?php bp_activity_pagination_links() ?></div>21 <div class="pag-count"><?php bp_activity_pagination_count(); ?></div> 22 <div class="pagination-links"><?php bp_activity_pagination_links(); ?></div> 12 23 </div> 13 24 </noscript> 14 25 15 26 <?php if ( empty( $_POST['page'] ) ) : ?> 27 16 28 <ul id="activity-stream" class="activity-list item-list"> 29 17 30 <?php endif; ?> 18 31 19 32 <?php while ( bp_activities() ) : bp_the_activity(); ?> 20 33 21 <?php include( locate_template( array( 'activity/entry.php' ), false ) ) ?>34 <?php include( locate_template( array( 'activity/entry.php' ), false ) ); ?> 22 35 23 36 <?php endwhile; ?> 24 37 25 38 <?php if ( bp_activity_has_more_items() ) : ?> 39 26 40 <li class="load-more"> 27 <a href="#more"><?php _e( 'Load More', 'buddypress' ) ?></a> <span class="ajax-loader"></span>41 <a href="#more"><?php _e( 'Load More', 'buddypress' ); ?></a> <span class="ajax-loader"></span> 28 42 </li> 43 29 44 <?php endif; ?> 30 45 31 46 <?php if ( empty( $_POST['page'] ) ) : ?> 47 32 48 </ul> 49 33 50 <?php endif; ?> 34 51 35 52 <?php else : ?> 53 36 54 <div id="message" class="info"> 37 <p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ) ?></p>55 <p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p> 38 56 </div> 57 39 58 <?php endif; ?> 40 59 41 <?php do_action( 'bp_after_activity_loop' ) ?>60 <?php do_action( 'bp_after_activity_loop' ); ?> 42 61 43 62 <form action="" name="activity-loop-form" id="activity-loop-form" method="post"> 44 <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ) ?> 63 64 <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?> 65 45 66 </form>
Note: See TracChangeset
for help on using the changeset viewer.