Make WordPress Core

Ticket #2515: options_reading.diff

File options_reading.diff, 2.6 KB (added by markjaquith, 20 years ago)

layout/wording tweaks

  • options-reading.php

     
    1616<legend><?php _e('Front Page') ?></legend>
    1717<table width="100%" cellspacing="2" cellpadding="5" class="editform">
    1818<tr valign="top">
    19 <th width="33%" scope="row"></th>
     19<th width="33%" scope="row"><?php _e('Front page displays:')?></th>
    2020<td>
    21 <p>
    2221        <label>
    2322                <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
    24                 <?php _e('Show the latest posts on the front page'); ?>
     23                <?php _e('The latest posts'); ?>
    2524        </label>
    26 </p>
    27 <p>
     25        <br />
    2826        <label>
    2927                <input name="show_on_front" type="radio" value="page" class="tog" <?php checked('page', get_option('show_on_front')); ?> />
    30                 <?php printf(__('Show another <a href="%s">page</a> on the front page (Select below)'), 'edit-pages.php'); ?>
     28                <?php printf(__('A static <a href="%s">page</a> (select below)'), 'edit-pages.php'); ?>
    3129        </label>
    32 </p>
    33 <p>
    34         <?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 />
    35         <?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'))); ?>
    36 </p>
     30<ul>
     31        <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>
     32        <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>
     33</ul>
     34<?php if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') == get_option('page_on_front') ) : ?>
     35<div id="front-page-warning" class="updated fade-ff0000">
     36        <p>
     37                <?php _e('<strong>Warning:</strong> these pages should not be the same!'); ?>
     38        </p>
     39</div>
     40<?php endif; ?>
     41</fieldset>
    3742</td>
    3843</tr>
    3944</table>
     
    6671<tr valign="top">
    6772<th scope="row"><?php _e('For each article, show:') ?> </th>
    6873<td>
    69 <label><input name="rss_use_excerpt"  type="radio" value="0" <?php checked(0, get_settings('rss_use_excerpt')); ?>  /> <?php _e('Full text') ?></label><br />
     74<label><input name="rss_use_excerpt"  type="radio" value="0" <?php checked(0, get_settings('rss_use_excerpt')); ?>      /> <?php _e('Full text') ?></label><br />
    7075<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_settings('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label>
    7176</td>
    7277</tr>