From e356231388db1cecf84750a7f0c07b9a2932582a Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 25 Sep 2008 23:49:24 +0000 Subject: [PATCH] Place holder for Favorite Actions dropdown git-svn-id: http://svn.automattic.com/wordpress/trunk@8985 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit.php | 2 ++ wp-admin/includes/template.php | 22 ++++++++++++++++++++++ wp-admin/wp-admin.css | 7 +++++++ 3 files changed, 31 insertions(+) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index e50739233..e84793886 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -90,6 +90,8 @@ if ( empty($_GET['mode']) ) else $mode = attribute_escape($_GET['mode']); + favorite_actions(); + if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>

|

post_password ) ) echo attribute_escape( $post->post_password ); } + +function favorite_actions() { + $actions = array( + 'post-new.php' => __('Add New Post'), + 'page-new.php' => __('Add New Page'), + ); + + $actions = apply_filters('favorite_actions', $actions); + echo '
'; + echo '

'; + echo ''; + echo ''; + echo '

'; + echo '
'; +} + ?> diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index b56f7927a..7cff594b6 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -1583,6 +1583,13 @@ p.search-box .button, #widget-search .button { border-style: solid; } +p.favorite-actions { + position: absolute; + right: 15px; + top: 52px; + margin: 0; +} + #posts-filter fieldset { float: left; margin: 0 1.5ex 1em 0;