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:
Andrew Ozz
2008-10-30 12:24:11 +00:00
parent b4b4a628ca
commit 13e64e6a9c
10 changed files with 117 additions and 199 deletions
+4 -11
View File
@@ -368,17 +368,10 @@ function post_comment_status_meta_box($post) {
wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
?>
<table class="widefat comments-box" style="display:none;">
<thead>
<tr>
<th scope="col"><?php _e('Comments') ?></th>
<th scope="col"><?php _e('Author') ?></th>
<th scope="col"><?php _e('Submitted') ?></th>
</tr>
</thead>
<tbody id="the-comment-list" class="list:comment">
</tbody>
</table>
<div class="comments-box" style="display:none;">
<ol id="the-comment-list" class="list:comment">
</ol>
</div>
<p class="hide-if-no-js"><a href="#commentstatusdiv" id="show-comments" onclick="commentsBox.get(<?php echo $total; ?>);return false;"><?php _e('Show comments'); ?></a> <img class="waiting" style="display:none;" src="images/loading.gif" alt="" /></p>
<?php
$hidden = (array) get_user_option( "meta-box-hidden_post" );