Make WordPress Core


Ignore:
Timestamp:
09/19/2006 06:11:42 AM (19 years ago)
Author:
matt
Message:

Options cleanup and some styling changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-reading.php

    r4144 r4196  
    1212<form name="form1" method="post" action="options.php">
    1313<?php wp_nonce_field('update-options') ?>
    14 
     14<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" /></p>
    1515<?php if ( get_pages() ): ?>
    1616<fieldset class="options">
    1717<legend><?php _e('Front Page') ?></legend>
    18 <table width="100%" cellspacing="2" cellpadding="5" class="editform">
     18<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
    1919<tr valign="top">
    2020<th width="33%" scope="row"><?php _e('Front page displays:')?></th>
    2121<td>
    22     <label>
     22    <p><label>
    2323        <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
    24         <?php _e('The latest posts'); ?>
     24        <?php _e('Your latest posts'); ?>
    2525    </label>
    26     <br />
    27     <label>
     26    </p>
     27    <p><label>
    2828        <input name="show_on_front" type="radio" value="page" class="tog" <?php checked('page', get_option('show_on_front')); ?> />
    29         <?php printf(__('A static <a href="%s">page</a> (select below)'), 'edit-pages.php'); ?>
     29        <?php printf(__('A <a href="%s">static page</a> (select below)'), 'edit-pages.php'); ?>
    3030    </label>
     31    </p>
    3132<ul>
    32     <li><?php printf(__('Show this page on the front page: %s'), wp_dropdown_pages("name=page_on_front&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_on_front'))); ?></li>
    33     <li><?php printf(__('Show the latest posts on this page: %s'), wp_dropdown_pages("name=page_for_posts&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_for_posts'))); ?></li>
     33    <li><?php printf(__('Front page: %s'), wp_dropdown_pages("name=page_on_front&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_on_front'))); ?></li>
     34    <li><?php printf(__('Posts page: %s'), wp_dropdown_pages("name=page_for_posts&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_for_posts'))); ?></li>
    3435</ul>
    3536<?php if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') == get_option('page_on_front') ) : ?>
     
    4950<fieldset class="options">
    5051<legend><?php _e('Blog Pages') ?></legend>
    51 <table width="100%" cellspacing="2" cellpadding="5" class="editform">
     52<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
    5253<tr valign="top">
    5354<th width="33%" scope="row"><?php _e('Show at most:') ?></th>
     
    6566<fieldset class="options">
    6667<legend><?php _e('Syndication Feeds') ?></legend>
    67 <table width="100%" cellspacing="2" cellpadding="5" class="editform">
     68<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
    6869<tr valign="top">
    6970<th width="33%" scope="row"><?php _e('Show the most recent:') ?></th>
     
    7374<th scope="row"><?php _e('For each article, show:') ?> </th>
    7475<td>
    75 <label><input name="rss_use_excerpt"  type="radio" value="0" <?php checked(0, get_option('rss_use_excerpt')); ?>    /> <?php _e('Full text') ?></label><br />
    76 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label>
     76<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 />
     77<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
     78<p><?php _e('Note: If you use the <code>&lt;--more--&gt;</code> feature, it will cut off posts in RSS feeds.'); ?></p>
    7779</td>
    7880</tr>
    7981</table>
    8082</fieldset>
    81 <table width="100%" cellspacing="2" cellpadding="5" class="editform">
     83<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
    8284<tr valign="top">
    8385<th width="33%" scope="row"><?php _e('Encoding for pages and feeds:') ?></th>
Note: See TracChangeset for help on using the changeset viewer.