From 2d6891fca96a37d6a396e1925144c5db1ab7432f Mon Sep 17 00:00:00 2001 From: mikelittle Date: Tue, 10 Jun 2003 22:31:01 +0000 Subject: [PATCH] Added in missing post status, comment status, post password fields to allow posts to be made correctly from sidebar and bookmarklet. git-svn-id: http://svn.automattic.com/wordpress/trunk@199 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/b2bookmarklet.php | 146 +++++++++++++++++++++++-------------- wp-admin/b2sidebar.php | 32 +++++--- 2 files changed, 114 insertions(+), 64 deletions(-) diff --git a/wp-admin/b2bookmarklet.php b/wp-admin/b2bookmarklet.php index 6a24d9297..75ca19f82 100644 --- a/wp-admin/b2bookmarklet.php +++ b/wp-admin/b2bookmarklet.php @@ -1,6 +1,10 @@ */ +function selected($selected, $current) { + if ($selected == $current) echo ' selected="selected"'; +} + $mode = 'bookmarklet'; $standalone = 1; @@ -40,8 +44,6 @@ function launchupload() {