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/attachment.php

    r13012 r13025  
    11<?php get_header(); ?>
    22
    3         <div id="container">   
     3        <div id="container">
    44            <div id="content">
    55
     
    77
    88                <p class="page-title"><a href="<?php echo get_permalink($post->post_parent) ?>" title="<?php printf( __( 'Return to %s', 'twentyten' ), wp_specialchars( get_the_title($post->post_parent), 1 ) ) ?>" rel="gallery">&larr; <?php echo get_the_title($post->post_parent) ?></a></p>
    9                
     9
    1010                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1111                    <h2 class="entry-title"><?php the_title(); ?></h2>
    12                    
     12
    1313                    <div class="entry-meta">
    1414                        <span class="meta-prep meta-prep-author"><?php _e('By ', 'twentyten'); ?></span>
     
    1717                        <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'twentyten'); ?></span>
    1818                        <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr></span>
    19                         <?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" ) ?>                       
     19                        <?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" ) ?>
    2020                    </div><!-- .entry-meta -->
    21                    
     21
    2222                    <div class="entry-content">
    23                         <div class="entry-attachment">                 
     23                        <div class="entry-attachment">
    2424<?php if ( wp_attachment_is_image( $post->id ) ) : $att_image = wp_get_attachment_image_src( $post->id, array(640,640)); ?>
    2525                        <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->id); ?>" title="<?php the_title(); ?>" rel="attachment"><img src="<?php echo $att_image[0];?>" width="<?php echo $att_image[1];?>" height="<?php echo $att_image[2];?>"  class="attachment-medium" alt="<?php $post->post_excerpt; ?>" /></a>
    2626                        </p>
    27                        
     27
    2828
    2929                <div id="nav-below" class="navigation">
    3030                    <div class="nav-previous"><?php previous_image_link( false ); ?></div>
    3131                    <div class="nav-next"><?php next_image_link( false ); ?></div>
    32                 </div><!-- #nav-below -->                       
    33 <?php else : ?>     
    34                         <a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo wp_specialchars( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo basename($post->guid) ?></a>     
    35 <?php endif; ?>     
    36                         </div>             
     32                </div><!-- #nav-below -->
     33<?php else : ?>
     34                        <a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo wp_specialchars( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo basename($post->guid) ?></a>
     35<?php endif; ?>
     36                        </div>
    3737                        <div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt() ?></div>
    3838
     
    4141
    4242                    </div><!-- .entry-content -->
    43                
     43
    4444                    <div class="entry-utility">
    4545                    <?php printf( __( 'This entry was posted in %1$s%2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'twentyten' ),
     
    6868        </div><!-- #container -->
    6969
    70 <?php get_sidebar(); ?> 
     70<?php get_sidebar(); ?>
    7171<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.