Made status dropdowns radio boxes, more moderation cleanups. Edit section now clean.

git-svn-id: http://svn.automattic.com/wordpress/trunk@560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2003-11-30 22:13:53 +00:00
parent a5ab0fc858
commit 099a329763
6 changed files with 92 additions and 88 deletions

View File

@@ -321,8 +321,9 @@ switch($action) {
}
// pingWeblogs($blog_ID);
header ('Location: ' . $HTTP_SERVER_VARS['HTTP_REFERER']);
$sendback = $HTTP_SERVER_VARS['HTTP_REFERER'];
if (strstr($sendback, 'wp-post')) $sendback = $siteurl .'/wp-admin/wp-post.php';
header ('Location: ' . $sendback);
break;
@@ -575,7 +576,7 @@ switch($action) {
echo ', ';
$draft->post_title = stripslashes($draft->post_title);
if ($draft->post_title == '')
$draft->post_title = 'post-'.$draft->ID;
$draft->post_title = 'Post #'.$draft->ID;
echo "<a href='wp-post.php?action=edit&amp;post=$draft->ID' title='Edit this draft'>$draft->post_title</a>";
++$i;
}