From d555c3037ace4058e32cd13bb04aba01368e3bfd Mon Sep 17 00:00:00 2001 From: saxmatt Date: Mon, 27 Oct 2003 07:09:25 +0000 Subject: [PATCH] New edit comments page. git-svn-id: http://svn.automattic.com/wordpress/trunk@487 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.php | 179 +++++++++++++++++++++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 wp-admin/edit-comments.php diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php new file mode 100644 index 0000000000..56333746c6 --- /dev/null +++ b/wp-admin/edit-comments.php @@ -0,0 +1,179 @@ + + +
+ + + + + + + + + +
+ Show comments: + + + + + + +
+
+ 0) { +?> + + + + + +
+
+
+ + + + +
+
+
+
+ + +   + +
+
+
+  to   +   + +
+
+
+ + +
+ + get_results("SELECT * FROM $tablecomments " + ."ORDER BY comment_date $commentorder " + ."LIMIT $commentstart, $commentend" + ); + +// need to account for offet, etc. + + if ($comments) { + foreach ($comments as $comment) { + ?> +

+ @ + [ + $authordata->user_level) or ($user_login == $authordata->user_login)) { + echo "comment_ID."\">Edit"; + echo " - comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete - "; + } // end if any comments to show + ?> + View Post ] +
+ ( / ) (IP: ) + + +

+ +
+ + +

+ No results found. +

+ + + +
+ + \ No newline at end of file