From 220d38faf082d4051b0606dbe3b4469a33bc0654 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 27 Oct 2003 07:40:15 +0000 Subject: [PATCH] Changed format of comments. git-svn-id: https://develop.svn.wordpress.org/trunk@490 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 7ca835e6b1..0f9fe043f8 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 { ?>