Add labels to text inputs. see #9445
git-svn-id: http://svn.automattic.com/wordpress/trunk@11152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -163,7 +163,8 @@ function install_search_form(){
|
||||
<option value="tag"<?php selected('tag', $type) ?>><?php _x('Tag', 'Plugin Installer') ?></option>
|
||||
</select>
|
||||
<input type="text" name="s" value="<?php echo attr($term) ?>" />
|
||||
<input type="submit" name="search" value="<?php echo attr(__('Search')) ?>" class="button" />
|
||||
<label class="hidden" 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" />
|
||||
</form><?php
|
||||
}
|
||||
|
||||
@@ -210,7 +211,8 @@ 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>
|
||||
<form method="post" enctype="multipart/form-data" action="<?php echo admin_url('update.php?action=upload-plugin') ?>">
|
||||
<?php wp_nonce_field( 'plugin-upload') ?>
|
||||
<input type="file" name="pluginzip" />
|
||||
<label class="hidden" for="pluginzip"><?php _e('Plugin zip file'); ?></label>
|
||||
<input type="file" id="pluginzip" name="pluginzip" />
|
||||
<input type="submit" class="button" value="<?php _e('Install Now') ?>" />
|
||||
</form>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user