Make WordPress Core


Ignore:
Timestamp:
10/30/2008 12:24:11 PM (17 years ago)
Author:
azaozz
Message:

Better comments listing, props Matt

File:
1 edited

Legend:

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

    r9363 r9413  
    243243
    244244<?php if ( $comments ) { ?>
    245 <table class="widefat">
    246 <thead>
    247     <tr>
    248 <?php print_column_headers('comment'); ?>
    249     </tr>
    250 </thead>
    251 
    252 <tfoot>
    253     <tr>
    254 <?php print_column_headers('comment', false); ?>
    255     </tr>
    256 </tfoot>
    257 
    258 <tbody id="the-comment-list" class="list:comment">
     245
     246<ol id="the-comment-list" class="list:comment">
    259247<?php
    260248    foreach ($comments as $comment)
    261249        _wp_comment_row( $comment->comment_ID, $mode, $comment_status );
    262250?>
    263 </tbody>
    264 <tbody id="the-extra-comment-list" class="list:comment" style="display: none;">
     251</ol>
     252<ol id="the-extra-comment-list" class="list:comment" style="display: none;">
    265253<?php
    266254    foreach ($extra_comments as $comment)
    267255        _wp_comment_row( $comment->comment_ID, $mode, $comment_status );
    268256?>
    269 </tbody>
    270 </table>
     257</ol>
    271258
    272259<div class="tablenav">
     
    331318
    332319<?php
    333 wp_comment_reply('-1', true, 'detail');
     320wp_comment_reply('-1', true, 'detail', false);
    334321include('admin-footer.php'); ?>
Note: See TracChangeset for help on using the changeset viewer.