From 2b1f1fd2402f3079122b2e9906bfb3a51d64134f Mon Sep 17 00:00:00 2001 From: markjaquith Date: Tue, 31 Oct 2006 06:50:38 +0000 Subject: [PATCH] More [4432] cleanup. fixes #3309 git-svn-id: http://svn.automattic.com/wordpress/trunk@4437 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.php | 14 +++++++------- wp-admin/edit-form-comment.php | 2 +- wp-admin/edit.php | 2 +- wp-admin/moderation.php | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index a2aad693f4..6227ef786a 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -118,13 +118,13 @@ if ('view' == $mode) {

— [ comment_post_ID) ) { - echo " " . __('Edit') . ''; - echo ' | comment_author)) . "', theCommentList );\">" . __('Delete') . ' '; + echo " " . __('Edit') . ''; + echo ' | comment_author)) . "', theCommentList );\">" . __('Delete') . ' '; if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) { - echo ' | ' . __('Unapprove') . ' '; - echo ' | ' . __('Approve') . ' '; + echo ' | ' . __('Unapprove') . ' '; + echo ' | ' . __('Approve') . ' '; } - echo " | comment_post_ID . "&comment=" . $comment->comment_ID, 'delete-comment_' . $comment->comment_ID) . "\" onclick=\"return deleteSomething( 'comment-as-spam', $comment->comment_ID, '" . sprintf(__("You are about to mark as spam this comment by "%s".\\n"Cancel" to stop, "OK" to mark as spam."), js_escape( $comment->comment_author)) . "', theCommentList );\">" . __('Spam') . " "; + echo " | comment_post_ID . "&c=" . $comment->comment_ID, 'delete-comment_' . $comment->comment_ID) . "\" onclick=\"return deleteSomething( 'comment-as-spam', $comment->comment_ID, '" . sprintf(__("You are about to mark as spam this comment by "%s".\\n"Cancel" to stop, "OK" to mark as spam."), js_escape( $comment->comment_author)) . "', theCommentList );\">" . __('Spam') . " "; } $post = get_post($comment->comment_post_ID); $post_title = wp_specialchars( $post->post_title, 'double' ); @@ -183,9 +183,9 @@ $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title; comment_post_ID) ) { - echo "" . __('Edit') . ""; } ?> + echo "" . __('Edit') . ""; } ?> comment_post_ID) ) { - echo "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."), js_escape( $comment->comment_author )) . "', theCommentList );\" class='delete'>" . __('Delete') . " "; + echo "comment_post_ID."&c=".$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."), js_escape( $comment->comment_author )) . "', theCommentList );\" class='delete'>" . __('Delete') . " "; } ?> comment_ID ); ?>: /> - + diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 6f93e3a38f..e96b6d01a9 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -282,7 +282,7 @@ foreach ($comments as $comment) {

— [ comment_post_ID) ) { - echo " " . __('Edit') . ''; + echo " " . __('Edit') . ''; echo ' | comment_author)) . "', theCommentList );\">" . __('Delete') . ' '; if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) { echo ' | ' . __('Unapprove') . ' '; diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php index 1989368521..b9e3f06250 100644 --- a/wp-admin/moderation.php +++ b/wp-admin/moderation.php @@ -134,7 +134,7 @@ $i = 0;

comment_author_email) { ?>| comment_author_url && 'http://' != $comment->comment_author_url) { ?> | |

— [ comment_ID.'">' . __('Edit') . ' | '; +echo '' . __('Edit') . ' | '; echo " 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."), js_escape($comment->comment_author)) . "', theCommentList );\">" . __('Delete ') . " | "; ?> comment_post_ID);