Use invisible class for hiding labels and legends.
git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1504303718
commit
4a047f4240
@ -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="hidden" for="category-search-input"><?php _e('Search Categories'); ?>:</label>
|
<label class="invisible" 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 _ea( 'Search Categories' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( 'Search Categories' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -186,11 +186,12 @@ table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Hide visually but not from screen readers */
|
/* Hide visually but not from screen readers */
|
||||||
.hidden {
|
.invisible {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -1000em;
|
left: -1000em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hidden,
|
||||||
.js .closed .inside,
|
.js .closed .inside,
|
||||||
.js .hide-if-js,
|
.js .hide-if-js,
|
||||||
.no-js .hide-if-no-js {
|
.no-js .hide-if-no-js {
|
||||||
|
@ -180,7 +180,7 @@ unset($status_links);
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="hidden" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label>
|
<label class="invisible" 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 _ea( 'Search Comments' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( 'Search Comments' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -280,7 +280,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 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 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="hidden" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label>
|
<label class="invisible" 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 _ea('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 _ea('Add new tag'); ?>" />
|
||||||
<input type="button" class="button tagadd" value="<?php _ea('Add'); ?>" tabindex="3" />
|
<input type="button" class="button tagadd" value="<?php _ea('Add'); ?>" tabindex="3" />
|
||||||
</span></div>
|
</span></div>
|
||||||
@ -331,8 +331,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="hidden" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _ea( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
|
<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 _ea( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
|
||||||
<label class="hidden" 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="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 ) ); ?>
|
||||||
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _ea( 'Add' ); ?>" tabindex="3" />
|
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _ea( '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>
|
||||||
@ -357,7 +357,7 @@ function post_password_meta_box($post) {
|
|||||||
<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>
|
<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>
|
||||||
<h4><?php _e( 'Post Password' ); ?></h4>
|
<h4><?php _e( 'Post Password' ); ?></h4>
|
||||||
<p><label class="hidden" 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="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><?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
|
||||||
}
|
}
|
||||||
@ -372,7 +372,7 @@ function post_password_meta_box($post) {
|
|||||||
*/
|
*/
|
||||||
function post_excerpt_meta_box($post) {
|
function post_excerpt_meta_box($post) {
|
||||||
?>
|
?>
|
||||||
<label class="hidden" 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="invisible" 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. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p>
|
<p><?php _e('Excerpts are optional hand-crafted summaries of your content. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@ -499,7 +499,7 @@ if ( 'publish' == $post->post_status || 'private' == $post->post_status )
|
|||||||
*/
|
*/
|
||||||
function post_slug_meta_box($post) {
|
function post_slug_meta_box($post) {
|
||||||
?>
|
?>
|
||||||
<label class="hidden" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attr( $post->post_name ); ?>" />
|
<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 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' ) ) )
|
||||||
@ -522,7 +522,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="hidden" 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="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) ); ?>
|
||||||
<?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');
|
||||||
@ -597,7 +597,7 @@ else
|
|||||||
<div id="post-body-content">
|
<div id="post-body-content">
|
||||||
<div id="titlediv">
|
<div id="titlediv">
|
||||||
<div id="titlewrap">
|
<div id="titlewrap">
|
||||||
<label class="hidden" for="title"><?php _e('Title') ?></label>
|
<label class="invisible" for="title"><?php _e('Title') ?></label>
|
||||||
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
|
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo 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="hidden" for="link-category-search-input"><?php _e( 'Search Categories' ); ?>:</label>
|
<label class="invisible" 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 _ea( 'Search Categories' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( '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="hidden" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
|
<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 _ea( 'New category name' ); ?>" aria-required="true" />
|
<input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _ea( 'New category name' ); ?>" aria-required="true" />
|
||||||
<input type="button" id="category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php _ea( 'Add' ); ?>" />
|
<input type="button" id="category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php _ea( '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="hidden"><?php _e('Target') ?></legend>
|
<fieldset><legend class="invisible"><?php _e('Target') ?></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="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </legend>
|
<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </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="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </legend>
|
<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </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="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </legend>
|
<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </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="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </legend>
|
<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </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="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </legend>
|
<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </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="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </legend>
|
<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </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="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </legend>
|
<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </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>
|
||||||
|
@ -260,7 +260,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="hidden" 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="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><?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
|
||||||
}
|
}
|
||||||
@ -276,14 +276,14 @@ 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="hidden" for="parent_id"><?php _e('Page Parent') ?></label>
|
<label class="invisible" 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="hidden" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">
|
<label class="invisible" 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>
|
||||||
@ -292,7 +292,7 @@ function page_attributes_meta_box($post){
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<h5><?php _e('Order') ?></h5>
|
<h5><?php _e('Order') ?></h5>
|
||||||
<p><label class="hidden" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo attr($post->menu_order) ?>" /></p>
|
<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 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
|
||||||
}
|
}
|
||||||
@ -348,7 +348,7 @@ add_meta_box('pagecommentstatusdiv', __('Discussion'), 'page_comments_status_met
|
|||||||
*/
|
*/
|
||||||
function page_slug_meta_box($post){
|
function page_slug_meta_box($post){
|
||||||
?>
|
?>
|
||||||
<label class="hidden" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attr( $post->post_name ); ?>" />
|
<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 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');
|
||||||
@ -370,7 +370,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="hidden" 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="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) ); ?>
|
||||||
<?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');
|
||||||
@ -441,7 +441,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="hidden" for="title"><?php _e('Title') ?></label>
|
<label class="invisible" for="title"><?php _e('Title') ?></label>
|
||||||
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
|
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo 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="hidden" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label>
|
<label class="invisible" 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 _ea( 'Search Pages' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( '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="hidden" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label>
|
<label class="invisible" 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 _ea( 'Search Tags' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( 'Search Tags' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -164,7 +164,7 @@ endif;
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
|
<label class="invisible" 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 _ea( 'Search Posts' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( 'Search Posts' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -757,7 +757,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="hidden"><?php _e('Connection Type') ?></legend>
|
<fieldset><legend class="invisible"><?php _e('Connection Type') ?></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 } ?>
|
||||||
|
@ -1350,7 +1350,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="hidden" for="async-upload"><?php _e('Upload'); ?></label>
|
<label class="invisible" 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 _ea('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 _ea('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a>
|
||||||
</p>
|
</p>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
@ -1706,7 +1706,7 @@ function media_upload_library_form($errors) {
|
|||||||
<input type="hidden" name="post_mime_type" value="<?php echo isset( $_GET['post_mime_type'] ) ? attr( $_GET['post_mime_type'] ) : ''; ?>" />
|
<input type="hidden" name="post_mime_type" value="<?php echo isset( $_GET['post_mime_type'] ) ? attr( $_GET['post_mime_type'] ) : ''; ?>" />
|
||||||
|
|
||||||
<p id="media-search" class="search-box">
|
<p id="media-search" class="search-box">
|
||||||
<label class="hidden" for="media-search-input"><?php _e('Search Media');?>:</label>
|
<label class="invisible" 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 _ea( 'Search Media' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( 'Search Media' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -163,7 +163,7 @@ function install_search_form(){
|
|||||||
<option value="tag"<?php selected('tag', $type) ?>><?php _x('Tag', 'Plugin Installer') ?></option>
|
<option value="tag"<?php selected('tag', $type) ?>><?php _x('Tag', 'Plugin Installer') ?></option>
|
||||||
</select>
|
</select>
|
||||||
<input type="text" name="s" value="<?php echo attr($term) ?>" />
|
<input type="text" name="s" value="<?php echo attr($term) ?>" />
|
||||||
<label class="hidden" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
|
<label class="invisible" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
|
||||||
<input type="submit" id="plugin-search-input" name="search" value="<?php _ea('Search Plugins') ?>" class="button" />
|
<input type="submit" id="plugin-search-input" name="search" value="<?php _ea('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="hidden" for="pluginzip"><?php _e('Plugin zip file'); ?></label>
|
<label class="invisible" 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 _ea('Install Now') ?>" />
|
<input type="submit" class="button" value="<?php _ea('Install Now') ?>" />
|
||||||
</form>
|
</form>
|
||||||
|
@ -3162,7 +3162,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="hidden" for="find-posts-input"><?php _e( 'Search' ); ?></label>
|
<label class="invisible" 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 _ea( 'Search' ); ?>" class="button" /><br />
|
<input type="button" onclick="findPosts.send();" value="<?php _ea( '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="hidden" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label>
|
<label class="invisible" 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 _ea( 'Search Links' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( '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="hidden"><?php _e('Default article settings') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Default article settings') ?></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="hidden"><?php _e('Other comment settings') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Other comment settings') ?></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="hidden"><?php _e('E-mail me whenever') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('E-mail me whenever') ?></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="hidden"><?php _e('Before a comment appears') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Before a comment appears') ?></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="hidden"><?php _e('Comment Moderation') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Comment Moderation') ?></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="' . 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="' . 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="hidden"><?php _e('Comment Blacklist') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Comment Blacklist') ?></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="hidden"><?php _e('Avatar display') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Avatar display') ?></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="hidden"><?php _e('Maximum Rating') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Maximum Rating') ?></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="hidden"><?php _e('Default Avatar') ?></legend>
|
<td class="defaultavatarpicker"><fieldset><legend class="invisible"><?php _e('Default Avatar') ?></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="hidden"><?php _e('Membership') ?></legend><label for="users_can_register">
|
<td> <fieldset><legend class="invisible"><?php _e('Membership') ?></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="hidden"><?php _e('Date Format') ?></legend>
|
<fieldset><legend class="invisible"><?php _e('Date Format') ?></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="hidden"><?php _e('Time Format') ?></legend>
|
<fieldset><legend class="invisible"><?php _e('Time Format') ?></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="hidden"><?php _e('Medium size') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Medium size') ?></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="hidden"><?php _e('Large size') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Large size') ?></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="hidden"><?php _e('Blog Visibility') ?> </legend>
|
<td><fieldset><legend class="invisible"><?php _e('Blog Visibility') ?> </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="hidden"><?php _e('Front page displays')?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Front page displays')?></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="hidden"><?php _e('For each article in a feed, show') ?> </legend>
|
<td><fieldset><legend class="invisible"><?php _e('For each article in a feed, show') ?> </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="hidden"><?php _e('Formatting') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Formatting') ?></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="hidden"><?php _e('Atom Publishing Protocol') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Atom Publishing Protocol') ?></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="hidden"><?php _e('XML-RPC') ?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('XML-RPC') ?></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 />
|
||||||
|
@ -424,7 +424,7 @@ function print_plugin_actions($context) {
|
|||||||
|
|
||||||
<form method="get" action="">
|
<form method="get" action="">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="hidden" for="plugin-search-input"><?php _e( 'Search Plugins' ); ?>:</label>
|
<label class="invisible" 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 _ea( 'Search Plugins' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( '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="hidden" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _ea( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
|
<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 _ea( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
|
||||||
<label class="hidden" 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="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 ) ); ?>
|
||||||
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _ea( 'Add' ); ?>" tabindex="3" />
|
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _ea( '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="hidden" for="newtag"><?php _e('Post Tags'); ?></label>
|
<label class="invisible" 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 _ea('Add new tag'); ?>" />
|
<input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _ea('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="hidden" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label>
|
<label class="invisible" 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 _ea( 'Search Media' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( '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="hidden"><?php _e('Admin Color Scheme')?></legend>
|
<td><fieldset><legend class="invisible"><?php _e('Admin Color Scheme')?></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="hidden" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label>
|
<label class="invisible" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label>
|
||||||
<input type="text" id="user-search-input" name="usersearch" value="<?php echo attr($wp_user_search->search_term); ?>" />
|
<input type="text" id="user-search-input" name="usersearch" value="<?php echo attr($wp_user_search->search_term); ?>" />
|
||||||
<input type="submit" value="<?php _ea( 'Search Users' ); ?>" class="button" />
|
<input type="submit" value="<?php _ea( '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 _ea('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
<input type="submit" value="<?php _ea('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
||||||
<label class="hidden" 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="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>
|
||||||
<input type="submit" value="<?php _ea('Change'); ?>" name="changeit" class="button-secondary" />
|
<input type="submit" value="<?php _ea('Change'); ?>" name="changeit" class="button-secondary" />
|
||||||
<?php wp_nonce_field('bulk-users'); ?>
|
<?php wp_nonce_field('bulk-users'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -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="hidden" for="s">' . __('Search for:') . '</label>
|
<div><label class="invisible" for="s">' . __('Search for:') . '</label>
|
||||||
<input type="text" value="' . attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
|
<input type="text" value="' . attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
|
||||||
<input type="submit" id="searchsubmit" value="'. _a('Search') .'" />
|
<input type="submit" id="searchsubmit" value="'. _a('Search') .'" />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user