Standardize button and select treatments. Props mt. fixes #5925

git-svn-id: https://develop.svn.wordpress.org/trunk@6918 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-19 20:33:59 +00:00
parent 9053495e26
commit 49797f0f70
13 changed files with 41 additions and 27 deletions

View File

@ -126,7 +126,7 @@ $messages[5] = __('Category not updated.');
<p id="post-search">
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" />
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
</p>
<br style="clear:both;" />
@ -134,7 +134,7 @@ $messages[5] = __('Category not updated.');
<div class="tablenav">
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
<?php wp_nonce_field('bulk-categories'); ?>
</div>

View File

@ -16,7 +16,7 @@ else $mode = attribute_escape($_GET['mode']);
<fieldset>
<legend><?php _e('Show Comments That Contain...') ?></legend>
<input type="text" name="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" size="17" />
<input type="submit" name="submit" value="<?php _e('Search') ?>" />
<input type="submit" name="submit" value="<?php _e('Search') ?>" class="button" />
<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
<?php _e('(Searches within comment text, e-mail, URL, and IP address.)') ?>
</fieldset>

View File

@ -56,7 +56,7 @@ if (isset($_GET['message'])) : ?>
<p id="post-search">
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" />
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
</p>
<br style="clear:both;" />
@ -82,7 +82,7 @@ if ( $page_links )
?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
<?php wp_nonce_field('bulk-link-categories'); ?>
</div>

View File

@ -99,7 +99,7 @@ unset($status_links);
<p id="post-search">
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" />
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
</p>
<br style="clear:both;" />
@ -107,7 +107,7 @@ unset($status_links);
<div class="tablenav">
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
<?php wp_nonce_field('bulk-pages'); ?>
</div>

View File

@ -118,7 +118,7 @@ $messages[6] = __('Tags deleted.');
<p id="post-search">
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
<input type="submit" value="<?php _e( 'Search Tags' ); ?>" />
<input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" />
</p>
<br style="clear:both;" />
@ -144,7 +144,7 @@ if ( $page_links )
?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
<?php wp_nonce_field('bulk-tags'); ?>
</div>

View File

