A few more stylings -- options/settings still need a lot more work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3177977de8
commit
8720ce2827
|
@ -91,25 +91,25 @@ if ( 'spam' == $_GET['dt'] ) {
|
||||||
<input type='hidden' name='noredir' value='1' />
|
<input type='hidden' name='noredir' value='1' />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<table class="editform" cellpadding="5">
|
<table class="niceblue" cellpadding="5">
|
||||||
<tr class="alt">
|
<tr class="alt">
|
||||||
<th scope="row"><?php _e('Author:'); ?></th>
|
<th scope="row"><?php _e('Author'); ?></th>
|
||||||
<td><?php echo $comment->comment_author; ?></td>
|
<td><?php echo $comment->comment_author; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php if ( $comment->comment_author_email ) { ?>
|
<?php if ( $comment->comment_author_email ) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('E-mail:'); ?></th>
|
<th scope="row"><?php _e('E-mail'); ?></th>
|
||||||
<td><?php echo $comment->comment_author_email; ?></td>
|
<td><?php echo $comment->comment_author_email; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ( $comment->comment_author_url ) { ?>
|
<?php if ( $comment->comment_author_url ) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('URL:'); ?></th>
|
<th scope="row"><?php _e('URL'); ?></th>
|
||||||
<td><a href='<?php echo $comment->comment_author_url; ?>'><?php echo $comment->comment_author_url; ?></a></td>
|
<td><a href='<?php echo $comment->comment_author_url; ?>'><?php echo $comment->comment_author_url; ?></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" valign="top"><?php _e('Comment:'); ?></th>
|
<th scope="row" valign="top"><?php _e('Comment'); ?></th>
|
||||||
<td><?php echo $comment->comment_content; ?></td>
|
<td><?php echo $comment->comment_content; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -12,7 +12,7 @@ include('./admin-header.php');
|
||||||
<form method="post" action="options.php">
|
<form method="post" action="options.php">
|
||||||
<?php wp_nonce_field('update-options') ?>
|
<?php wp_nonce_field('update-options') ?>
|
||||||
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /></p>
|
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /></p>
|
||||||
<table class="optiontable">
|
<table class="niceblue">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Blog title:') ?></th>
|
<th scope="row"><?php _e('Blog title:') ?></th>
|
||||||
<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td>
|
<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td>
|
||||||
|
@ -54,10 +54,6 @@ include('./admin-header.php');
|
||||||
<select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select></label>
|
<select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select></label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
|
||||||
<fieldset class="options">
|
|
||||||
<legend><?php _e('Date and Time') ?></legend>
|
|
||||||
<table class="optiontable">
|
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('<abbr title="Coordinated Universal Time">UTC</abbr> time is:') ?> </th>
|
<th scope="row"><?php _e('<abbr title="Coordinated Universal Time">UTC</abbr> time is:') ?> </th>
|
||||||
<td><code><?php echo gmdate(__('Y-m-d g:i:s a')); ?></code></td>
|
<td><code><?php echo gmdate(__('Y-m-d g:i:s a')); ?></code></td>
|
||||||
|
@ -93,7 +89,6 @@ endfor;
|
||||||
</select></td>
|
</select></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" />
|
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" />
|
||||||
<input type="hidden" name="action" value="update" />
|
<input type="hidden" name="action" value="update" />
|
||||||
|
|
|
@ -15,7 +15,7 @@ include('admin-header.php');
|
||||||
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /></p>
|
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /></p>
|
||||||
<fieldset class="options">
|
<fieldset class="options">
|
||||||
<legend><?php _e('Uploading'); ?></legend>
|
<legend><?php _e('Uploading'); ?></legend>
|
||||||
<table class="editform optiontable">
|
<table class="niceblue">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Store uploads in this folder'); ?>:</th>
|
<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" />
|
<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" />
|
||||||
|
|
|
@ -11,7 +11,7 @@ include('./admin-header.php');
|
||||||
<h2><?php _e('Privacy Options') ?></h2>
|
<h2><?php _e('Privacy Options') ?></h2>
|
||||||
<form method="post" action="options.php">
|
<form method="post" action="options.php">
|
||||||
<?php wp_nonce_field('update-options') ?>
|
<?php wp_nonce_field('update-options') ?>
|
||||||
<table class="optiontable">
|
<table class="niceblue">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Blog visibility:') ?> </th>
|
<th scope="row"><?php _e('Blog visibility:') ?> </th>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -15,7 +15,7 @@ include('admin-header.php');
|
||||||
<?php if ( get_pages() ): ?>
|
<?php if ( get_pages() ): ?>
|
||||||
<fieldset class="options">
|
<fieldset class="options">
|
||||||
<legend><?php _e('Front Page') ?></legend>
|
<legend><?php _e('Front Page') ?></legend>
|
||||||
<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
|
<table class="niceblue">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th width="33%" scope="row"><?php _e('Front page displays:')?></th>
|
<th width="33%" scope="row"><?php _e('Front page displays:')?></th>
|
||||||
<td>
|
<td>
|
||||||
|
@ -48,7 +48,7 @@ include('admin-header.php');
|
||||||
|
|
||||||
<fieldset class="options">
|
<fieldset class="options">
|
||||||
<legend><?php _e('Blog Pages') ?></legend>
|
<legend><?php _e('Blog Pages') ?></legend>
|
||||||
<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
|
<table class="niceblue">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th width="33%" scope="row"><?php _e('Show at most:') ?></th>
|
<th width="33%" scope="row"><?php _e('Show at most:') ?></th>
|
||||||
<td>
|
<td>
|
||||||
|
@ -75,7 +75,7 @@ include('admin-header.php');
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
|
<table class="niceblue">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th width="33%" scope="row"><?php _e('Encoding for pages and feeds:') ?></th>
|
<th width="33%" scope="row"><?php _e('Encoding for pages and feeds:') ?></th>
|
||||||
<td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" size="20" class="code" /><br />
|
<td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" size="20" class="code" /><br />
|
||||||
|
|
|
@ -12,7 +12,8 @@ include('admin-header.php');
|
||||||
<form method="post" action="options.php">
|
<form method="post" action="options.php">
|
||||||
<?php wp_nonce_field('update-options') ?>
|
<?php wp_nonce_field('update-options') ?>
|
||||||
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /></p>
|
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /></p>
|
||||||
<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
|
|
||||||
|
<table class="niceblue">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th width="33%" scope="row"> <?php _e('Size of the post box:') ?></th>
|
<th width="33%" 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; " />
|
<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; " />
|
||||||
|
@ -61,7 +62,7 @@ endforeach;
|
||||||
<legend><?php _e('Post via e-mail') ?></legend>
|
<legend><?php _e('Post via e-mail') ?></legend>
|
||||||
<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’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>
|
<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’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 width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
|
<table class="niceblue">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Mail server:') ?></th>
|
<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" />
|
<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" size="40" />
|
||||||
|
|
|
@ -344,47 +344,15 @@ form#upload #post_content {
|
||||||
|
|
||||||
.submit input, .submit input:focus, .button, .button:focus {
|
.submit input, .submit input:focus, .button, .button:focus {
|
||||||
background: url(images/fade-butt.png);
|
background: url(images/fade-butt.png);
|
||||||
border: 3px double #999;
|
color: #246;
|
||||||
border-left-color: #ccc;
|
padding: 0.3em;
|
||||||
border-top-color: #ccc;
|
-moz-border-radius: 4px;
|
||||||
color: #333;
|
|
||||||
padding: 0.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submit input:active, .button:active {
|
|
||||||
background: #f4f4f4;
|
|
||||||
border: 3px double #ccc;
|
|
||||||
border-left-color: #999;
|
|
||||||
border-top-color: #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button, .button:focus {
|
|
||||||
padding: 0.15em;
|
|
||||||
}
|
|
||||||
|
|
||||||
* html .button {
|
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit, .editform th, #postcustomsubmit {
|
.submit, .editform th, #postcustomsubmit {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.optiontable {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.optiontable td, .optiontable th {
|
|
||||||
padding: .5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.optiontable th {
|
|
||||||
width: 33%;
|
|
||||||
text-align: right;
|
|
||||||
font-size: 1.3em;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.unapproved {
|
.unapproved {
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
@ -427,11 +395,9 @@ form#upload #post_content {
|
||||||
padding: 0 1em 0 1em;
|
padding: 0 1em 0 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.narrow {
|
.narrow {
|
||||||
width: 450px;
|
width: 70%;
|
||||||
margin: auto;
|
margin-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.narrow p {
|
.narrow p {
|
||||||
|
@ -1394,3 +1360,26 @@ a.view-comment-post-link {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Tables used on comment.php and option/setting pages */
|
||||||
|
|
||||||
|
.niceblue {
|
||||||
|
border-collapse: collapse;
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.niceblue td {
|
||||||
|
margin-bottom: 9px;
|
||||||
|
padding: 10px;
|
||||||
|
border-bottom: 8px solid #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.niceblue th {
|
||||||
|
text-align: left;
|
||||||
|
padding: 10px;
|
||||||
|
border-bottom: 8px solid #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.niceblue tr {
|
||||||
|
background: #eaf3fa;
|
||||||
|
}
|
Loading…
Reference in New Issue