diff options
Diffstat (limited to 'wp-inst/wp-admin/moderation.php')
| -rw-r--r-- | wp-inst/wp-admin/moderation.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/wp-inst/wp-admin/moderation.php b/wp-inst/wp-admin/moderation.php index c9e1723..656378e 100644 --- a/wp-inst/wp-admin/moderation.php +++ b/wp-inst/wp-admin/moderation.php @@ -77,7 +77,7 @@ default: require_once('admin-header.php'); if ( isset($_GET['deleted']) || isset($_GET['approved']) || isset($_GET['ignored']) ) { - echo "<div id='moderated' class='updated'>\n<p>"; + echo "<div id='moderated' class='updated fade'>\n<p>"; $approved = (int) $_GET['approved']; $deleted = (int) $_GET['deleted']; $ignored = (int) $_GET['ignored']; @@ -130,7 +130,7 @@ if ($comments) { <h2><?php _e('Moderation Queue') ?></h2> <form name="approval" action="moderation.php" method="post"> <input type="hidden" name="action" value="update" /> - <ol id="comments" class="commentlist"> + <ol id="the-list" class="commentlist"> <?php $i = 0; foreach($comments as $comment) { @@ -147,7 +147,7 @@ $i = 0; echo '<a href="post.php?action=editcomment&comment='.$comment->comment_ID.'">' . __('Edit') . '</a> | ';?> <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php _e('View Post') ?></a> | <?php -echo " <a href=\"post.php?action=deletecomment&p=".$comment->comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), $comment->comment_author) . "')\">" . __('Delete just this comment') . "</a> | "; ?> <?php _e('Bulk action:') ?> +echo " <a href=\"post.php?action=deletecomment&p=".$comment->comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . sprintf(__("You are about to delete this comment by "%s".\\n"Cancel" to stop, "OK" to delete."), wp_specialchars($comment->comment_author, 1)) . "' );\">" . __('Delete just this comment') . "</a> | "; ?> <?php _e('Bulk action:') ?> <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-approve" value="approve" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-approve"><?php _e('Approve') ?></label> <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-spam" value="spam" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-spam"><?php _e('Spam') ?></label> <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-delete" value="delete" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-delete"><?php _e('Delete') ?></label> @@ -160,6 +160,8 @@ echo " <a href=\"post.php?action=deletecomment&p=".$comment->comment_post_ID ?> </ol> +<div id="ajax-response"></div> + <p class="submit"><input type="submit" name="submit" value="<?php _e('Moderate Comments »') ?>" /></p> <script type="text/javascript"> // <