Styling updates for reading settings. see #5851
git-svn-id: http://svn.automattic.com/wordpress/trunk@6840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c19d47bb75
commit
4cdc2396bb
|
@ -11,11 +11,10 @@ include('admin-header.php');
|
|||
<h2><?php _e('Reading Settings') ?></h2>
|
||||
<form name="form1" method="post" action="options.php">
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
<?php if ( get_pages() ): ?>
|
||||
<h3><?php _e('Front Page') ?></h3>
|
||||
<table class="niceblue">
|
||||
<?php if ( get_pages() ): ?>
|
||||
<tr valign="top">
|
||||
<th width="33%" scope="row"><?php _e('Front page displays:')?></th>
|
||||
<th scope="row"><?php _e('Front page displays:')?></th>
|
||||
<td>
|
||||
<p><label>
|
||||
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
|
||||
|
@ -40,39 +39,26 @@ include('admin-header.php');
|
|||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
|
||||
<h3><?php _e('Blog Pages') ?></h3>
|
||||
<table class="niceblue">
|
||||
<tr valign="top">
|
||||
<th width="33%" scope="row"><?php _e('Show at most:') ?></th>
|
||||
<th scope="row"><?php _e('Blog pages show at most:') ?></th>
|
||||
<td>
|
||||
<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" size="3" /> <?php _e('posts') ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<h3><?php _e('Syndication Feeds') ?></h3>
|
||||
<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
|
||||
<tr valign="top">
|
||||
<th width="33%" scope="row"><?php _e('Show the most recent:') ?></th>
|
||||
<th scope="row"><?php _e('Syndication feeds show the most recent:') ?></th>
|
||||
<td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option('posts_per_rss'); ?>" size="3" /> <?php _e('posts') ?></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th scope="row"><?php _e('For each article, show:') ?> </th>
|
||||
<th scope="row"><?php _e('For each article in a feed, show:') ?> </th>
|
||||
<td>
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3><?php _e('Avatars') ?></h3>
|
||||
<table class="niceblue">
|
||||
<tr valign="top">
|
||||
<th width="33%" scope="row"><?php _e('Show Avatars?') ?></th>
|
||||
<th scope="row"><?php _e('Show Avatars?') ?></th>
|
||||
<td>
|
||||
<select name="show_avatars" id="show_avatars">
|
||||
<?php
|
||||
|
@ -86,7 +72,7 @@ include('admin-header.php');
|
|||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th width="33%" scope="row"><?php _e('Show Avatars with Rating:') ?></th>
|
||||
<th scope="row"><?php _e('Show Avatars with Rating:') ?></th>
|
||||
<td>
|
||||
<select name="avatar_rating" id="avatar_rating">
|
||||
<?php
|
||||
|
@ -99,11 +85,8 @@ endforeach;
|
|||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="niceblue">
|
||||
<tr valign="top">
|
||||
<th width="33%" scope="row"><?php _e('Encoding for pages and feeds:') ?></th>
|
||||
<th 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 />
|
||||
<?php _e('The character encoding you write your blog in (UTF-8 is <a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html">recommended</a>)') ?></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue