-
+ 4DAB4200341988A8E16E94DFF6D5E20D9078FABA4490FA5AD27ECA348638D80B0E939C4A8D5ED73F54DFAB38F5BC042D76A1797549E7DFD0C73A80E18BFFE840
mp-wp/wp-admin/options-reading.php
(0 . 0)(1 . 87)
54176 <?php
54177 /**
54178 * Reading settings administration panel.
54179 *
54180 * @package WordPress
54181 * @subpackage Administration
54182 */
54183
54184 /** WordPress Administration Bootstrap */
54185 require_once('admin.php');
54186
54187 $title = __('Reading Settings');
54188 $parent_file = 'options-general.php';
54189
54190 include('admin-header.php');
54191 ?>
54192
54193 <div class="wrap">
54194 <?php screen_icon(); ?>
54195 <h2><?php echo wp_specialchars( $title ); ?></h2>
54196
54197 <form name="form1" method="post" action="options.php">
54198 <?php settings_fields('reading'); ?>
54199
54200 <table class="form-table">
54201 <?php if ( get_pages() ): ?>
54202 <tr valign="top">
54203 <th scope="row"><?php _e('Front page displays')?></th>
54204 <td><fieldset><legend class="hidden"><?php _e('Front page displays')?></legend>
54205 <p><label>
54206 <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
54207 <?php _e('Your latest posts'); ?>
54208 </label>
54209 </p>
54210 <p><label>
54211 <input name="show_on_front" type="radio" value="page" class="tog" <?php checked('page', get_option('show_on_front')); ?> />
54212 <?php printf(__('A <a href="%s">static page</a> (select below)'), 'edit-pages.php'); ?>
54213 </label>
54214 </p>
54215 <ul>
54216 <li><?php printf("<label for='page_on_front'>".__('Front page: %s')."</label>", wp_dropdown_pages("name=page_on_front&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_on_front'))); ?></li>
54217 <li><?php printf("<label for='page_for_posts'>".__('Posts page: %s')."</label>", wp_dropdown_pages("name=page_for_posts&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_for_posts'))); ?></li>
54218 </ul>
54219 <?php if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') == get_option('page_on_front') ) : ?>
54220 <div id="front-page-warning" class="updated fade-ff0000">
54221 <p>
54222 <?php _e('<strong>Warning:</strong> these pages should not be the same!'); ?>
54223 </p>
54224 </div>
54225 <?php endif; ?>
54226 </fieldset></td>
54227 </tr>
54228 <?php endif; ?>
54229 <tr valign="top">
54230 <th scope="row"><label for="posts_per_page"><?php _e('Blog pages show at most') ?></label></th>
54231 <td>
54232 <input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" class="small-text" /> <?php _e('posts') ?>
54233 </td>
54234 </tr>
54235 <tr valign="top">
54236 <th scope="row"><label for="posts_per_rss"><?php _e('Syndication feeds show the most recent') ?></label></th>
54237 <td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option('posts_per_rss'); ?>" class="small-text" /> <?php _e('posts') ?></td>
54238 </tr>
54239 <tr valign="top">
54240 <th scope="row"><?php _e('For each article in a feed, show') ?> </th>
54241 <td><fieldset><legend class="hidden"><?php _e('For each article in a feed, show') ?> </legend>
54242 <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 />
54243 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
54244 </fieldset></td>
54245 </tr>
54246
54247 <tr valign="top">
54248 <th scope="row"><label for="blog_charset"><?php _e('Encoding for pages and feeds') ?></label></th>
54249 <td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" class="regular-text code" />
54250 <span class="setting-description"><?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>)') ?></span></td>
54251 </tr>
54252 <?php do_settings_fields('reading', 'default'); ?>
54253 </table>
54254
54255 <?php do_settings_sections('reading'); ?>
54256
54257 <p class="submit">
54258 <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
54259 </p>
54260 </form>
54261 </div>
54262 <?php include('./admin-footer.php'); ?>