Changeset 3810 for trunk/bp-themes/bp-default/blogs/blogs-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/blogs/blogs-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_blogs_loop' ) ?> 3 /** 4 * BuddyPress - Blogs 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_blogs_loop' ); ?> 4 15 5 16 <?php if ( bp_has_blogs( bp_ajax_querystring( 'blogs' ) ) ) : ?> … … 8 19 9 20 <div class="pag-count" id="blog-dir-count-top"> 10 <?php bp_blogs_pagination_count() ?>21 <?php bp_blogs_pagination_count(); ?> 11 22 </div> 12 23 13 24 <div class="pagination-links" id="blog-dir-pag-top"> 14 <?php bp_blogs_pagination_links() ?>25 <?php bp_blogs_pagination_links(); ?> 15 26 </div> 16 27 17 28 </div> 18 29 19 <?php do_action( 'bp_before_directory_blogs_list' ) ?>30 <?php do_action( 'bp_before_directory_blogs_list' ); ?> 20 31 21 32 <ul id="blogs-list" class="item-list" role="main"> 33 22 34 <?php while ( bp_blogs() ) : bp_the_blog(); ?> 23 35 24 36 <li> 25 37 <div class="item-avatar"> 26 <a href="<?php bp_blog_permalink() ?>"><?php bp_blog_avatar('type=thumb')?></a>38 <a href="<?php bp_blog_permalink(); ?>"><?php bp_blog_avatar( 'type=thumb' ); ?></a> 27 39 </div> 28 40 29 41 <div class="item"> 30 <div class="item-title"><a href="<?php bp_blog_permalink() ?>"><?php bp_blog_name()?></a></div>31 <div class="item-meta"><span class="activity"><?php bp_blog_last_active() ?></span></div>42 <div class="item-title"><a href="<?php bp_blog_permalink(); ?>"><?php bp_blog_name(); ?></a></div> 43 <div class="item-meta"><span class="activity"><?php bp_blog_last_active(); ?></span></div> 32 44 33 <?php do_action( 'bp_directory_blogs_item' ) ?>45 <?php do_action( 'bp_directory_blogs_item' ); ?> 34 46 </div> 35 47 36 48 <div class="action"> 37 49 38 <?php do_action( 'bp_directory_blogs_actions' ) ?>50 <?php do_action( 'bp_directory_blogs_actions' ); ?> 39 51 40 52 <div class="meta"> 41 <?php bp_blog_latest_post() ?> 53 54 <?php bp_blog_latest_post(); ?> 55 42 56 </div> 43 57 … … 48 62 49 63 <?php endwhile; ?> 64 50 65 </ul> 51 66 52 <?php do_action( 'bp_after_directory_blogs_list' ) ?>67 <?php do_action( 'bp_after_directory_blogs_list' ); ?> 53 68 54 <?php bp_blog_hidden_fields() ?>69 <?php bp_blog_hidden_fields(); ?> 55 70 56 71 <div id="pag-bottom" class="pagination"> 57 72 58 73 <div class="pag-count" id="blog-dir-count-bottom"> 59 <?php bp_blogs_pagination_count() ?> 74 75 <?php bp_blogs_pagination_count(); ?> 76 60 77 </div> 61 78 62 79 <div class="pagination-links" id="blog-dir-pag-bottom"> 63 <?php bp_blogs_pagination_links() ?> 80 81 <?php bp_blogs_pagination_links(); ?> 82 64 83 </div> 65 84 … … 69 88 70 89 <div id="message" class="info"> 71 <p><?php _e( 'Sorry, there were no blogs found.', 'buddypress' ) ?></p>90 <p><?php _e( 'Sorry, there were no blogs found.', 'buddypress' ); ?></p> 72 91 </div> 73 92 74 93 <?php endif; ?> 75 94 76 <?php do_action( 'bp_after_blogs_loop' ) ?>95 <?php do_action( 'bp_after_blogs_loop' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.