Changeset 5737 for trunk/bp-themes/bp-default/search.php
- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/search.php
r4528 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_search' ) ?>6 <?php do_action( 'bp_before_blog_search' ); ?> 7 7 8 8 <div class="page" id="blog-search" role="main"> 9 9 10 <h2 class="pagetitle"><?php _e( 'Site', 'buddypress' ) ?></h2>10 <h2 class="pagetitle"><?php _e( 'Site', 'buddypress' ); ?></h2> 11 11 12 12 <?php if (have_posts()) : ?> 13 13 14 <h3 class="pagetitle"><?php _e( 'Search Results', 'buddypress' ) ?></h3>14 <h3 class="pagetitle"><?php _e( 'Search Results', 'buddypress' ); ?></h3> 15 15 16 16 <?php bp_dtheme_content_nav( 'nav-above' ); ?> … … 18 18 <?php while (have_posts()) : the_post(); ?> 19 19 20 <?php do_action( 'bp_before_blog_post' ) ?>20 <?php do_action( 'bp_before_blog_post' ); ?> 21 21 22 22 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> … … 24 24 <div class="author-box"> 25 25 <?php echo get_avatar( get_the_author_meta( 'email' ), '50' ); ?> 26 <p><?php printf( _x( 'by %s', 'Post written by...', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p>26 <p><?php printf( _x( 'by %s', 'Post written by...', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ); ?></p> 27 27 </div> 28 28 29 29 <div class="post-content"> 30 <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>30 <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> 31 31 32 32 <p class="date"><?php printf( __( '%1$s <span>in %2$s</span>', 'buddypress' ), get_the_date(), get_the_category_list( ', ' ) ); ?></p> … … 41 41 </div> 42 42 43 <?php do_action( 'bp_after_blog_post' ) ?>43 <?php do_action( 'bp_after_blog_post' ); ?> 44 44 45 45 <?php endwhile; ?> … … 49 49 <?php else : ?> 50 50 51 <h2 class="center"><?php _e( 'No posts found. Try a different search?', 'buddypress' ) ?></h2>52 <?php get_search_form() ?>51 <h2 class="center"><?php _e( 'No posts found. Try a different search?', 'buddypress' ); ?></h2> 52 <?php get_search_form(); ?> 53 53 54 54 <?php endif; ?> … … 56 56 </div> 57 57 58 <?php do_action( 'bp_after_blog_search' ) ?>58 <?php do_action( 'bp_after_blog_search' ); ?> 59 59 60 60 </div><!-- .padder --> 61 61 </div><!-- #content --> 62 62 63 <?php get_sidebar() ?>63 <?php get_sidebar(); ?> 64 64 65 <?php get_footer() ?>65 <?php get_footer(); ?>
Note: See TracChangeset
for help on using the changeset viewer.