Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2012 08:09:34 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Add ending semicolons to bp-default where omitted. Fixes #4002.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/search.php

    r4528 r5737  
    1 <?php get_header() ?>
     1<?php get_header(); ?>
    22
    33        <div id="content">
    44                <div class="padder">
    55
    6                 <?php do_action( 'bp_before_blog_search' ) ?>
     6                <?php do_action( 'bp_before_blog_search' ); ?>
    77
    88                <div class="page" id="blog-search" role="main">
    99
    10                         <h2 class="pagetitle"><?php _e( 'Site', 'buddypress' ) ?></h2>
     10                        <h2 class="pagetitle"><?php _e( 'Site', 'buddypress' ); ?></h2>
    1111
    1212                        <?php if (have_posts()) : ?>
    1313
    14                                 <h3 class="pagetitle"><?php _e( 'Search Results', 'buddypress' ) ?></h3>
     14                                <h3 class="pagetitle"><?php _e( 'Search Results', 'buddypress' ); ?></h3>
    1515
    1616                                <?php bp_dtheme_content_nav( 'nav-above' ); ?>
     
    1818                                <?php while (have_posts()) : the_post(); ?>
    1919
    20                                         <?php do_action( 'bp_before_blog_post' ) ?>
     20                                        <?php do_action( 'bp_before_blog_post' ); ?>
    2121
    2222                                        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     
    2424                                                <div class="author-box">
    2525                                                        <?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>
    2727                                                </div>
    2828
    2929                                                <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>
    3131
    3232                                                        <p class="date"><?php printf( __( '%1$s <span>in %2$s</span>', 'buddypress' ), get_the_date(), get_the_category_list( ', ' ) ); ?></p>
     
    4141                                        </div>
    4242
    43                                         <?php do_action( 'bp_after_blog_post' ) ?>
     43                                        <?php do_action( 'bp_after_blog_post' ); ?>
    4444
    4545                                <?php endwhile; ?>
     
    4949                        <?php else : ?>
    5050
    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(); ?>
    5353
    5454                        <?php endif; ?>
     
    5656                </div>
    5757
    58                 <?php do_action( 'bp_after_blog_search' ) ?>
     58                <?php do_action( 'bp_after_blog_search' ); ?>
    5959
    6060                </div><!-- .padder -->
    6161        </div><!-- #content -->
    6262
    63         <?php get_sidebar() ?>
     63        <?php get_sidebar(); ?>
    6464
    65 <?php get_footer() ?>
     65<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.