Change niceblue class name to form-table. Props filosofo and mt. fixes #5973

git-svn-id: http://svn.automattic.com/wordpress/trunk@7000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-24 04:33:10 +00:00
parent cfb44d3d90
commit ece9c26f6f
21 changed files with 34 additions and 34 deletions

View File

@ -93,7 +93,7 @@ if ( 'spam' == $_GET['dt'] ) {
<input type='hidden' name='noredir' value='1' />
</form>
<table class="niceblue" cellpadding="5">
<table class="form-table" cellpadding="5">
<tr class="alt">
<th scope="row"><?php _e('Author'); ?></th>
<td><?php echo $comment->comment_author; ?></td>

View File

@ -65,19 +65,19 @@ td input { font-size: 1.5em; }
color: #d54e21;
}
.niceblue {
.form-table {
border-collapse: collapse;
margin-top: 1em;
width: 100%;
}
.niceblue td {
.form-table td {
margin-bottom: 9px;
padding: 10px;
border-bottom: 8px solid #fff;
}
.niceblue th {
.form-table th {
font-size: 12px;
text-align: left;
padding: 12px 10px 10px 10px;
@ -86,16 +86,16 @@ td input { font-size: 1.5em; }
vertical-align: top;
}
.niceblue tr {
.form-table tr {
background: #eaf3fa;
}
.niceblue code {
.form-table code {
line-height: 18px;
font-size: 18px;
}
.niceblue p {
.form-table p {
margin: 4px 0 0 0;
font-size: 11px;
}

View File

@ -23,7 +23,7 @@ if ( ! empty($cat_ID) ) {
<input type="hidden" name="action" value="<?php echo $action ?>" />
<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
<?php wp_nonce_field($nonce_action); ?>
<table class="niceblue">
<table class="form-table">
<tr class="form-field form-required">
<th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th>
<td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" /></td>

View File

@ -23,7 +23,7 @@ if ( ! empty($cat_ID) ) {
<input type="hidden" name="action" value="<?php echo $action ?>" />
<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
<?php wp_nonce_field($nonce_action); ?>
<table class="niceblue">
<table class="form-table">
<tr class="form-field form-required">
<th scope="row" valign="top"><label for="name"><?php _e('Category name') ?></label></th>
<td><input name="name" id="name" type="text" value="<?php echo $category->name; ?>" size="40" /></td>

View File

@ -23,7 +23,7 @@ if ( ! empty($tag_ID) ) {
<input type="hidden" name="action" value="<?php echo $action ?>" />
<input type="hidden" name="tag_ID" value="<?php echo $tag->term_id ?>" />
<?php wp_nonce_field($nonce_action); ?>
<table class="niceblue">
<table class="form-table">
<tr class="form-field form-required">
<th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
<td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" /></td>

View File

@ -640,7 +640,7 @@ class Dotclear_Import {
function db_form()
{
echo '<table class="niceblue">';
echo '<table class="form-table">';
printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('DotClear Database User:'));
printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:'));
printf('<tr><th><label for="dbname">%s</label></th><td><input type="text" name="dbname" id="dbname" /></td></tr>', __('DotClear Database Name:'));

View File

@ -36,7 +36,7 @@ class GM_Import {
<input type="hidden" name="step" value="1" />
<?php wp_nonce_field('import-greymatter'); ?>
<h3><?php _e('Second step: GreyMatter details:') ?></h3>
<table class="niceblue">
<table class="form-table">
<tr>
<td><?php _e('Path to GM files:') ?></td>
<td><input type="text" style="width:300px" name="gmpath" value="/home/my/site/cgi-bin/greymatter/" /></td>

View File

@ -575,7 +575,7 @@ class Textpattern_Import {
function db_form()
{
echo '<table class="niceblue">';
echo '<table class="form-table">';
printf('<tr><th scope="row"><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('Textpattern Database User:'));
printf('<tr><th scope="row"><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('Textpattern Database Password:'));
printf('<tr><th scope="row"><label for="dbname">%s</label></th><td><input type="text" id="dbname" name="dbname" /></td></tr>', __('Textpattern Database Name:'));

View File

@ -45,7 +45,7 @@ switch($step) {
<p><?php _e("Please provide the following information. Don't worry, you can always change these settings later."); ?></p>
<form id="setup" method="post" action="install.php?step=2">
<table class="niceblue">
<table class="form-table">
<tr>
<th scope="row"><?php _e('Blog Title'); ?></th>
<td><input name="weblog_title" type="text" id="weblog_title" size="25" /></td>
@ -91,7 +91,7 @@ switch($step) {
<p><?php printf(__('WordPress has been installed. Were you expecting more steps? Sorry to disappoint.'), ''); ?></p>
<table class="niceblue">
<table class="form-table">
<tr>
<th><?php _e('Username'); ?></th>
<td><code>admin</code></td>

View File

@ -11,7 +11,7 @@ include('admin-header.php');
<h2><?php _e('Discussion Settings') ?></h2>
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue">
<table class="form-table">
<tr valign="top">
<th scope="row"><?php _e('Default article settings') ?></th>
<td>

View File

@ -11,7 +11,7 @@ include('./admin-header.php');
<h2><?php _e('General Settings') ?></h2>
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue">
<table class="form-table">
<tr valign="top">
<th scope="row"><?php _e('Blog Title') ?></th>
<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td>

View File

@ -13,7 +13,7 @@ include('admin-header.php');
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<h3><?php _e('Uploading'); ?></h3>
<table class="niceblue">
<table class="form-table">
<tr valign="top">
<th scope="row"><?php _e('Store uploads in this folder'); ?></th>
<td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" size="40" />
@ -37,7 +37,7 @@ include('admin-header.php');
</th>
</tr>
</table>
<table class="niceblue">
<table class="form-table">
<tr>
<th colspan="2"><input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1" <?php checked('1', get_option('use_linksupdate')); ?> />
<label for="use_linksupdate"><?php _e('Track Links&#8217; Update Times') ?></label>

View File

@ -127,7 +127,7 @@ $structures = array(
);
?>
<h3><?php _e('Common settings'); ?></h3>
<table class="niceblue">
<table class="form-table">
<tr>
<th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th>
<td><code><?php echo get_option('home'); ?>/?p=123</code></td>
@ -163,7 +163,7 @@ $structures = array(
<p><?php _e('If you like, you may enter custom bases for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/index.php/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>
<?php endif; ?>
<table class="niceblue">
<table class="form-table">
<tr>
<th><?php _e('Category base'); ?></th>
<td><input name="category_base" id="category_base" type="text" class="code" value="<?php echo attribute_escape($category_base); ?>" size="30" /></td>

View File

@ -11,7 +11,7 @@ include('./admin-header.php');
<h2><?php _e('Privacy Settings') ?></h2>
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue">
<table class="form-table">
<tr valign="top">
<th scope="row"><?php _e('Blog Visibility') ?> </th>
<td>

View File

@ -11,7 +11,7 @@ include('admin-header.php');
<h2><?php _e('Reading Settings') ?></h2>
<form name="form1" method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue">
<table class="form-table">
<?php if ( get_pages() ): ?>
<tr valign="top">
<th scope="row"><?php _e('Front page displays')?></th>

View File

@ -12,7 +12,7 @@ include('admin-header.php');
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue">
<table class="form-table">
<tr valign="top">
<th scope="row"> <?php _e('Size of the post box') ?></th>
<td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" size="2" style="width: 1.5em; " />
@ -60,7 +60,7 @@ endforeach;
<h3><?php _e('Image sizes') ?></h3>
<p><?php _e('The sizes listed below determine the maximum dimensions to use when inserting an image into the body of a post.'); ?></p>
<table class="niceblue">
<table class="form-table">
<tr valign="top">
<th scope="row"><?php _e('Thumbnail size') ?></th>
<td>
@ -84,7 +84,7 @@ endforeach;
<h3><?php _e('Post via e-mail') ?></h3>
<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), wp_generate_password(), wp_generate_password(), wp_generate_password()) ?></p>
<table class="niceblue">
<table class="form-table">
<tr valign="top">
<th scope="row"><?php _e('Mail Server') ?></th>
<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" size="40" />

View File

@ -48,7 +48,7 @@ default:
<form name="form" action="options.php" method="post" id="all-options">
<?php wp_nonce_field('update-options') ?>
<input type="hidden" name="action" value="update" />
<table class="niceblue">
<table class="form-table">
<?php
$options = $wpdb->get_results("SELECT * FROM $wpdb->options ORDER BY option_name");

View File

@ -66,7 +66,7 @@ switch($step) {
?>
<form method="post" action="setup-config.php?step=2">
<p>Below you should enter your database connection details. If you're not sure about these, contact your host. </p>
<table class="niceblue">
<table class="form-table">
<tr>
<th scope="row">Database Name</th>
<td><input name="dbname" type="text" size="25" value="wordpress" /></td>

View File

@ -31,7 +31,7 @@ function request_filesystem_credentials($form_post, $type = '') {
<div class="wrap">
<h2><?php _e('FTP Connection Information') ?></h2>
<p><?php _e('To perform the requested update, FTP connection information is required.') ?></p>
<table class="niceblue">
<table class="form-table">
<tr valign="top">
<th scope="row"><?php _e('Hostname:') ?></th>
<td><input name="hostname" type="text" id="hostname" value="<?php echo attribute_escape($hostname) ?>" size="40" /></td>

View File

@ -401,7 +401,7 @@ foreach ( $wp_user_search->get_results() as $userid ) {
?>
<form action="#add-new-user" method="post" name="adduser" id="adduser" class="add:user-list:">
<?php wp_nonce_field('add-user') ?>
<table class="niceblue">
<table class="form-table">
<tr class="form-field form-required">
<th scope="row"><?php _e('Username (required)') ?><input name="action" type="hidden" id="action" value="adduser" /></th>
<td ><input name="user_login" type="text" id="user_login" value="<?php echo $new_user_login; ?>" /></td>

View File

@ -929,26 +929,26 @@ html, body {
/* Tables used on comment.php and option/setting pages */
.niceblue {
.form-table {
border-collapse: collapse;
margin-top: 1em;
width: 100%;
}
.niceblue td {
.form-table td {
margin-bottom: 9px;
padding: 10px;
border-bottom: 8px solid #fff;
line-height: 20px;
}
.niceblue th {
.form-table th {
text-align: left;
padding: 10px;
border-bottom: 8px solid #fff;
}
.niceblue tr {
.form-table tr {
background: #eaf3fa;
}