Better show up front UI from Mark Jaquith. #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@3583 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
93ec2ffd02
commit
e4a05b4bdf
@ -16,24 +16,29 @@ include('admin-header.php');
|
|||||||
<legend><?php _e('Front Page') ?></legend>
|
<legend><?php _e('Front Page') ?></legend>
|
||||||
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
|
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th width="33%" scope="row"></th>
|
<th width="33%" scope="row"><?php _e('Front page displays:')?></th>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
|
||||||
<label>
|
<label>
|
||||||
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
|
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
|
||||||
<?php _e('Show the latest posts on the front page'); ?>
|
<?php _e('The latest posts'); ?>
|
||||||
</label>
|
</label>
|
||||||
</p>
|
<br />
|
||||||
<p>
|
|
||||||
<label>
|
<label>
|
||||||
<input name="show_on_front" type="radio" value="page" class="tog" <?php checked('page', get_option('show_on_front')); ?> />
|
<input name="show_on_front" type="radio" value="page" class="tog" <?php checked('page', get_option('show_on_front')); ?> />
|
||||||
<?php printf(__('Show another <a href="%s">page</a> on the front page (Select below)'), 'edit-pages.php'); ?>
|
<?php printf(__('A static <a href="%s">page</a> (select below)'), 'edit-pages.php'); ?>
|
||||||
</label>
|
</label>
|
||||||
</p>
|
<ul>
|
||||||
<p>
|
<li><?php printf(__('Show this page on the front page: %s'), wp_dropdown_pages("name=page_on_front&echo=0&selected=" . get_option('page_on_front'))); ?></li>
|
||||||
<?php printf(__('Show this page on the front page: %s'), wp_dropdown_pages("name=page_on_front&echo=0&selected=" . get_option('page_on_front'))); ?><br />
|
<li><?php printf(__('Show the latest posts on this page: %s'), wp_dropdown_pages("name=page_for_posts&echo=0&selected=" . get_option('page_for_posts'))); ?></li>
|
||||||
<?php printf(__('Show the latest posts on this page: %s'), wp_dropdown_pages("name=page_for_posts&echo=0&selected=" . get_option('page_for_posts'))); ?>
|
</ul>
|
||||||
</p>
|
<?php if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') == get_option('page_on_front') ) : ?>
|
||||||
|
<div id="front-page-warning" class="updated fade-ff0000">
|
||||||
|
<p>
|
||||||
|
<?php _e('<strong>Warning:</strong> these pages should not be the same!'); ?>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</fieldset>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -66,7 +71,7 @@ include('admin-header.php');
|
|||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('For each article, show:') ?> </th>
|
<th scope="row"><?php _e('For each article, show:') ?> </th>
|
||||||
<td>
|
<td>
|
||||||
<label><input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_settings('rss_use_excerpt')); ?> /> <?php _e('Full text') ?></label><br />
|
<label><input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_settings('rss_use_excerpt')); ?> /> <?php _e('Full text') ?></label><br />
|
||||||
<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_settings('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label>
|
<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_settings('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user