mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
046401dd6b
commit
bdf8e8fb38
@ -142,7 +142,7 @@ endif; ?>
|
|||||||
|
|
||||||
<form class="search-form topmargin" action="" method="get">
|
<form class="search-form topmargin" action="" method="get">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="category-search-input"><?php _e('Search Categories'); ?>:</label>
|
<label class="screen-reader-text" for="category-search-input"><?php _e('Search Categories'); ?>:</label>
|
||||||
<input type="text" id="category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
<input type="text" id="category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Categories' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Categories' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -186,8 +186,8 @@ table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Hide visually but not from screen readers */
|
/* Hide visually but not from screen readers */
|
||||||
.invisible,
|
.screen-reader-text,
|
||||||
.invisible span {
|
.screen-reader-text span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -1000em;
|
left: -1000em;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
|
@ -175,7 +175,7 @@ unset($status_links);
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label>
|
<label class="screen-reader-text" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label>
|
||||||
<input type="text" id="comment-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
<input type="text" id="comment-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Comments' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Comments' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -282,7 +282,7 @@ function post_tags_meta_box($post, $box) {
|
|||||||
<textarea name="<?php echo "tax_input[$tax_name]"; ?>" class="the-tags" id="tax-input[<?php echo $tax_name; ?>]"><?php echo esc_attr(get_terms_to_edit( $post->ID, $tax_name )); ?></textarea></div>
|
<textarea name="<?php echo "tax_input[$tax_name]"; ?>" class="the-tags" id="tax-input[<?php echo $tax_name; ?>]"><?php echo esc_attr(get_terms_to_edit( $post->ID, $tax_name )); ?></textarea></div>
|
||||||
|
|
||||||
<span class="ajaxtag hide-if-no-js">
|
<span class="ajaxtag hide-if-no-js">
|
||||||
<label class="invisible" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label>
|
<label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label>
|
||||||
<input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php esc_attr_e('Add new tag'); ?>" />
|
<input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php esc_attr_e('Add new tag'); ?>" />
|
||||||
<input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" tabindex="3" />
|
<input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" tabindex="3" />
|
||||||
</span></div>
|
</span></div>
|
||||||
@ -333,8 +333,8 @@ function post_categories_meta_box($post) {
|
|||||||
<div id="category-adder" class="wp-hidden-children">
|
<div id="category-adder" class="wp-hidden-children">
|
||||||
<h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4>
|
<h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4>
|
||||||
<p id="category-add" class="wp-hidden-child">
|
<p id="category-add" class="wp-hidden-child">
|
||||||
<label class="invisible" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
|
<label class="screen-reader-text" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
|
||||||
<label class="invisible" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
|
<label class="screen-reader-text" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
|
||||||
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php esc_attr_e( 'Add' ); ?>" tabindex="3" />
|
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php esc_attr_e( 'Add' ); ?>" tabindex="3" />
|
||||||
<?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
|
<?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
|
||||||
<span id="category-ajax-response"></span></p>
|
<span id="category-ajax-response"></span></p>
|
||||||
@ -356,7 +356,7 @@ function post_password_meta_box($post) {
|
|||||||
?>
|
?>
|
||||||
<p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex="4" /> <?php _e('Keep this post private') ?></label></p>
|
<p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex="4" /> <?php _e('Keep this post private') ?></label></p>
|
||||||
<h4><?php _e( 'Post Password' ); ?></h4>
|
<h4><?php _e( 'Post Password' ); ?></h4>
|
||||||
<p><label class="invisible" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p>
|
<p><label class="screen-reader-text" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p>
|
||||||
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p>
|
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@ -371,7 +371,7 @@ function post_password_meta_box($post) {
|
|||||||
*/
|
*/
|
||||||
function post_excerpt_meta_box($post) {
|
function post_excerpt_meta_box($post) {
|
||||||
?>
|
?>
|
||||||
<label class="invisible" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea>
|
<label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea>
|
||||||
<p><?php _e('Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="http://codex.wordpress.org/Excerpt" target="_blank">Learn more about manual excerpts.</a>'); ?></p>
|
<p><?php _e('Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="http://codex.wordpress.org/Excerpt" target="_blank">Learn more about manual excerpts.</a>'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@ -492,7 +492,7 @@ if ( 'publish' == $post->post_status || 'private' == $post->post_status )
|
|||||||
*/
|
*/
|
||||||
function post_slug_meta_box($post) {
|
function post_slug_meta_box($post) {
|
||||||
?>
|
?>
|
||||||
<label class="invisible" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" />
|
<label class="screen-reader-text" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" />
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
if ( !( 'pending' == $post->post_status && !current_user_can( 'publish_posts' ) ) )
|
if ( !( 'pending' == $post->post_status && !current_user_can( 'publish_posts' ) ) )
|
||||||
@ -515,7 +515,7 @@ function post_author_meta_box($post) {
|
|||||||
if ( $post->post_author && !in_array($post->post_author, $authors) )
|
if ( $post->post_author && !in_array($post->post_author, $authors) )
|
||||||
$authors[] = $post->post_author;
|
$authors[] = $post->post_author;
|
||||||
?>
|
?>
|
||||||
<label class="invisible" for="post_author_override"><?php _e('Post Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
|
<label class="screen-reader-text" for="post_author_override"><?php _e('Post Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
add_meta_box('authordiv', __('Post Author'), 'post_author_meta_box', 'post', 'normal', 'core');
|
add_meta_box('authordiv', __('Post Author'), 'post_author_meta_box', 'post', 'normal', 'core');
|
||||||
@ -591,7 +591,7 @@ echo $form_extra ?>
|
|||||||
<div id="post-body-content">
|
<div id="post-body-content">
|
||||||
<div id="titlediv">
|
<div id="titlediv">
|
||||||
<div id="titlewrap">
|
<div id="titlewrap">
|
||||||
<label class="invisible" for="title"><?php _e('Title') ?></label>
|
<label class="screen-reader-text" for="title"><?php _e('Title') ?></label>
|
||||||
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
|
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
|
||||||
</div>
|
</div>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
|
@ -73,7 +73,7 @@ endif; ?>
|
|||||||
|
|
||||||
<form class="search-form" action="" method="get">
|
<form class="search-form" action="" method="get">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="link-category-search-input"><?php _e( 'Search Categories' ); ?>:</label>
|
<label class="screen-reader-text" for="link-category-search-input"><?php _e( 'Search Categories' ); ?>:</label>
|
||||||
<input type="text" id="link-category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
<input type="text" id="link-category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Categories' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Categories' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -138,7 +138,7 @@ function link_categories_meta_box($link) { ?>
|
|||||||
<div id="category-adder" class="wp-hidden-children">
|
<div id="category-adder" class="wp-hidden-children">
|
||||||
<h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>
|
<h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>
|
||||||
<p id="link-category-add" class="wp-hidden-child">
|
<p id="link-category-add" class="wp-hidden-child">
|
||||||
<label class="invisible" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
|
<label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
|
||||||
<input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" />
|
<input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" />
|
||||||
<input type="button" id="category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" />
|
<input type="button" id="category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" />
|
||||||
<?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?>
|
<?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?>
|
||||||
@ -157,7 +157,7 @@ add_meta_box('linkcategorydiv', __('Categories'), 'link_categories_meta_box', 'l
|
|||||||
* @param object $link
|
* @param object $link
|
||||||
*/
|
*/
|
||||||
function link_target_meta_box($link) { ?>
|
function link_target_meta_box($link) { ?>
|
||||||
<fieldset><legend class="invisible"><span><?php _e('Target') ?></span></legend>
|
<fieldset><legend class="screen-reader-text"><span><?php _e('Target') ?></span></legend>
|
||||||
<p><label for="link_target_blank" class="selectit">
|
<p><label for="link_target_blank" class="selectit">
|
||||||
<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
|
<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
|
||||||
<?php _e('<code>_blank</code> - new window or tab.'); ?></label></p>
|
<?php _e('<code>_blank</code> - new window or tab.'); ?></label></p>
|
||||||
@ -192,7 +192,7 @@ function link_xfn_meta_box($link) {
|
|||||||
<table cellpadding="3" cellspacing="5" class="form-table">
|
<table cellpadding="3" cellspacing="5" class="form-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </th>
|
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </th>
|
||||||
<td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </span></legend>
|
||||||
<label for="me">
|
<label for="me">
|
||||||
<input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
|
<input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
|
||||||
<?php _e('another web address of mine') ?></label>
|
<?php _e('another web address of mine') ?></label>
|
||||||
@ -200,7 +200,7 @@ function link_xfn_meta_box($link) {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </th>
|
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </th>
|
||||||
<td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </span></legend>
|
||||||
<label for="contact">
|
<label for="contact">
|
||||||
<input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?></label>
|
<input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?></label>
|
||||||
<label for="acquaintance">
|
<label for="acquaintance">
|
||||||
@ -213,7 +213,7 @@ function link_xfn_meta_box($link) {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th>
|
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th>
|
||||||
<td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </span></legend>
|
||||||
<label for="met">
|
<label for="met">
|
||||||
<input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />
|
<input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />
|
||||||
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?></label>
|
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?></label>
|
||||||
@ -221,7 +221,7 @@ function link_xfn_meta_box($link) {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th>
|
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th>
|
||||||
<td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </span></legend>
|
||||||
<label for="co-worker">
|
<label for="co-worker">
|
||||||
<input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />
|
<input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />
|
||||||
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?></label>
|
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?></label>
|
||||||
@ -232,7 +232,7 @@ function link_xfn_meta_box($link) {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </th>
|
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </th>
|
||||||
<td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend>
|
||||||
<label for="co-resident">
|
<label for="co-resident">
|
||||||
<input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> />
|
<input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> />
|
||||||
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?></label>
|
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?></label>
|
||||||
@ -246,7 +246,7 @@ function link_xfn_meta_box($link) {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </th>
|
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </th>
|
||||||
<td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend>
|
||||||
<label for="child">
|
<label for="child">
|
||||||
<input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?> />
|
<input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?> />
|
||||||
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?></label>
|
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?></label>
|
||||||
@ -269,7 +269,7 @@ function link_xfn_meta_box($link) {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </th>
|
<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </th>
|
||||||
<td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend>
|
||||||
<label for="muse">
|
<label for="muse">
|
||||||
<input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />
|
<input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />
|
||||||
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?></label>
|
<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?></label>
|
||||||
|
@ -261,7 +261,7 @@ function page_password_meta_box($post){
|
|||||||
?>
|
?>
|
||||||
<p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex='4' /> <?php _e('Keep this page private') ?></label></p>
|
<p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex='4' /> <?php _e('Keep this page private') ?></label></p>
|
||||||
<h4><?php _e( 'Page Password' ); ?></h4>
|
<h4><?php _e( 'Page Password' ); ?></h4>
|
||||||
<p><label class="invisible" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p>
|
<p><label class="screen-reader-text" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p>
|
||||||
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p>
|
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@ -277,13 +277,13 @@ function page_password_meta_box($post){
|
|||||||
function page_attributes_meta_box($post){
|
function page_attributes_meta_box($post){
|
||||||
?>
|
?>
|
||||||
<h5><?php _e('Parent') ?></h5>
|
<h5><?php _e('Parent') ?></h5>
|
||||||
<label class="invisible" for="parent_id"><?php _e('Page Parent') ?></label>
|
<label class="screen-reader-text" for="parent_id"><?php _e('Page Parent') ?></label>
|
||||||
<?php wp_dropdown_pages(array('exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?>
|
<?php wp_dropdown_pages(array('exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?>
|
||||||
<p><?php _e('You can arrange your pages in hierarchies, for example you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
|
<p><?php _e('You can arrange your pages in hierarchies, for example you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
if ( 0 != count( get_page_templates() ) ) { ?>
|
if ( 0 != count( get_page_templates() ) ) { ?>
|
||||||
<h5><?php _e('Template') ?></h5>
|
<h5><?php _e('Template') ?></h5>
|
||||||
<label class="invisible" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">
|
<label class="screen-reader-text" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">
|
||||||
<option value='default'><?php _e('Default Template'); ?></option>
|
<option value='default'><?php _e('Default Template'); ?></option>
|
||||||
<?php page_template_dropdown($post->page_template); ?>
|
<?php page_template_dropdown($post->page_template); ?>
|
||||||
</select>
|
</select>
|
||||||
@ -291,7 +291,7 @@ function page_attributes_meta_box($post){
|
|||||||
<?php
|
<?php
|
||||||
} ?>
|
} ?>
|
||||||
<h5><?php _e('Order') ?></h5>
|
<h5><?php _e('Order') ?></h5>
|
||||||
<p><label class="invisible" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p>
|
<p><label class="screen-reader-text" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p>
|
||||||
<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it’ll be better in future releases.)'); ?></p>
|
<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it’ll be better in future releases.)'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@ -346,7 +346,7 @@ add_meta_box('pagecommentstatusdiv', __('Discussion'), 'page_comments_status_met
|
|||||||
*/
|
*/
|
||||||
function page_slug_meta_box($post){
|
function page_slug_meta_box($post){
|
||||||
?>
|
?>
|
||||||
<label class="invisible" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" />
|
<label class="screen-reader-text" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" />
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
add_meta_box('pageslugdiv', __('Page Slug'), 'page_slug_meta_box', 'page', 'normal', 'core');
|
add_meta_box('pageslugdiv', __('Page Slug'), 'page_slug_meta_box', 'page', 'normal', 'core');
|
||||||
@ -368,7 +368,7 @@ if ( $authors && count( $authors ) > 1 ) {
|
|||||||
if ( $post->post_author && !in_array($post->post_author, $authors) )
|
if ( $post->post_author && !in_array($post->post_author, $authors) )
|
||||||
$authors[] = $post->post_author;
|
$authors[] = $post->post_author;
|
||||||
?>
|
?>
|
||||||
<label class="invisible" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
|
<label class="screen-reader-text" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
add_meta_box('pageauthordiv', __('Page Author'), 'page_author_meta_box', 'page', 'normal', 'core');
|
add_meta_box('pageauthordiv', __('Page Author'), 'page_author_meta_box', 'page', 'normal', 'core');
|
||||||
@ -435,7 +435,7 @@ $side_meta_boxes = do_meta_boxes('page', 'side', $post); ?>
|
|||||||
<div id="post-body-content">
|
<div id="post-body-content">
|
||||||
<div id="titlediv">
|
<div id="titlediv">
|
||||||
<div id="titlewrap">
|
<div id="titlewrap">
|
||||||
<label class="invisible" for="title"><?php _e('Title') ?></label>
|
<label class="screen-reader-text" for="title"><?php _e('Title') ?></label>
|
||||||
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
|
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
|
||||||
</div>
|
</div>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
|
@ -169,7 +169,7 @@ endif;
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label>
|
<label class="screen-reader-text" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label>
|
||||||
<input type="text" id="page-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
<input type="text" id="page-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Pages' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Pages' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -158,7 +158,7 @@ endif; ?>
|
|||||||
|
|
||||||
<form class="search-form" action="" method="get">
|
<form class="search-form" action="" method="get">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label>
|
<label class="screen-reader-text" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label>
|
||||||
<input type="text" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
<input type="text" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Tags' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Tags' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -164,7 +164,7 @@ endif;
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
|
<label class="screen-reader-text" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Posts' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Posts' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -761,7 +761,7 @@ jQuery(function($){
|
|||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Connection Type') ?></th>
|
<th scope="row"><?php _e('Connection Type') ?></th>
|
||||||
<td>
|
<td>
|
||||||
<fieldset><legend class="invisible"><span><?php _e('Connection Type') ?></span></legend>
|
<fieldset><legend class="screen-reader-text"><span><?php _e('Connection Type') ?></span></legend>
|
||||||
<label><input id="ftp" name="connection_type" type="radio" value="ftp" <?php checked('ftp', $connection_type); if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('FTP') ?></label><br />
|
<label><input id="ftp" name="connection_type" type="radio" value="ftp" <?php checked('ftp', $connection_type); if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('FTP') ?></label><br />
|
||||||
<label><input id="ftps" name="connection_type" type="radio" value="ftps" <?php checked('ftps', $connection_type); if ( defined('FTP_SSH') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('FTPS (SSL)') ?></label><br />
|
<label><input id="ftps" name="connection_type" type="radio" value="ftps" <?php checked('ftps', $connection_type); if ( defined('FTP_SSH') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('FTPS (SSL)') ?></label><br />
|
||||||
<?php if ( extension_loaded('ssh2') ) { ?><label><input id="ssh" name="connection_type" type="radio" value="ssh" <?php checked('ssh', $connection_type); if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('SSH') ?></label><?php } ?>
|
<?php if ( extension_loaded('ssh2') ) { ?><label><input id="ssh" name="connection_type" type="radio" value="ssh" <?php checked('ssh', $connection_type); if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('SSH') ?></label><?php } ?>
|
||||||
|
@ -1354,7 +1354,7 @@ SWFUpload.onload = function() {
|
|||||||
<div id="html-upload-ui">
|
<div id="html-upload-ui">
|
||||||
<?php do_action('pre-html-upload-ui'); ?>
|
<?php do_action('pre-html-upload-ui'); ?>
|
||||||
<p id="async-upload-wrap">
|
<p id="async-upload-wrap">
|
||||||
<label class="invisible" for="async-upload"><?php _e('Upload'); ?></label>
|
<label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>
|
||||||
<input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a>
|
<input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a>
|
||||||
</p>
|
</p>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
@ -1710,7 +1710,7 @@ function media_upload_library_form($errors) {
|
|||||||
<input type="hidden" name="post_mime_type" value="<?php echo isset( $_GET['post_mime_type'] ) ? esc_attr( $_GET['post_mime_type'] ) : ''; ?>" />
|
<input type="hidden" name="post_mime_type" value="<?php echo isset( $_GET['post_mime_type'] ) ? esc_attr( $_GET['post_mime_type'] ) : ''; ?>" />
|
||||||
|
|
||||||
<p id="media-search" class="search-box">
|
<p id="media-search" class="search-box">
|
||||||
<label class="invisible" for="media-search-input"><?php _e('Search Media');?>:</label>
|
<label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label>
|
||||||
<input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
|
<input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -163,7 +163,7 @@ function install_search_form(){
|
|||||||
<option value="tag"<?php selected('tag', $type) ?>><?php echo _x('Tag', 'Plugin Installer'); ?></option>
|
<option value="tag"<?php selected('tag', $type) ?>><?php echo _x('Tag', 'Plugin Installer'); ?></option>
|
||||||
</select>
|
</select>
|
||||||
<input type="text" name="s" value="<?php echo esc_attr($term) ?>" />
|
<input type="text" name="s" value="<?php echo esc_attr($term) ?>" />
|
||||||
<label class="invisible" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
|
<label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
|
||||||
<input type="submit" id="plugin-search-input" name="search" value="<?php esc_attr_e('Search Plugins'); ?>" class="button" />
|
<input type="submit" id="plugin-search-input" name="search" value="<?php esc_attr_e('Search Plugins'); ?>" class="button" />
|
||||||
</form><?php
|
</form><?php
|
||||||
}
|
}
|
||||||
@ -211,7 +211,7 @@ function install_plugins_upload( $page = 1 ) {
|
|||||||
<p class="install-help"><?php _e('If you have a plugin in a .zip format, You may install it by uploading it here.') ?></p>
|
<p class="install-help"><?php _e('If you have a plugin in a .zip format, You may install it by uploading it here.') ?></p>
|
||||||
<form method="post" enctype="multipart/form-data" action="<?php echo admin_url('update.php?action=upload-plugin') ?>">
|
<form method="post" enctype="multipart/form-data" action="<?php echo admin_url('update.php?action=upload-plugin') ?>">
|
||||||
<?php wp_nonce_field( 'plugin-upload') ?>
|
<?php wp_nonce_field( 'plugin-upload') ?>
|
||||||
<label class="invisible" for="pluginzip"><?php _e('Plugin zip file'); ?></label>
|
<label class="screen-reader-text" for="pluginzip"><?php _e('Plugin zip file'); ?></label>
|
||||||
<input type="file" id="pluginzip" name="pluginzip" />
|
<input type="file" id="pluginzip" name="pluginzip" />
|
||||||
<input type="submit" class="button" value="<?php esc_attr_e('Install Now') ?>" />
|
<input type="submit" class="button" value="<?php esc_attr_e('Install Now') ?>" />
|
||||||
</form>
|
</form>
|
||||||
|
@ -2434,7 +2434,7 @@ function _list_meta_row( $entry, &$count ) {
|
|||||||
$delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] );
|
$delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] );
|
||||||
|
|
||||||
$r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>";
|
$r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>";
|
||||||
$r .= "\n\t\t<td class='left'><label class='invisible' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' />";
|
$r .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' />";
|
||||||
|
|
||||||
$r .= "\n\t\t<div class='submit'><input name='deletemeta[{$entry['meta_id']}]' type='submit' ";
|
$r .= "\n\t\t<div class='submit'><input name='deletemeta[{$entry['meta_id']}]' type='submit' ";
|
||||||
$r .= "class='delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta' tabindex='6' value='". esc_attr__( 'Delete' ) ."' />";
|
$r .= "class='delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta' tabindex='6' value='". esc_attr__( 'Delete' ) ."' />";
|
||||||
@ -2442,7 +2442,7 @@ function _list_meta_row( $entry, &$count ) {
|
|||||||
$r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false );
|
$r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false );
|
||||||
$r .= "</td>";
|
$r .= "</td>";
|
||||||
|
|
||||||
$r .= "\n\t\t<td><label class='invisible' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>";
|
$r .= "\n\t\t<td><label class='screen-reader-text' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>";
|
||||||
return $r;
|
return $r;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3159,7 +3159,7 @@ function find_posts_div($found_action = '') {
|
|||||||
|
|
||||||
<input type="hidden" name="affected" id="affected" value="" />
|
<input type="hidden" name="affected" id="affected" value="" />
|
||||||
<?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?>
|
<?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?>
|
||||||
<label class="invisible" for="find-posts-input"><?php _e( 'Search' ); ?></label>
|
<label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label>
|
||||||
<input type="text" id="find-posts-input" name="ps" value="" />
|
<input type="text" id="find-posts-input" name="ps" value="" />
|
||||||
<input type="button" onclick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br />
|
<input type="button" onclick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br />
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ if ( isset($_GET['deleted']) ) {
|
|||||||
|
|
||||||
<form class="search-form" action="" method="get">
|
<form class="search-form" action="" method="get">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label>
|
<label class="screen-reader-text" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label>
|
||||||
<input type="text" id="link-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
<input type="text" id="link-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Links' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Links' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -25,7 +25,7 @@ include('admin-header.php');
|
|||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Default article settings') ?></th>
|
<th scope="row"><?php _e('Default article settings') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Default article settings') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings') ?></span></legend>
|
||||||
<label for="default_pingback_flag">
|
<label for="default_pingback_flag">
|
||||||
<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> />
|
<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> />
|
||||||
<?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label>
|
<?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label>
|
||||||
@ -43,7 +43,7 @@ include('admin-header.php');
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Other comment settings') ?></th>
|
<th scope="row"><?php _e('Other comment settings') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Other comment settings') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings') ?></span></legend>
|
||||||
<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label>
|
<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label>
|
||||||
<br />
|
<br />
|
||||||
<label for="comment_registration">
|
<label for="comment_registration">
|
||||||
@ -102,7 +102,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('E-mail me whenever') ?></th>
|
<th scope="row"><?php _e('E-mail me whenever') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('E-mail me whenever') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever') ?></span></legend>
|
||||||
<label for="comments_notify">
|
<label for="comments_notify">
|
||||||
<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> />
|
<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> />
|
||||||
<?php _e('Anyone posts a comment') ?> </label>
|
<?php _e('Anyone posts a comment') ?> </label>
|
||||||
@ -114,7 +114,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Before a comment appears') ?></th>
|
<th scope="row"><?php _e('Before a comment appears') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Before a comment appears') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears') ?></span></legend>
|
||||||
<label for="comment_moderation">
|
<label for="comment_moderation">
|
||||||
<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> />
|
<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> />
|
||||||
<?php _e('An administrator must always approve the comment') ?> </label>
|
<?php _e('An administrator must always approve the comment') ?> </label>
|
||||||
@ -124,7 +124,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Comment Moderation') ?></th>
|
<th scope="row"><?php _e('Comment Moderation') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Comment Moderation') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation') ?></span></legend>
|
||||||
<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ) ?></label></p>
|
<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ) ?></label></p>
|
||||||
|
|
||||||
<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p>
|
<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p>
|
||||||
@ -135,7 +135,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Comment Blacklist') ?></th>
|
<th scope="row"><?php _e('Comment Blacklist') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Comment Blacklist') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist') ?></span></legend>
|
||||||
<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p>
|
<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p>
|
||||||
<p>
|
<p>
|
||||||
<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea>
|
<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea>
|
||||||
@ -154,7 +154,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Avatar Display') ?></th>
|
<th scope="row"><?php _e('Avatar Display') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Avatar display') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar display') ?></span></legend>
|
||||||
<?php
|
<?php
|
||||||
$yesorno = array(0 => __("Don’t show Avatars"), 1 => __('Show Avatars'));
|
$yesorno = array(0 => __("Don’t show Avatars"), 1 => __('Show Avatars'));
|
||||||
foreach ( $yesorno as $key => $value) {
|
foreach ( $yesorno as $key => $value) {
|
||||||
@ -166,7 +166,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Maximum Rating') ?></th>
|
<th scope="row"><?php _e('Maximum Rating') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Maximum Rating') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating') ?></span></legend>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$ratings = array( 'G' => __('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'));
|
$ratings = array( 'G' => __('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;
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Default Avatar') ?></th>
|
<th scope="row"><?php _e('Default Avatar') ?></th>
|
||||||
<td class="defaultavatarpicker"><fieldset><legend class="invisible"><span><?php _e('Default Avatar') ?></span></legend>
|
<td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar') ?></span></legend>
|
||||||
|
|
||||||
<?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.'); ?><br />
|
<?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.'); ?><br />
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ include('./admin-header.php');
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Membership') ?></th>
|
<th scope="row"><?php _e('Membership') ?></th>
|
||||||
<td> <fieldset><legend class="invisible"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
|
<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
|
||||||
<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
|
<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
|
||||||
<?php _e('Anyone can register') ?></label>
|
<?php _e('Anyone can register') ?></label>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
@ -197,7 +197,7 @@ if (empty($tzstring)) { // set the Etc zone if no timezone string exists
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Date Format') ?></th>
|
<th scope="row"><?php _e('Date Format') ?></th>
|
||||||
<td>
|
<td>
|
||||||
<fieldset><legend class="invisible"><span><?php _e('Date Format') ?></span></legend>
|
<fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$date_formats = apply_filters( 'date_formats', array(
|
$date_formats = apply_filters( 'date_formats', array(
|
||||||
@ -230,7 +230,7 @@ if (empty($tzstring)) { // set the Etc zone if no timezone string exists
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Time Format') ?></th>
|
<th scope="row"><?php _e('Time Format') ?></th>
|
||||||
<td>
|
<td>
|
||||||
<fieldset><legend class="invisible"><span><?php _e('Time Format') ?></span></legend>
|
<fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$time_formats = apply_filters( 'time_formats', array(
|
$time_formats = apply_filters( 'time_formats', array(
|
||||||
|
@ -41,7 +41,7 @@ include('admin-header.php');
|
|||||||
|
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Medium size') ?></th>
|
<th scope="row"><?php _e('Medium size') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Medium size') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size') ?></span></legend>
|
||||||
<label for="medium_size_w"><?php _e('Max Width'); ?></label>
|
<label for="medium_size_w"><?php _e('Max Width'); ?></label>
|
||||||
<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
|
<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
|
||||||
<label for="medium_size_h"><?php _e('Max Height'); ?></label>
|
<label for="medium_size_h"><?php _e('Max Height'); ?></label>
|
||||||
@ -51,7 +51,7 @@ include('admin-header.php');
|
|||||||
|
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Large size') ?></th>
|
<th scope="row"><?php _e('Large size') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Large size') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size') ?></span></legend>
|
||||||
<label for="large_size_w"><?php _e('Max Width'); ?></label>
|
<label for="large_size_w"><?php _e('Max Width'); ?></label>
|
||||||
<input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
|
<input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
|
||||||
<label for="large_size_h"><?php _e('Max Height'); ?></label>
|
<label for="large_size_h"><?php _e('Max Height'); ?></label>
|
||||||
|
@ -25,7 +25,7 @@ include('./admin-header.php');
|
|||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Blog Visibility') ?> </th>
|
<th scope="row"><?php _e('Blog Visibility') ?> </th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Blog Visibility') ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Blog Visibility') ?> </span></legend>
|
||||||
<p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
|
<p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
|
||||||
<label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers');?></label></p>
|
<label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers');?></label></p>
|
||||||
<p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
|
<p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
|
||||||
|
@ -26,7 +26,7 @@ include('admin-header.php');
|
|||||||
<?php if ( get_pages() ): ?>
|
<?php if ( get_pages() ): ?>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Front page displays')?></th>
|
<th scope="row"><?php _e('Front page displays')?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Front page displays')?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Front page displays')?></span></legend>
|
||||||
<p><label>
|
<p><label>
|
||||||
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
|
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
|
||||||
<?php _e('Your latest posts'); ?>
|
<?php _e('Your latest posts'); ?>
|
||||||
@ -63,7 +63,7 @@ include('admin-header.php');
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('For each article in a feed, show') ?> </th>
|
<th scope="row"><?php _e('For each article in a feed, show') ?> </th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('For each article in a feed, show') ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('For each article in a feed, show') ?> </span></legend>
|
||||||
<p><label><input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_option('rss_use_excerpt')); ?> /> <?php _e('Full text') ?></label><br />
|
<p><label><input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_option('rss_use_excerpt')); ?> /> <?php _e('Full text') ?></label><br />
|
||||||
<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
|
<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
|
@ -30,7 +30,7 @@ include('admin-header.php');
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Formatting') ?></th>
|
<th scope="row"><?php _e('Formatting') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Formatting') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend>
|
||||||
<label for="use_smilies">
|
<label for="use_smilies">
|
||||||
<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> />
|
<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> />
|
||||||
<?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br />
|
<?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br />
|
||||||
@ -61,7 +61,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category
|
|||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Atom Publishing Protocol') ?></th>
|
<th scope="row"><?php _e('Atom Publishing Protocol') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Atom Publishing Protocol') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Atom Publishing Protocol') ?></span></legend>
|
||||||
<label for="enable_app">
|
<label for="enable_app">
|
||||||
<input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> />
|
<input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> />
|
||||||
<?php _e('Enable the Atom Publishing Protocol.') ?></label><br />
|
<?php _e('Enable the Atom Publishing Protocol.') ?></label><br />
|
||||||
@ -69,7 +69,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category
|
|||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('XML-RPC') ?></th>
|
<th scope="row"><?php _e('XML-RPC') ?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('XML-RPC') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend>
|
||||||
<label for="enable_xmlrpc">
|
<label for="enable_xmlrpc">
|
||||||
<input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
|
<input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
|
||||||
<?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
|
<?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
|
||||||
|
@ -425,7 +425,7 @@ function print_plugin_actions($context) {
|
|||||||
|
|
||||||
<form method="get" action="">
|
<form method="get" action="">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="plugin-search-input"><?php _e( 'Search Plugins' ); ?>:</label>
|
<label class="screen-reader-text" for="plugin-search-input"><?php _e( 'Search Plugins' ); ?>:</label>
|
||||||
<input type="text" id="plugin-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
<input type="text" id="plugin-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Plugins' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Plugins' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -481,8 +481,8 @@ var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
|
|||||||
<div id="category-adder" class="wp-hidden-children">
|
<div id="category-adder" class="wp-hidden-children">
|
||||||
<a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a>
|
<a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a>
|
||||||
<p id="category-add" class="wp-hidden-child">
|
<p id="category-add" class="wp-hidden-child">
|
||||||
<label class="invisible" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
|
<label class="screen-reader-text" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
|
||||||
<label class="invisible" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
|
<label class="screen-reader-text" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
|
||||||
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php esc_attr_e( 'Add' ); ?>" tabindex="3" />
|
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php esc_attr_e( 'Add' ); ?>" tabindex="3" />
|
||||||
<?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
|
<?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
|
||||||
<span id="category-ajax-response"></span>
|
<span id="category-ajax-response"></span>
|
||||||
@ -496,7 +496,7 @@ var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
|
|||||||
<div class="inside">
|
<div class="inside">
|
||||||
<div class="tagsdiv" id="post_tag">
|
<div class="tagsdiv" id="post_tag">
|
||||||
<p class="jaxtag">
|
<p class="jaxtag">
|
||||||
<label class="invisible" for="newtag"><?php _e('Post Tags'); ?></label>
|
<label class="screen-reader-text" for="newtag"><?php _e('Post Tags'); ?></label>
|
||||||
<input type="hidden" name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]" value="" />
|
<input type="hidden" name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]" value="" />
|
||||||
<span class="ajaxtag" style="display:none;">
|
<span class="ajaxtag" style="display:none;">
|
||||||
<input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php esc_attr_e('Add new tag'); ?>" />
|
<input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php esc_attr_e('Add new tag'); ?>" />
|
||||||
|
@ -209,7 +209,7 @@ unset($type_links);
|
|||||||
|
|
||||||
<form class="search-form" action="" method="get">
|
<form class="search-form" action="" method="get">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label>
|
<label class="screen-reader-text" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label>
|
||||||
<input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
|
<input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -209,7 +209,7 @@ include ('admin-header.php');
|
|||||||
<?php if (count($_wp_admin_css_colors) > 1 ) : ?>
|
<?php if (count($_wp_admin_css_colors) > 1 ) : ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Admin Color Scheme')?></th>
|
<th scope="row"><?php _e('Admin Color Scheme')?></th>
|
||||||
<td><fieldset><legend class="invisible"><span><?php _e('Admin Color Scheme')?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Admin Color Scheme')?></span></legend>
|
||||||
<?php
|
<?php
|
||||||
$current_color = get_user_option('admin_color', $user_id);
|
$current_color = get_user_option('admin_color', $user_id);
|
||||||
if ( empty($current_color) )
|
if ( empty($current_color) )
|
||||||
|
@ -290,7 +290,7 @@ unset($role_links);
|
|||||||
|
|
||||||
<form class="search-form" action="" method="get">
|
<form class="search-form" action="" method="get">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="invisible" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label>
|
<label class="screen-reader-text" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label>
|
||||||
<input type="text" id="user-search-input" name="usersearch" value="<?php echo esc_attr($wp_user_search->search_term); ?>" />
|
<input type="text" id="user-search-input" name="usersearch" value="<?php echo esc_attr($wp_user_search->search_term); ?>" />
|
||||||
<input type="submit" value="<?php esc_attr_e( 'Search Users' ); ?>" class="button" />
|
<input type="submit" value="<?php esc_attr_e( 'Search Users' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
@ -309,7 +309,7 @@ unset($role_links);
|
|||||||
<option value="delete"><?php _e('Delete'); ?></option>
|
<option value="delete"><?php _e('Delete'); ?></option>
|
||||||
</select>
|
</select>
|
||||||
<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
||||||
<label class="invisible" for="new_role"><?php _e('Change role to…') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to…') ?></option><?php wp_dropdown_roles(); ?></select>
|
<label class="screen-reader-text" for="new_role"><?php _e('Change role to…') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to…') ?></option><?php wp_dropdown_roles(); ?></select>
|
||||||
<input type="submit" value="<?php esc_attr_e('Change'); ?>" name="changeit" class="button-secondary" />
|
<input type="submit" value="<?php esc_attr_e('Change'); ?>" name="changeit" class="button-secondary" />
|
||||||
<?php wp_nonce_field('bulk-users'); ?>
|
<?php wp_nonce_field('bulk-users'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2433,7 +2433,7 @@ fieldset {
|
|||||||
margin: 0 9px 0 0;
|
margin: 0 9px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#screen-meta .invisible {
|
#screen-meta .screen-reader-text {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ This is just a basic layout, with only the bare minimum defined.
|
|||||||
Please tweak this and make it your own. :)
|
Please tweak this and make it your own. :)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.invisible {
|
.screen-reader-text {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -1000em;
|
left: -1000em;
|
||||||
}
|
}
|
||||||
|
@ -655,7 +655,7 @@ blockquote cite {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.invisible {
|
.screen-reader-text {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -1000em;
|
left: -1000em;
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,7 @@ function get_search_form() {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
$form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" >
|
$form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" >
|
||||||
<div><label class="invisible" for="s">' . __('Search for:') . '</label>
|
<div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label>
|
||||||
<input type="text" value="' . esc_attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
|
<input type="text" value="' . esc_attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
|
||||||
<input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" />
|
<input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user