From 7bc2698b04807caeba5026605fb2b34faa01c2f2 Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Wed, 24 Sep 2003 21:55:06 +0000 Subject: [PATCH] added list of comments git-svn-id: http://svn.automattic.com/wordpress/trunk@378 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/b2edit.php | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/wp-admin/b2edit.php b/wp-admin/b2edit.php index b20eb8e0e7..8996f54179 100644 --- a/wp-admin/b2edit.php +++ b/wp-admin/b2edit.php @@ -19,7 +19,25 @@ if (!get_magic_quotes_gpc()) { $HTTP_COOKIE_VARS = add_magic_quotes($HTTP_COOKIE_VARS); } -$b2varstoreset = array('action','safe_mode','withcomments','c','posts','poststart','postend','content','edited_post_title','comment_error','profile', 'trackback_url', 'excerpt'); +$b2varstoreset = array('action' + ,'safe_mode' + ,'withcomments' + ,'c' + ,'posts' + ,'poststart' + ,'postend' + ,'content' + ,'edited_post_title' + ,'comment_error' + ,'profile' + ,'trackback_url' + ,'excerpt' + ,'showcomments' + ,'commentstart' + ,'commentend' + ,'commentorder' + ); + for ($i=0; $i

Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, @@ -332,7 +350,7 @@ switch($action) { $content = $commentdata['comment_content']; $content = format_to_edit($content); - include('b2edit.form.php'); + include('wp-edit.form.php'); break; @@ -436,7 +454,7 @@ switch($action) { $ping_status = get_settings('default_ping_status'); $post_pingback = get_settings('default_pingback_flag'); $default_post_cat = get_settings('default_post_category'); - include('b2edit.form.php'); + include('wp-edit.form.php'); echo '

'; } @@ -453,7 +471,10 @@ switch($action) { } - include('b2edit.showposts.php'); + include('wp-edit.showposts.php'); + echo '

'; + include('wp-edit.showcomments.php'); + break; } // end switch /* */