@ -113,7 +113,7 @@ endif;
<p id="post-search">
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Posts' ); ?>" />
<input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" />
</p>
<?php do_action('restrict_manage_posts'); ?>
@ -135,7 +135,7 @@ if ( $page_links )
?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
<?php wp_nonce_field('bulk-posts'); ?>
<?php
@ -168,7 +168,7 @@ foreach ($arc_result as $arc_row) {
<?php } ?>
<?php wp_dropdown_categories('show_option_all='.__('View all categories').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?>
<input type="submit" id="post-query-submit" value="<?php _e('Filter &#187;'); ?>" class="button" />
<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button" />
</div>

View File

@ -81,7 +81,7 @@ if ( isset($_GET['deleted']) ) {
<p id="post-search">
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
<input type="submit" value="<?php _e( 'Search Links' ); ?>" />
<input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" />
</p>
<br style="clear:both;" />
@ -89,7 +89,7 @@ if ( isset($_GET['deleted']) ) {
<div class="tablenav">
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
<?php
$categories = get_terms('link_category', "hide_empty=1");
$select_cat = "<select name=\"cat_id\">\n";

View File

@ -137,7 +137,7 @@ if ($plugin_files) :
if ( isset($_GET['phperror']) )
echo "<input type='hidden' name='phperror' value='1' /><input type='submit' name='submit' value='" . __('Update File and Attempt to Reactivate &raquo;') . "' tabindex='2' />";
else
echo "<input type='submit' name='submit' value='" . __('Update File &raquo;') . "' tabindex='2' />";
echo "<input type='submit' name='submit' value='" . __('Update File') . "' tabindex='2' />";
?>
</p>
<?php else : ?>

View File

@ -104,7 +104,7 @@ $desc_header = ( $description != $file_show ) ? "$description</strong> (%s)" : "
}
?>
</select>
<input type="submit" name="Submit" value="<?php _e('Select') ?>" class="button" style="padding: 0px;" />
<input type="submit" name="Submit" value="<?php _e('Select') ?>" class="button" />
</form>
</div>
<br style="clear: both;" />
@ -160,7 +160,7 @@ if ($allowed_files) :
<?php if ( is_writeable($real_file) ) : ?>
<p class="submit">
<?php
echo "<input type='submit' name='submit' value=' " . __('Update File &raquo;') . "' tabindex='2' />";
echo "<input type='submit' name='submit' value='" . __('Update File') . "' tabindex='2' />";
?>
</p>
<?php else : ?>

View File

@ -116,7 +116,7 @@ endif;
<p id="post-search">
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Media' ); ?>" />
<input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button" />
</p>
<?php do_action('restrict_manage_posts'); ?>
@ -138,7 +138,7 @@ if ( $page_links )
?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
<?php wp_nonce_field('bulk-posts'); ?>
<?php

View File

@ -149,7 +149,7 @@ case 'delete':
<?php echo '<label for="delete_option1">'.__('Attribute all posts and links to:')."</label> $user_dropdown"; ?></li>
</ul>
<input type="hidden" name="action" value="dodelete" />
<p class="submit"><input type="submit" name="submit" value="<?php _e('Confirm Deletion'); ?>" /></p>
<p class="submit"><input type="submit" name="submit" value="<?php _e('Confirm Deletion'); ?>" class="button" /></p>
<?php else : ?>
<p><?php _e('There are no valid users selected for deletion.'); ?></p>
<?php endif; ?>
@ -275,7 +275,7 @@ unset($role_links);
</ul>
<p id="post-search">
<input type="text" id="post-search-input" name="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" />
<input type="submit" value="<?php _e( 'Search Users' ); ?>" />
<input type="submit" value="<?php _e( 'Search Users' ); ?>" class="button" />
</p>
<br style="clear:both;" />
@ -287,7 +287,7 @@ unset($role_links);
<?php endif; ?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
<?php wp_nonce_field('bulk-users'); ?>
</div>
@ -436,7 +436,7 @@ foreach ( $wp_user_search->get_results() as $userid ) {
</table>
<p class="submit">
<?php echo $referer; ?>
<input name="adduser" type="submit" id="addusersub" value="<?php _e('Add User &raquo;') ?>" />
<input name="adduser" type="submit" id="addusersub" value="<?php _e('Add User') ?>" />
</p>
</form>

View File

@ -181,7 +181,7 @@ if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?>
<h2><?php _e( 'Widgets' ); ?></h2>
<p id="widget-search">
<input type="text" id="widget-search-input" name="s" value="<?php echo attribute_escape( $widget_search ); ?>" />
<input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" />
<input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" class="button" />
</p>
<div class="widget-liquid-left-holder">
@ -193,7 +193,7 @@ if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?>
<option value='<?php echo $show_value; ?>'<?php selected( $show_value, $show ); ?>><?php echo wp_specialchars( $show_text ); ?></option>
<?php endforeach; ?>
</select>
<input type="submit" value="<?php _e('Show' ); ?>" />
<input type="submit" value="<?php _e('Show' ); ?>" class="button" />
<p class="pagenav">
<?php echo $page_links; ?>
</p>
@ -210,7 +210,7 @@ if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?>
<option value='<?php echo $sidebar_id; ?>'<?php selected( $sidebar_id, $sidebar ); ?>><?php echo wp_specialchars( $registered_sidebar['name'] ); ?></option>
<?php endforeach; ?>
</select>
<input type="submit" value="<?php _e('Go' ); ?>" />
<input type="submit" value="<?php _e('Go' ); ?>" class="button" />
</div>
</div>

View File

@ -134,7 +134,7 @@ form#upload #post_content {
.submit input, .submit input:focus, .button, .button:focus {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
color: #246;
padding: 6px;
padding: 4px 6px;
background: #e5e5e5;
border: none;
-moz-border-radius: 2px;
@ -147,6 +147,13 @@ form#upload #post_content {
color: #d54e21;
}
select {
background: #fff;
border: 1px solid #ddd;
font: 12px/14px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
padding: none;
}
.editform th, #postcustomsubmit {
text-align: right;
}
@ -508,6 +515,13 @@ p.pagenav {
margin: 0 6px;
}
.tablenav .button,
div.nav .button,
.niceblue tr .button {
padding: 4px 6px;
background: #cee1ef;
}
.tablenav .dots {
background-color: #e4f2fd;
border-color: #e4f2fd;