Better comments listing, props Matt

git-svn-id: http://svn.automattic.com/wordpress/trunk@9413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-10-30 12:24:11 +00:00
parent e6573d012d
commit 016942b825
10 changed files with 117 additions and 199 deletions

View File

@ -29,7 +29,8 @@ div.dashboard-widget,
border-color: #ccc; border-color: #ccc;
} }
.widefat { .widefat,
#replyrow {
border-color: #dfdfdf; border-color: #dfdfdf;
} }

View File

@ -242,32 +242,19 @@ if ( 'spam' == $comment_status ) {
<div class="clear"></div> <div class="clear"></div>
<?php if ( $comments ) { ?> <?php if ( $comments ) { ?>
<table class="widefat">
<thead>
<tr>
<?php print_column_headers('comment'); ?>
</tr>
</thead>
<tfoot> <ol id="the-comment-list" class="list:comment">
<tr>
<?php print_column_headers('comment', false); ?>
</tr>
</tfoot>
<tbody id="the-comment-list" class="list:comment">
<?php <?php
foreach ($comments as $comment) foreach ($comments as $comment)
_wp_comment_row( $comment->comment_ID, $mode, $comment_status ); _wp_comment_row( $comment->comment_ID, $mode, $comment_status );
?> ?>
</tbody> </ol>
<tbody id="the-extra-comment-list" class="list:comment" style="display: none;"> <ol id="the-extra-comment-list" class="list:comment" style="display: none;">
<?php <?php
foreach ($extra_comments as $comment) foreach ($extra_comments as $comment)
_wp_comment_row( $comment->comment_ID, $mode, $comment_status ); _wp_comment_row( $comment->comment_ID, $mode, $comment_status );
?> ?>
</tbody> </ol>
</table>
<div class="tablenav"> <div class="tablenav">
<?php <?php
@ -330,5 +317,5 @@ if ( $page_links )
</div> </div>
<?php <?php
wp_comment_reply('-1', true, 'detail'); wp_comment_reply('-1', true, 'detail', false);
include('admin-footer.php'); ?> include('admin-footer.php'); ?>

View File

@ -368,17 +368,10 @@ function post_comment_status_meta_box($post) {
wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
?> ?>
<table class="widefat comments-box" style="display:none;"> <div class="comments-box" style="display:none;">
<thead> <ol id="the-comment-list" class="list:comment">
<tr> </ol>
<th scope="col"><?php _e('Comments') ?></th> </div>
<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>
<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> <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 <?php
$hidden = (array) get_user_option( "meta-box-hidden_post" ); $hidden = (array) get_user_option( "meta-box-hidden_post" );

View File

@ -277,21 +277,12 @@ if ( 1 == count($posts) && is_singular() ) :
<br class="clear" /> <br class="clear" />
<table class="widefat" style="margin-top: .5em"> <ol id="the-comment-list" class="list:comment">
<thead>
<tr>
<th scope="col"><?php _e('Comment') ?></th>
<th scope="col"><?php _e('Date') ?></th>
<th scope="col"><?php _e('Actions') ?></th>
</tr>
</thead>
<tbody id="the-comment-list" class="list:comment">
<?php <?php
foreach ($comments as $comment) foreach ($comments as $comment)
_wp_comment_row( $comment->comment_ID, 'detail', false, false ); _wp_comment_row( $comment->comment_ID, 'detail', false, false );
?> ?>
</tbody> </ol>
</table>
<?php <?php
wp_comment_reply(); wp_comment_reply();

View File

@ -279,30 +279,12 @@ if ( 1 == count($posts) && is_singular() ) :
<br class="clear" /> <br class="clear" />
<table class="widefat" style="margin-top: .5em"> <ol id="the-comment-list" class="list:comment">
<thead>
<tr>
<th scope="col"><?php _e('Comment') ?></th>
<th scope="col"><?php _e('Author') ?></th>
<th scope="col"><?php _e('Submitted') ?></th>
</tr>
</thead>
<tfoot>
<tr>
<th scope="col"><?php _e('Comment') ?></th>
<th scope="col"><?php _e('Author') ?></th>
<th scope="col"><?php _e('Submitted') ?></th>
</tr>
</tfoot>
<tbody id="the-comment-list" class="list:comment">
<?php <?php
foreach ($comments as $comment) foreach ($comments as $comment)
_wp_comment_row( $comment->comment_ID, 'single', false, false ); _wp_comment_row( $comment->comment_ID, 'single', false, false );
?> ?>
</tbody> </ol>
</table>
<?php <?php
wp_comment_reply(); wp_comment_reply();

View File

@ -1858,48 +1858,41 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true
$approve_url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "approve-comment_$comment->comment_ID" ) ); $approve_url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "approve-comment_$comment->comment_ID" ) );
$unapprove_url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "unapprove-comment_$comment->comment_ID" ) ); $unapprove_url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "unapprove-comment_$comment->comment_ID" ) );
$spam_url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&dt=spam&p=$comment->comment_post_ID&c=$comment->comment_ID", "delete-comment_$comment->comment_ID" ) ); $spam_url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&dt=spam&p=$comment->comment_post_ID&c=$comment->comment_ID", "delete-comment_$comment->comment_ID" ) );
?>
<li id='comment-<?php echo $comment->comment_ID; ?>' class='<?php echo $the_comment_status; ?> comment-list-item'>
<p class="comment-author"><strong><?php comment_author(); ?></strong>
<?php if ( current_user_can( 'edit_post', $post->ID ) && !empty( $comment->comment_author_email ) ) { echo ' | '; comment_author_email_link(); } ?>
<span class="sepa">|</span> <a href="edit-comments.php?s=<?php comment_author_IP(); ?>"><?php comment_author_IP(); ?></a> <span class="sepa">|</span> <a href="<?php echo get_permalink( $post->ID ) . '#comment-' . $comment->comment_ID; ?>" style="text-decoration: none;">#</a><br />
<?php if ( !empty($author_url) ) echo "<a href='$author_url'>$author_url_display</a>"; ?>
</p>
echo "<tr id='comment-$comment->comment_ID' class='$the_comment_status'>"; <?php if ( 'detail' == $mode || 'single' == $mode ) comment_text(); ?>
$columns = get_column_headers('comment'); <div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden">
$hidden = (array) get_user_option( 'manage-comment-columns-hidden' ); <textarea class="comment" rows="3" cols="10"><?php echo $comment->comment_content; ?></textarea>
foreach ( $columns as $column_name => $column_display_name ) { <div class="author-email"><?php echo attribute_escape( $comment->comment_author_email ); ?></div>
$class = "class=\"$column_name column-$column_name\""; <div class="author"><?php echo attribute_escape( $comment->comment_author ); ?></div>
<div class="author-url"><?php echo attribute_escape( $comment->comment_author_url ); ?></div>
<div class="comment_status"><?php echo $comment->comment_approved; ?></div>
</div>
$style = ''; <?php
if ( in_array($column_name, $hidden) ) // TODO: I don't think checkboxes really matter anymore
$style = ' style="display:none;"'; // if ( $checkbox && current_user_can( 'edit_post', $comment->comment_post_ID ) )
// echo "<input type='checkbox' name='delete_comments[]' value='$comment->comment_ID' />";
?>
$attributes = "$class$style"; <?php
$actions = array();
switch ($column_name) { if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
case 'cb': $actions['approve'] = "<span class='comment-action-link'><a href='$approve_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='" . __( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a></span>';
if ( !$checkbox ) break; $actions['unapprove'] = "<span class='comment-action-link'><a href='$unapprove_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='" . __( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a></span>';
echo '<th scope="row" class="check-column">';
if ( current_user_can('edit_post', $comment->comment_post_ID) ) echo "<input type='checkbox' name='delete_comments[]' value='$comment->comment_ID' />";
echo '</th>';
break;
case 'comment':
echo "<td $attributes>";
if ( 'detail' == $mode || 'single' == $mode ) comment_text(); ?>
<div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden">
<textarea class="comment" rows="3" cols="10"><?php echo $comment->comment_content; ?></textarea>
<div class="author-email"><?php echo attribute_escape( $comment->comment_author_email ); ?></div>
<div class="author"><?php echo attribute_escape( $comment->comment_author ); ?></div>
<div class="author-url"><?php echo attribute_escape( $comment->comment_author_url ); ?></div>
<div class="comment_status"><?php echo $comment->comment_approved; ?></div>
</div>
<?php
$actions = array();
if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
$actions['approve'] = "<a href='$approve_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='" . __( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>';
$actions['unapprove'] = "<a href='$unapprove_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='" . __( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
if ( $comment_status ) { // not looking at all comments if ( $comment_status ) { // not looking at all comments
if ( 'approved' == $the_comment_status ) { if ( 'approved' == $the_comment_status ) {
$actions['unapprove'] = "<a href='$unapprove_url' class='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment vim-u vim-destructive' title='" . __( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>'; $actions['unapprove'] = "<span class='comment-action-link'><a href='$unapprove_url' class='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment vim-u vim-destructive' title='" . __( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a></span>';
unset($actions['approve']); unset($actions['approve']);
} else { } else {
$actions['approve'] = "<a href='$approve_url' class='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment vim-a vim-destructive' title='" . __( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>'; $actions['approve'] = "<span class='comment-action-link'><a href='$approve_url' class='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment vim-a vim-destructive' title='" . __( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a></span>';
unset($actions['unapprove']); unset($actions['unapprove']);
} }
} }
@ -1907,7 +1900,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true
$actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . __( 'Mark this comment as spam' ) . "'>" . __( 'Spam' ) . '</a>'; $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . __( 'Mark this comment as spam' ) . "'>" . __( 'Spam' ) . '</a>';
$actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete vim-d vim-destructive'>" . __('Delete') . '</a>'; $actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete vim-d vim-destructive'>" . __('Delete') . '</a>';
$actions['edit'] = "<a href='comment.php?action=editcomment&amp;c={$comment->comment_ID}' title='" . __('Edit comment') . "'>". __('Edit') . '</a>'; $actions['edit'] = "<a href='comment.php?action=editcomment&amp;c={$comment->comment_ID}' title='" . __('Edit comment') . "'>". __('Edit') . '</a>';
$actions['quickedit'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\');return false;" class="vim-q" title="'.__('Quick Edit').'" href="#">' . __('Quick&nbsp;Edit') . '</a>'; $actions['quickedit'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\');return false;" class="vim-q" title="'.__('Quick Edit').'" href="#">' . __('Quick Edit') . '</a>';
if ( 'spam' != $the_comment_status ) if ( 'spam' != $the_comment_status )
$actions['reply'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\');return false;" class="vim-r" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a>'; $actions['reply'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\');return false;" class="vim-r" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a>';
@ -1916,7 +1909,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true
$i = 0; $i = 0;
foreach ( $actions as $action => $link ) { foreach ( $actions as $action => $link ) {
++$i; ++$i;
( ( ('approve' == $action || 'unapprove' == $action) && 2 === $i ) || 1 === $i ) ? $sep = '' : $sep = ' | '; ( ( ('approve' == $action || 'unapprove' == $action) && 2 === $i ) || 1 === $i ) ? $sep = '' : $sep = ' <span class="sepa">|</span> ';
// Reply and quickedit need a hide-if-no-js span // Reply and quickedit need a hide-if-no-js span
if ( 'reply' == $action || 'quickedit' == $action ) if ( 'reply' == $action || 'quickedit' == $action )
@ -1924,43 +1917,11 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true
echo "<span class='$action'>$sep$link</span>"; echo "<span class='$action'>$sep$link</span>";
} }
} }
?>
echo '</td>'; &nbsp;<span class="sepa">&#8212;</span>&nbsp; <?php echo get_comment_date( __('Y/m/d \a\t g:ia') ); ?> <span class="sepa">|</span> <a href="<?php echo get_permalink( $post->ID ); ?>" style="text-decoration: none;">&para;</a> <?php echo $post_link; ?>
break; </li>
case 'author': <?php
echo "<td $attributes><strong>"; comment_author(); echo '</strong><br />';
if ( !empty($author_url) )
echo "<a href='$author_url'>$author_url_display</a><br />";
if ( current_user_can( 'edit_post', $post->ID ) ) {
if ( !empty($comment->comment_author_email) ) {
comment_author_email_link();
echo '<br />';
}
echo '<a href="edit-comments.php?s=';
comment_author_IP();
echo '&amp;mode=detail">';
comment_author_IP();
echo '</a>';
} //current_user_can
echo '</td>';
break;
case 'date':
echo "<td $attributes>" . get_comment_date(__('Y/m/d \a\t g:ia')) . '</td>';
break;
case 'response':
if ( 'single' !== $mode ) {
echo "<td $attributes>\n";
echo "&quot;$post_link&quot; ";
echo '<a href="edit-comments.php?p=' . $post->ID;
if ( !empty($_GET['comment_type']) ) echo '&amp;comment_type=' . htmlspecialchars( $_GET['comment_type'] );
echo '">' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '</a><br />';
echo get_the_time(__('Y/m/d \a\t g:ia'));
echo '</td>';
}
}
}
echo "</tr>\n";
} }
/** /**
@ -1972,7 +1933,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true
* @param unknown_type $checkbox * @param unknown_type $checkbox
* @param unknown_type $mode * @param unknown_type $mode
*/ */
function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', $table_row = true) { function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', $table_row = false) {
global $current_user; global $current_user;
// allow plugin to replace the popup content // allow plugin to replace the popup content
@ -1987,7 +1948,7 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single',
<?php if ( $table_row ) : ?> <?php if ( $table_row ) : ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow"><td colspan="6"> <table style="display:none;"><tbody id="com-reply"><tr id="replyrow"><td colspan="6">
<?php else : ?> <?php else : ?>
<div id="com-reply" style="display:none;"><div id="replyrow"> <ul id="com-reply" style="display:none;"><li id="replyrow">
<?php endif; ?> <?php endif; ?>
<div id="replyhead" style="display:none;"><?php _e('Reply to Comment'); ?></div> <div id="replyhead" style="display:none;"><?php _e('Reply to Comment'); ?></div>
@ -2035,7 +1996,7 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single',
<?php if ( $table_row ) : ?> <?php if ( $table_row ) : ?>
</td></tr></tbody></table> </td></tr></tbody></table>
<?php else : ?> <?php else : ?>
</div></div> </li></ul>
<?php endif; ?> <?php endif; ?>
</form> </form>
<?php <?php
@ -2828,7 +2789,7 @@ function find_posts_div($found_action = '') {
<?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?> <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?>
<label class="hidden" for="find-posts-input"><?php _e( 'Search' ); ?></label> <label class="hidden" for="find-posts-input"><?php _e( 'Search' ); ?></label>
<input type="text" id="find-posts-input" class="search-input" name="ps" value="" /> <input type="text" id="find-posts-input" class="search-input" name="ps" value="" />
<input type="button" onclick="findPosts.send();" value="<?php _e( 'Search' ); ?>" class="button" /><br /> <input type="button" onClick="findPosts.send();" value="<?php _e( 'Search' ); ?>" class="button" /><br />
<input type="radio" name="find-posts-what" id="find-posts-posts" checked="checked" value="posts" /> <input type="radio" name="find-posts-what" id="find-posts-posts" checked="checked" value="posts" />
<label for="find-posts-posts"><?php _e( 'Posts' ); ?></label> <label for="find-posts-posts"><?php _e( 'Posts' ); ?></label>
@ -2838,7 +2799,7 @@ function find_posts_div($found_action = '') {
<div id="find-posts-response"></div> <div id="find-posts-response"></div>
</div> </div>
<div class="find-box-buttons"> <div class="find-box-buttons">
<input type="button" class="button" onclick="findPosts.close();" value="<?php _e('Close'); ?>" /> <input type="button" class="button" onClick="findPosts.close();" value="<?php _e('Close'); ?>" />
<input id="find-posts-submit" type="submit" class="button" value="<?php _e('Select'); ?>" /> <input id="find-posts-submit" type="submit" class="button" value="<?php _e('Select'); ?>" />
</div> </div>
</div> </div>

View File

@ -88,9 +88,7 @@ $(document).ready(function(){
commentReply = { commentReply = {
init : function() { init : function() {
this.rows = $('#the-comment-list tr'); this.rows = $('#the-comment-list li');
if ( !this.rows.size() )
this.rows = $('#the-comment-list > div.comment-item');
var row = $('#replyrow'); var row = $('#replyrow');
$('a.cancel', row).click(function() { return commentReply.revert(); }); $('a.cancel', row).click(function() { return commentReply.revert(); });
@ -149,7 +147,7 @@ commentReply = {
t.close(); t.close();
t.o = '#comment-'+id; t.o = '#comment-'+id;
$('#replyrow td').attr('colspan', $('.widefat thead th:visible').length); // $('#replyrow td').attr('colspan', $('.widefat thead th:visible').length);
var editRow = $('#replyrow'), rowData = $('#inline-'+id); var editRow = $('#replyrow'), rowData = $('#inline-'+id);
var act = t.act = (a == 'edit') ? 'edit-comment' : 'replyto-comment'; var act = t.act = (a == 'edit') ? 'edit-comment' : 'replyto-comment';

View File

@ -287,7 +287,7 @@ jQuery(document).ready( function($) {
$.post('admin-ajax.php', data, $.post('admin-ajax.php', data,
function(r) { function(r) {
var r = wpAjax.parseAjaxResponse(r); var r = wpAjax.parseAjaxResponse(r);
$('#commentstatusdiv .widefat').show(); $('#commentstatusdiv .comments-box').show();
$('.waiting').hide(); $('.waiting').hide();
if ( 'object' == typeof r && r.responses[0] ) { if ( 'object' == typeof r && r.responses[0] ) {
@ -308,7 +308,7 @@ jQuery(document).ready( function($) {
return; return;
} }
$('#the-comment-list').append('<tr><td colspan="5">'+wpAjax.broken+'</td></tr>'); $('#the-comment-list').append('<li>'+wpAjax.broken+'</li>');
} }
); );

View File

@ -415,21 +415,13 @@ if ( 1 == count($posts) && is_singular() ) :
<br class="clear" /> <br class="clear" />
<table class="widefat" style="margin-top: .5em"> <ol id="the-comment-list" class="list:comment">
<thead>
<tr>
<th scope="col"><?php _e('Comment') ?></th>
<th scope="col"><?php _e('Date') ?></th>
<th scope="col"><?php _e('Actions') ?></th>
</tr>
</thead>
<tbody id="the-comment-list" class="list:comment">
<?php <?php
foreach ($comments as $comment) foreach ($comments as $comment)
_wp_comment_row( $comment->comment_ID, 'detail', false, false ); _wp_comment_row( $comment->comment_ID, 'detail', false, false );
?> ?>
</tbody> </ol>
</table>
<?php <?php
wp_comment_reply(); wp_comment_reply();

View File

@ -1925,9 +1925,29 @@ body.wp-admin {
margin: -5px 0 0 10px; margin: -5px 0 0 10px;
} }
#the-comment-list td.comment p.comment-author { #the-comment-list {
margin-top: 0; list-style: none;
margin-left: 0; margin: 0;
padding: 0;
font-size: 11px;
}
#the-comment-list .sepa {
color: #999;
}
#the-comment-list .comment-action-link {
width: 6em;
display: inline-block;
}
#the-comment-list p.comment-author {
height: 2.8em;
}
#the-comment-list li.comment-list-item {
padding: 0 1.2em 1em;
border-bottom: 1px solid #ccc;
} }
#the-comment-list p.comment-author img { #the-comment-list p.comment-author img {
@ -1939,22 +1959,6 @@ body.wp-admin {
border: none; border: none;
} }
#the-comment-list td {
vertical-align: top;
}
#the-comment-list td.comment {
/*
width: 65%;
max-width: 460px;
*/
word-wrap: break-word;
}
#the-comment-list .check-column {
padding-top: 8px;
}
#templateside ul li a { #templateside ul li a {
text-decoration: none; text-decoration: none;
} }
@ -2245,7 +2249,10 @@ fieldset {
/* reply to comments */ /* reply to comments */
#replyrow { #replyrow {
border-width: 1px;
border-style: solid;
font-size: 11px; font-size: 11px;
margin: 0 0 12px;
} }
#replyrow input { #replyrow input {
@ -2905,3 +2912,9 @@ abbr.required {
.setting-description { .setting-description {
font-style: italic; font-style: italic;
} }
.comments-box {
margin: 12px 0 5px;
}