From 4a047f4240e99450ee81db40df30e83c8bea3204 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 4 May 2009 21:28:58 +0000 Subject: [PATCH] Use invisible class for hiding labels and legends. git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/categories.php | 2 +- wp-admin/css/global.css | 3 ++- wp-admin/edit-comments.php | 2 +- wp-admin/edit-form-advanced.php | 16 ++++++++-------- wp-admin/edit-link-categories.php | 2 +- wp-admin/edit-link-form.php | 18 +++++++++--------- wp-admin/edit-page-form.php | 14 +++++++------- wp-admin/edit-pages.php | 2 +- wp-admin/edit-tags.php | 2 +- wp-admin/edit.php | 2 +- wp-admin/includes/file.php | 2 +- wp-admin/includes/media.php | 4 ++-- wp-admin/includes/plugin-install.php | 4 ++-- wp-admin/includes/template.php | 2 +- wp-admin/link-manager.php | 2 +- wp-admin/options-discussion.php | 18 +++++++++--------- wp-admin/options-general.php | 6 +++--- wp-admin/options-media.php | 4 ++-- wp-admin/options-privacy.php | 2 +- wp-admin/options-reading.php | 4 ++-- wp-admin/options-writing.php | 6 +++--- wp-admin/plugins.php | 2 +- wp-admin/press-this.php | 6 +++--- wp-admin/upload.php | 2 +- wp-admin/user-edit.php | 2 +- wp-admin/users.php | 4 ++-- wp-includes/general-template.php | 2 +- 27 files changed, 68 insertions(+), 67 deletions(-) diff --git a/wp-admin/categories.php b/wp-admin/categories.php index 6bc72aea48..904e736a13 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -142,7 +142,7 @@ endif; ?>
diff --git a/wp-admin/css/global.css b/wp-admin/css/global.css index 05b82b9f3b..3c8afd4da5 100644 --- a/wp-admin/css/global.css +++ b/wp-admin/css/global.css @@ -186,11 +186,12 @@ table { } /* Hide visually but not from screen readers */ -.hidden { +.invisible { position: absolute; left: -1000em; } +.hidden, .js .closed .inside, .js .hide-if-js, .no-js .hide-if-no-js { diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 64cb81b529..21dd065d1c 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -180,7 +180,7 @@ unset($status_links); diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index a15f50a846..6873844079 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -280,7 +280,7 @@ function post_tags_meta_box($post, $box) { - + @@ -331,8 +331,8 @@ function post_categories_meta_box($post) {

- - 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> + + 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> @@ -357,7 +357,7 @@ function post_password_meta_box($post) {

-

+

- +

use them in your template'); ?>

post_status || 'private' == $post->post_status ) */ function post_slug_meta_box($post) { ?> - + post_status && !current_user_can( 'publish_posts' ) ) ) @@ -522,7 +522,7 @@ function post_author_meta_box($post) { if ( $post->post_author && !in_array($post->post_author, $authors) ) $authors[] = $post->post_author; ?> - $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?> + $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
- +
diff --git a/wp-admin/edit-link-categories.php b/wp-admin/edit-link-categories.php index eb1fc1ec21..82c09a105a 100644 --- a/wp-admin/edit-link-categories.php +++ b/wp-admin/edit-link-categories.php @@ -73,7 +73,7 @@ endif; ?> diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php index 52ddccc0bd..4cb903c7c4 100644 --- a/wp-admin/edit-link-form.php +++ b/wp-admin/edit-link-form.php @@ -138,7 +138,7 @@ function link_categories_meta_box($link) { ?>

+

@@ -192,7 +192,7 @@ function link_xfn_meta_box($link) { - - - - - - -
+
@@ -200,7 +200,7 @@ function link_xfn_meta_box($link) {
+
+
@@ -221,7 +221,7 @@ function link_xfn_meta_box($link) {
+
@@ -232,7 +232,7 @@ function link_xfn_meta_box($link) {
+
@@ -246,7 +246,7 @@ function link_xfn_meta_box($link) {
+
@@ -269,7 +269,7 @@ function link_xfn_meta_box($link) {
+
diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index 52946e6074..728fb5add6 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -260,7 +260,7 @@ function page_password_meta_box($post){ ?>

-

+

- + $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?>

- page_template); ?> @@ -292,7 +292,7 @@ function page_attributes_meta_box($post){ } ?>
-

+

- + 1 ) { if ( $post->post_author && !in_array($post->post_author, $authors) ) $authors[] = $post->post_author; ?> - $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?> + $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
- +
diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index 3408d8a4bd..bcf9372cf0 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -169,7 +169,7 @@ endif; diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 5d52de1f2c..e71c3b9297 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -158,7 +158,7 @@ endif; ?> diff --git a/wp-admin/edit.php b/wp-admin/edit.php index fa5a84994d..6ada6de941 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -164,7 +164,7 @@ endif; diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index f00ce38b23..578b780b21 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -757,7 +757,7 @@ jQuery(function($){
-
+


diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index b4ceb9243b..0a900d8db7 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1350,7 +1350,7 @@ SWFUpload.onload = function() {

- +

@@ -1706,7 +1706,7 @@ function media_upload_library_form($errors) { diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index e902dcf82d..bfd757c74e 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -163,7 +163,7 @@ function install_search_form(){ - +

- +
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index aee24f7976..08f2fc58de 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -3162,7 +3162,7 @@ function find_posts_div($found_action = '') { - +
diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 2041ea4c82..b676ba4147 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -88,7 +88,7 @@ if ( isset($_GET['deleted']) ) {
diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index 383b0792d5..6899961d75 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -25,7 +25,7 @@ include('admin-header.php'); - - - - - -
+
@@ -43,7 +43,7 @@ include('admin-header.php');
+

+
@@ -114,7 +114,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
+
@@ -124,7 +124,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
+

@@ -135,7 +135,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
+

@@ -154,7 +154,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each - - - - @@ -197,7 +197,7 @@ if (empty($tzstring)) { // set the Etc zone if no timezone string exists - -
+
__("Don’t show Avatars"), 1 => __('Show Avatars')); foreach ( $yesorno as $key => $value) { @@ -166,7 +166,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
+
__('G — Suitable for all audiences'), 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), 'R' => __('R — Intended for adult audiences above 17'), 'X' => __('X — Even more mature than above')); @@ -180,7 +180,7 @@ endforeach;
+

diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 23515d07f7..3d28440fb8 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -83,7 +83,7 @@ include('./admin-header.php');
-
+
-
+
+
@@ -51,7 +51,7 @@ include('admin-header.php');
+
diff --git a/wp-admin/options-privacy.php b/wp-admin/options-privacy.php index 862681b478..e255ae768a 100644 --- a/wp-admin/options-privacy.php +++ b/wp-admin/options-privacy.php @@ -25,7 +25,7 @@ include('./admin-header.php'); - - - diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php index ab148ed22d..8eeac3a463 100644 --- a/wp-admin/options-writing.php +++ b/wp-admin/options-writing.php @@ -30,7 +30,7 @@ include('admin-header.php'); -
+

/>

/> diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 934caf2688..2757eacb30 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -26,7 +26,7 @@ include('admin-header.php');

+

+


+

@@ -61,7 +61,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category - - -
+

@@ -69,7 +69,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category
+

diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index 2a546b0ba8..c31019c933 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -424,7 +424,7 @@ function print_plugin_actions($context) { diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 85ec8bd195..9747fa78aa 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -481,8 +481,8 @@ var ajaxurl = '';

- - 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> + + 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> @@ -496,7 +496,7 @@ var ajaxurl = '';

- +

diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index a64a9f178a..43e052b69f 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -209,7 +209,7 @@ include ('admin-header.php'); 1 ) : ?>
+
@@ -309,7 +309,7 @@ unset($role_links); - + diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 67a6fcba08..695aa85b5e 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -119,7 +119,7 @@ function get_search_form() { return; $form = ' -
+