From 0408a7267e096318a8e51d33d95c01fda71f1685 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Mon, 27 Oct 2003 07:40:15 +0000 Subject: [PATCH] Changed format of comments. git-svn-id: http://svn.automattic.com/wordpress/trunk@490 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.php | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 7ca835e6b..0f9fe043f 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -131,38 +131,33 @@ echo $comments_nav_bar;
get_results("SELECT * FROM $tablecomments " - ."ORDER BY comment_date $commentorder " - ."LIMIT $commentstart, $commentend" + $comments = $wpdb->get_results("SELECT * FROM $tablecomments + ORDER BY comment_date $commentorder + LIMIT $commentstart, $commentend" ); // need to account for offet, etc. if ($comments) { + echo '
    '; 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: ) - +

  1. +

    Name: comment_author_email) { ?>| Email: comment_author_email) { ?> | URI: | IP:

    -

    + +

    Posted | $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

    +
  2. -
    '; } else { ?>