Make WordPress Core


Ignore:
Timestamp:
02/12/2006 07:53:23 AM (19 years ago)
Author:
ryan
Message:

Death to trailing tabs. Props Mark J. fixes #2405

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/attachment.php

    r3328 r3517  
    22
    33    <div id="content" class="widecolumn">
    4                
     4
    55  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    6    
     6
    77        <div class="navigation">
    88            <div class="alignleft">&nbsp;</div>
     
    1717
    1818                <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    19    
     19
    2020                <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    21    
     21
    2222                <p class="postmetadata alt">
    2323                    <small>
     
    3030                        and is filed under <?php the_category(', ') ?>.
    3131                        You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
    32                        
     32
    3333                        <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    3434                            // Both Comments and Pings are open ?>
    3535                            You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
    36                        
     36
    3737                        <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    3838                            // Only Pings are Open ?>
    3939                            Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
    40                        
     40
    4141                        <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    4242                            // Comments are open, Pings are not ?>
    4343                            You can skip to the end and leave a response. Pinging is currently not allowed.
    44            
     44
    4545                        <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    4646                            // Neither Comments, nor Pings are open ?>
    47                             Both comments and pings are currently closed.           
    48                        
     47                            Both comments and pings are currently closed.
     48
    4949                        <?php } edit_post_link('Edit this entry.','',''); ?>
    50                        
     50
    5151                    </small>
    5252                </p>
    53    
     53
    5454            </div>
    5555        </div>
    56        
     56
    5757    <?php comments_template(); ?>
    58    
     58
    5959    <?php endwhile; else: ?>
    60    
     60
    6161        <p>Sorry, no attachments matched your criteria.</p>
    62    
     62
    6363<?php endif; ?>
    64    
     64
    6565    </div>
    6666
Note: See TracChangeset for help on using the changeset viewer.