WordPress.org

Make WordPress Core

Ticket #6237: tabs2.r7315.diff

File tabs2.r7315.diff, 6.0 KB (added by hansengel, 10 years ago)
  • wp-admin/includes/template.php

     
    627627?>
    628628  <tr id="comment-<?php echo $comment->comment_ID; ?>" class='<?php echo $class; ?>'>
    629629<?php if ( $checkbox ) : ?>
    630     <td class="check-column"><?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?><input type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" /><?php } ?></td>
     630        <td class="check-column"><?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?><input type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" /><?php } ?></td>
    631631<?php endif; ?>
    632     <td class="comment">
    633     <p class="comment-author"><strong><a class="row-title" href="comment.php?action=editcomment&amp;c=<?php echo $comment->comment_ID?>"><?php comment_author(); ?></a></strong><br />
    634     <?php if ( !empty($author_url) ) : ?>
    635     <a href="<?php echo $author_url ?>"><?php echo $author_url_display; ?></a> |
    636     <?php endif; ?>
    637     <?php if ( !empty($comment->comment_author_email) ): ?>
    638     <?php comment_author_email_link() ?> |
    639     <?php endif; ?>
    640     <a href="edit-comments.php?s=<?php comment_author_IP() ?>&amp;mode=detail"><?php comment_author_IP() ?></a>
    641     </p>
     632        <td class="comment">
     633        <p class="comment-author"><strong><a class="row-title" href="comment.php?action=editcomment&amp;c=<?php echo $comment->comment_ID?>"><?php comment_author(); ?></a></strong><br />
     634        <?php if ( !empty($author_url) ) : ?>
     635        <a href="<?php echo $author_url ?>"><?php echo $author_url_display; ?></a> |
     636        <?php endif; ?>
     637        <?php if ( !empty($comment->comment_author_email) ): ?>
     638        <?php comment_author_email_link() ?> |
     639        <?php endif; ?>
     640        <a href="edit-comments.php?s=<?php comment_author_IP() ?>&amp;mode=detail"><?php comment_author_IP() ?></a>
     641        </p>
    642642        <?php if ( 'detail' == $mode ) comment_text(); ?>
    643643        <p><?php printf(__('From %1$s, %2$s'), $post_link, $ptime) ?></p>
    644     </td>
    645     <td><?php comment_date(__('Y/m/d')); ?></td>
    646     <td>
     644        </td>
     645        <td><?php comment_date(__('Y/m/d')); ?></td>
     646        <td>
    647647<?php
    648648
    649649        $actions = array();
  • wp-admin/includes/post.php

     
    136136                $text       = wp_specialchars( stripslashes( urldecode( $_REQUEST['text'] ) ) );
    137137                $text       = funky_javascript_fix( $text);
    138138                $popupurl   = clean_url($_REQUEST['popupurl']);
    139         $post_content = '<a href="'.$popupurl.'">'.$post_title.'</a>'."\n$text";
    140     }
     139                $post_content = '<a href="'.$popupurl.'">'.$post_title.'</a>'."\n$text";
     140        }
    141141
    142142        if ( !empty( $_REQUEST['excerpt'] ) )
    143143                $post_excerpt = wp_specialchars( stripslashes( $_REQUEST['excerpt'] ));
  • wp-admin/edit-tags.php

     
    158158        <thead>
    159159        <tr>
    160160        <th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></th>
    161         <th scope="col"><?php _e('Name') ?></th>
    162         <th scope="col" class="num" style="width: 90px"><?php _e('Posts') ?></th>
     161                <th scope="col"><?php _e('Name') ?></th>
     162                <th scope="col" class="num" style="width: 90px"><?php _e('Posts') ?></th>
    163163        </tr>
    164164        </thead>
    165165        <tbody id="the-list" class="list:tag">
  • wp-admin/edit-attachment-rows.php

     
    135135endwhile;
    136136} else {
    137137?>
    138   <tr style='background-color: <?php echo $bgcolor; ?>'>
    139     <td colspan="8"><?php _e('No posts found.') ?></td>
    140   </tr>
     138        <tr style='background-color: <?php echo $bgcolor; ?>'>
     139                <td colspan="8"><?php _e('No posts found.') ?></td>
     140        </tr>
    141141<?php
    142142} // end if ( have_posts() )
    143143?>
  • wp-admin/edit-tag-form.php

     
    2727                <tr class="form-field form-required">
    2828                        <th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
    2929                        <td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" />
    30             <p><?php _e('The name is how the tag appears on your site.'); ?></p></td>
     30                        <p><?php _e('The name is how the tag appears on your site.'); ?></p></td>
    3131                </tr>
    3232                <tr class="form-field">
    3333                        <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>
    3434                        <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape($tag->slug); ?>" size="40" />
    35             <p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td>
     35                        <p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td>
    3636                </tr>
    3737        </table>
    3838<p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p>
  • wp-admin/edit-pages.php

     
    187187
    188188<table class="widefat" style="margin-top: .5em">
    189189<thead>
    190   <tr>
    191     <th scope="col"><?php _e('Comment') ?></th>
    192     <th scope="col"><?php _e('Date') ?></th>
    193     <th scope="col"><?php _e('Actions') ?></th>
    194   </tr>
     190        <tr>
     191                <th scope="col"><?php _e('Comment') ?></th>
     192                <th scope="col"><?php _e('Date') ?></th>
     193                <th scope="col"><?php _e('Actions') ?></th>
     194        </tr>
    195195</thead>
    196196<tbody id="the-comment-list" class="list:comment">
    197197<?php