From 6c74505f59f170538fb1526d28b4ec894de6e64f Mon Sep 17 00:00:00 2001 From: azaozz Date: Mon, 4 May 2009 12:13:44 +0000 Subject: [PATCH] Make tags accessible without js on the edit screen git-svn-id: http://svn.automattic.com/wordpress/trunk@11172 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 12 +++++++----- wp-admin/includes/post.php | 2 +- wp-admin/wp-admin.css | 16 ++++++++++++++++ 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index aafc5cb40..a15f50a84 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -274,14 +274,16 @@ function post_tags_meta_box($post, $box) { $helps = isset($taxonomy->helps) ? attr($taxonomy->helps) : __('Separate tags with commas.'); ?>
-

- - " class="the-tags" id="tax-input[]" value="ID, $tax_name )); ?>" /> +

+
+

+
- + + -

+

diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 7b2466f4d..b3a128185 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1003,7 +1003,7 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) { $display_link = str_replace(array('%pagename%','%postname%'), $post_name_html, $permalink); $view_link = str_replace(array('%pagename%','%postname%'), $post_name, $permalink); $return = '' . __('Permalink:') . "\n" . '' . $display_link . "\n"; - $return .= '' . __('Edit') . "\n"; + $return .= '' . __('Edit') . "\n"; $return .= '' . $post_name . "\n"; if ( isset($view_post) ) $return .= "$view_post\n"; diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 9dde982b5..104869918 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -3129,3 +3129,19 @@ p.popular-tags a { visibility: hidden; vertical-align: bottom; } + +.tagsdiv .newtag { + width: 180px; +} + +.tagsdiv .the-tags { + display: block; + height: 60px; + margin: 0 auto; + overflow: auto; + width: 260px; +} + +#post-body-content .tagsdiv .the-tags { + margin: 0 5px; +}