Changeset 5737 for trunk/bp-themes/bp-default/index.php
- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/index.php
r4961 r5737 1 <?php get_header() ?>1 <?php get_header(); ?> 2 2 3 3 <div id="content"> 4 4 <div class="padder"> 5 5 6 <?php do_action( 'bp_before_blog_home' ) ?>6 <?php do_action( 'bp_before_blog_home' ); ?> 7 7 8 <?php do_action( 'template_notices' ) ?>8 <?php do_action( 'template_notices' ); ?> 9 9 10 10 <div class="page" id="blog-latest" role="main"> … … 16 16 <?php while (have_posts()) : the_post(); ?> 17 17 18 <?php do_action( 'bp_before_blog_post' ) ?>18 <?php do_action( 'bp_before_blog_post' ); ?> 19 19 20 20 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> … … 22 22 <div class="author-box"> 23 23 <?php echo get_avatar( get_the_author_meta( 'user_email' ), '50' ); ?> 24 <p><?php printf( _x( 'by %s', 'Post written by...', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p>24 <p><?php printf( _x( 'by %s', 'Post written by...', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ); ?></p> 25 25 26 26 <?php if ( is_sticky() ) : ?> … … 30 30 31 31 <div class="post-content"> 32 <h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' )?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>32 <h2 class="posttitle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ); ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> 33 33 34 34 <p class="date"><?php printf( __( '%1$s <span>in %2$s</span>', 'buddypress' ), get_the_date(), get_the_category_list( ', ' ) ); ?></p> … … 44 44 </div> 45 45 46 <?php do_action( 'bp_after_blog_post' ) ?>46 <?php do_action( 'bp_after_blog_post' ); ?> 47 47 48 48 <?php endwhile; ?> … … 52 52 <?php else : ?> 53 53 54 <h2 class="center"><?php _e( 'Not Found', 'buddypress' ) ?></h2>55 <p class="center"><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'buddypress' ) ?></p>54 <h2 class="center"><?php _e( 'Not Found', 'buddypress' ); ?></h2> 55 <p class="center"><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'buddypress' ); ?></p> 56 56 57 <?php get_search_form() ?>57 <?php get_search_form(); ?> 58 58 59 59 <?php endif; ?> 60 60 </div> 61 61 62 <?php do_action( 'bp_after_blog_home' ) ?>62 <?php do_action( 'bp_after_blog_home' ); ?> 63 63 64 64 </div><!-- .padder --> 65 65 </div><!-- #content --> 66 66 67 <?php get_sidebar() ?>67 <?php get_sidebar(); ?> 68 68 69 <?php get_footer() ?>69 <?php get_footer(); ?>
Note: See TracChangeset
for help on using the changeset viewer.