Make WordPress Core


Ignore:
Timestamp:
11/19/2006 07:56:05 AM (17 years ago)
Author:
ryan
Message:

Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r4491 r4495  
    1313
    1414if ($drafts || $other_drafts) {
    15 ?> 
     15?>
    1616<div class="wrap">
    1717<?php if ($drafts) { ?>
    18     <p><strong><?php _e('Your Drafts:') ?></strong>
    19     <?php
     18    <p><strong><?php _e('Your Drafts:') ?></strong>
     19    <?php
    2020    $i = 0;
    2121    foreach ($drafts as $draft) {
     
    2828        ++$i;
    2929        }
    30     ?> 
    31     .</p>
    32 <?php } ?>
    33 
    34 <?php if ($other_drafts) { ?> 
    35     <p><strong><?php _e('Other&#8217;s Drafts:') ?></strong>
    36     <?php
     30    ?>
     31    .</p>
     32<?php } ?>
     33
     34<?php if ($other_drafts) { ?>
     35    <p><strong><?php _e('Other&#8217;s Drafts:') ?></strong>
     36    <?php
    3737    $i = 0;
    3838    foreach ($other_drafts as $draft) {
     
    4545        ++$i;
    4646        }
    47     ?> 
    48     .</p>
     47    ?>
     48    .</p>
    4949
    5050<?php } ?>
     
    8989    <fieldset>
    9090    <legend><?php _e('Browse Month&hellip;') ?></legend>
    91     <select name='m'>
     91    <select name='m'>
    9292    <?php
    9393        foreach ($arc_result as $arc_row) {
     
    128128// define the columns to display, the syntax is 'internal name' => 'display name'
    129129$posts_columns = array(
    130   'id'         => __('ID'),
    131   'date'       => __('When'),
    132   'title'      => __('Title'),
    133   'categories' => __('Categories'),
    134   'comments'   => __('Comments'),
    135   'author'     => __('Author')
     130    'id'         => __('ID'),
     131    'date'       => __('When'),
     132    'title'      => __('Title'),
     133    'categories' => __('Categories'),
     134    'comments'   => __('Comments'),
     135    'author'     => __('Author')
    136136);
    137137$posts_columns = apply_filters('manage_posts_columns', $posts_columns);
     
    144144?>
    145145
    146 <table class="widefat"> 
     146<table class="widefat">
    147147    <thead>
    148148    <tr>
     
    161161add_filter('the_title','wp_specialchars');
    162162$class = ('alternate' == $class) ? '' : 'alternate';
    163 ?> 
     163?>
    164164    <tr id='post-<?php echo $id; ?>' class='<?php echo $class; ?>'>
    165165
     
    196196    case 'comments':
    197197        ?>
    198         <td style="text-align: center"><a href="edit.php?p=<?php echo $id ?>&amp;c=1"> 
    199       <?php comments_number(__('0'), __('1'), __('%')) ?>
    200       </a></td>
     198        <td style="text-align: center"><a href="edit.php?p=<?php echo $id ?>&amp;c=1">
     199            <?php comments_number(__('0'), __('1'), __('%')) ?>
     200            </a></td>
    201201        <?php
    202202        break;
     
    260260    $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved != 'spam' ORDER BY comment_date");
    261261    if ($comments) {
    262     ?> 
    263 <h3 id="comments"><?php _e('Comments') ?></h3> 
    264 <ol id="the-comment-list" class="commentlist"> 
     262    ?>
     263<h3 id="comments"><?php _e('Comments') ?></h3>
     264<ol id="the-comment-list" class="commentlist">
    265265<?php
    266266$i = 0;
     
    270270        $authordata = get_userdata($wpdb->get_var("SELECT post_author FROM $wpdb->posts WHERE ID = $comment->comment_post_ID"));
    271271            $comment_status = wp_get_comment_status($comment->comment_ID);
    272             if ('unapproved' == $comment_status) 
     272            if ('unapproved' == $comment_status)
    273273                $class .= ' unapproved';
    274274            if ($i % 2)
     
    300300    }//end if comments
    301301    ?>
    302 <?php } ?> 
    303 </div> 
    304 <?php 
     302<?php } ?>
     303</div>
     304<?php
    305305 include('admin-footer.php');
    306 ?> 
     306?>
Note: See TracChangeset for help on using the changeset viewer.