Make WordPress Core


Ignore:
Timestamp:
02/08/2010 06:02:23 PM (12 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/search.php

    r13012 r13025  
    11<?php get_header(); ?>
    2    
    3         <div id="container">   
     2
     3        <div id="container">
    44            <div id="content">
    5            
     5
    66<?php if ( have_posts() ) : ?>
    7                
     7
    88                <h1 class="page-title"><?php _e( 'Search Results for: ', 'twentyten' ); ?><span><?php the_search_query(); ?></span></h1>
    9                
     9
    1010<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    1111                <div id="nav-above" class="navigation">
     
    1313                    <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    1414                </div><!-- #nav-above -->
    15 <?php } ?>                         
     15<?php } ?>
    1616
    1717<?php while ( have_posts() ) : the_post() ?>
     
    2020                    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( __('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    2121
    22 <?php if ( $post->post_type == 'post' ) { ?>                                   
     22<?php if ( $post->post_type == 'post' ) { ?>
    2323                    <div class="entry-meta">
    2424                        <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span>
     
    2626        the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a>
    2727                        <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span>
    28                         <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>                 
     28                        <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
    2929                    </div><!-- .entry-meta -->
    3030<?php } ?>
    31                    
    32                     <div class="entry-summary"> 
     31
     32                    <div class="entry-summary">
    3333<?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    3434<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>
    3535                    </div><!-- .entry-summary -->
    3636
    37 <?php if ( $post->post_type == 'post' ) { ?>                                   
     37<?php if ( $post->post_type == 'post' ) { ?>
    3838                    <div class="entry-utility">
    3939                        <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list(', '); ?></span>
     
    4242                        <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
    4343                        <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
    44                     </div><!-- #entry-utility -->   
    45 <?php } ?>                 
     44                    </div><!-- #entry-utility -->
     45<?php } ?>
    4646                </div><!-- #post-<?php the_ID(); ?> -->
    4747
     
    5353                    <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    5454                </div><!-- #nav-below -->
    55 <?php } ?>         
     55<?php } ?>
    5656
    5757<?php else : ?>
     
    6161                    <div class="entry-content">
    6262                        <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten' ); ?></p>
    63     <?php get_search_form(); ?>                     
     63    <?php get_search_form(); ?>
    6464                    </div><!-- .entry-content -->
    6565                </div>
    6666
    67 <?php endif; ?>         
     67<?php endif; ?>
    6868
    69             </div><!-- #content -->     
     69            </div><!-- #content -->
    7070        </div><!-- #container -->
    71        
    72 <?php get_sidebar(); ?> 
     71
     72<?php get_sidebar(); ?>
    7373<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.