From 3fcca86e2860a32c97f9ec0d039eddb26031c56e Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Wed, 24 Sep 2003 22:01:43 +0000 Subject: [PATCH] created based on b2edit.showposts.php git-svn-id: http://svn.automattic.com/wordpress/trunk@382 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/wp-edit.showcomments.php | 182 ++++++++++++++++++++++++++++++ 1 file changed, 182 insertions(+) create mode 100644 wp-admin/wp-edit.showcomments.php diff --git a/wp-admin/wp-edit.showcomments.php b/wp-admin/wp-edit.showcomments.php new file mode 100644 index 0000000000..90b4c91b1f --- /dev/null +++ b/wp-admin/wp-edit.showcomments.php @@ -0,0 +1,182 @@ + + +

Comments

+
+ + + + + + + + + +
+ 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 " - 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 + ?> +
+ ( / ) (IP: ) + + +

+ +
+ + +

+ No results found. +

+ + + +

Go to: Post/Edit | Posts | Comments

+ +
+ + \ No newline at end of file