mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Better comments listing, props Matt
git-svn-id: https://develop.svn.wordpress.org/trunk@9413 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -242,32 +242,19 @@ if ( 'spam' == $comment_status ) {
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php if ( $comments ) { ?>
|
||||
<table class="widefat">
|
||||
<thead>
|
||||
<tr>
|
||||
<?php print_column_headers('comment'); ?>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<?php print_column_headers('comment', false); ?>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<tbody id="the-comment-list" class="list:comment">
|
||||
<ol id="the-comment-list" class="list:comment">
|
||||
<?php
|
||||
foreach ($comments as $comment)
|
||||
_wp_comment_row( $comment->comment_ID, $mode, $comment_status );
|
||||
?>
|
||||
</tbody>
|
||||
<tbody id="the-extra-comment-list" class="list:comment" style="display: none;">
|
||||
</ol>
|
||||
<ol id="the-extra-comment-list" class="list:comment" style="display: none;">
|
||||
<?php
|
||||
foreach ($extra_comments as $comment)
|
||||
_wp_comment_row( $comment->comment_ID, $mode, $comment_status );
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</ol>
|
||||
|
||||
<div class="tablenav">
|
||||
<?php
|
||||
@@ -330,5 +317,5 @@ if ( $page_links )
|
||||
</div>
|
||||
|
||||
<?php
|
||||
wp_comment_reply('-1', true, 'detail');
|
||||
wp_comment_reply('-1', true, 'detail', false);
|
||||
include('admin-footer.php'); ?>
|
||||
|
||||
Reference in New Issue
Block a user