Make WordPress Core


Ignore:
Timestamp:
02/14/2010 01:00:22 AM (15 years ago)
Author:
dd32
Message:

Formatting, Translations & Whitespace. Props ptahdunbar. See #9015

File:
1 edited

Legend:

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

    r13111 r13128  
    77
    88                <div id="nav-above" class="navigation">
    9                     <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ) ?></div>
    10                     <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ) ?></div>
     9                    <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ); ?></div>
     10                    <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ); ?></div>
    1111                </div><!-- #nav-above -->
    1212
     
    1515
    1616                    <div class="entry-meta">
    17                         <span class="meta-prep meta-prep-author"><?php _e('Posted by ', 'twentyten'); ?></span>
    18                         <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
    19                         <span class="meta-sep"> <?php _e('on ', 'twentyten'); ?> </span>
    20                         <a href="<?php
    21 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
    22                         <?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" ) ?>
     17                        <span class="meta-prep meta-prep-author"><?php _e( 'Posted by ', 'twentyten' ); ?></span>
     18                        <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
     19                        <span class="meta-sep"><?php _e( ' on ', 'twentyten' ); ?> </span>
     20                        <a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
     21                        <?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" ); ?>
    2322                    </div><!-- .entry-meta -->
    2423
    2524                    <div class="entry-content">
    26 <?php the_content(); ?>
    27 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>
     25                        <?php the_content(); ?>
     26                        <?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ); ?>
    2827                    </div><!-- .entry-content -->
    2928
     
    3130                    <div id="entry-author-info">
    3231                        <div id="author-avatar">
    33 <?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?>
     32                            <?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?>
    3433                        </div><!-- #author-avatar   -->
    3534                        <div id="author-description">
    36                             <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2>
    37 <?php the_author_meta('description'); ?>
     35                            <h2><?php _e( 'About ', 'twentyten' ); ?><?php the_author(); ?></h2>
     36                            <?php the_author_meta('description'); ?>
    3837                            <div id="author-link">
    39                                 <a href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php _e('View all posts by ', 'twentyten'); ?><?php the_author(); ?> &rarr;</a>
     38                                <a href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php _e( 'View all posts by ', 'twentyten' ); ?><?php the_author(); ?> &rarr;</a>
    4039                            </div><!-- #author-link -->
    4140                        </div><!-- #author-description  -->
     
    4948                        get_permalink(),
    5049                        the_title_attribute('echo=0'),
    51                         get_post_comments_feed_link() ) ?>
     50                        get_post_comments_feed_link() ); ?>
    5251
    53 <?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
     52<?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ); ?>
    5453                    </div><!-- .entry-utility -->
    5554                </div><!-- #post-<?php the_ID(); ?> -->
    5655
    5756                <div id="nav-below" class="navigation">
    58                     <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ) ?></div>
    59                     <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ) ?></div>
     57                    <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ); ?></div>
     58                    <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ); ?></div>
    6059                </div><!-- #nav-below -->
    6160
    62 <?php comments_template('', true); ?>
     61                <?php comments_template( '', true ); ?>
    6362
    6463            </div><!-- #content -->
Note: See TracChangeset for help on using the changeset viewer.