Changeset 6026 for trunk/wp-admin/options-reading.php
- Timestamp:
- 09/03/2007 11:32:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-reading.php
r4828 r6026 8 8 ?> 9 9 10 <div class="wrap"> 11 <h2><?php _e('Reading Options') ?></h2> 10 <div class="wrap"> 11 <h2><?php _e('Reading Options') ?></h2> 12 12 <form name="form1" method="post" action="options.php"> 13 13 <?php wp_nonce_field('update-options') ?> 14 14 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /></p> 15 15 <?php if ( get_pages() ): ?> 16 <fieldset class="options"> 17 <legend><?php _e('Front Page') ?></legend> 18 <table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform"> 19 <tr valign="top"> 20 <th width="33%" scope="row"><?php _e('Front page displays:')?></th> 16 <fieldset class="options"> 17 <legend><?php _e('Front Page') ?></legend> 18 <table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform"> 19 <tr valign="top"> 20 <th width="33%" scope="row"><?php _e('Front page displays:')?></th> 21 21 <td> 22 22 <p><label> 23 <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> /> 23 <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> /> 24 24 <?php _e('Your latest posts'); ?> 25 25 </label> 26 26 </p> 27 27 <p><label> 28 <input name="show_on_front" type="radio" value="page" class="tog" <?php checked('page', get_option('show_on_front')); ?> /> 28 <input name="show_on_front" type="radio" value="page" class="tog" <?php checked('page', get_option('show_on_front')); ?> /> 29 29 <?php printf(__('A <a href="%s">static page</a> (select below)'), 'edit-pages.php'); ?> 30 30 </label> … … 41 41 </div> 42 42 <?php endif; ?> 43 </td> 44 </tr> 45 </table> 43 </td> 44 </tr> 45 </table> 46 46 </fieldset> 47 47 <?php endif; ?> 48 48 49 <fieldset class="options"> 50 <legend><?php _e('Blog Pages') ?></legend> 51 <table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform"> 52 <tr valign="top"> 53 <th width="33%" scope="row"><?php _e('Show at most:') ?></th> 49 <fieldset class="options"> 50 <legend><?php _e('Blog Pages') ?></legend> 51 <table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform"> 52 <tr valign="top"> 53 <th width="33%" scope="row"><?php _e('Show at most:') ?></th> 54 54 <td> 55 55 <input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" size="3" /> <?php _e('posts') ?> 56 </td> 57 </tr> 58 </table> 59 </fieldset> 56 </td> 57 </tr> 58 </table> 59 </fieldset> 60 60 61 <fieldset class="options"> 62 <legend><?php _e('Syndication Feeds') ?></legend> 63 <table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform"> 64 <tr valign="top"> 65 <th width="33%" scope="row"><?php _e('Show the most recent:') ?></th> 66 <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> 61 <fieldset class="options"> 62 <legend><?php _e('Syndication Feeds') ?></legend> 63 <table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform"> 64 <tr valign="top"> 65 <th width="33%" scope="row"><?php _e('Show the most recent:') ?></th> 66 <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> 67 67 </tr> 68 68 <tr valign="top"> … … 73 73 <p><?php _e('Note: If you use the <code><!--more--></code> feature, it will cut off posts in RSS feeds.'); ?></p> 74 74 </td> 75 </tr> 76 </table> 77 </fieldset> 78 <table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform"> 79 <tr valign="top"> 80 <th width="33%" scope="row"><?php _e('Encoding for pages and feeds:') ?></th> 75 </tr> 76 </table> 77 </fieldset> 78 <table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform"> 79 <tr valign="top"> 80 <th width="33%" scope="row"><?php _e('Encoding for pages and feeds:') ?></th> 81 81 <td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" size="20" class="code" /><br /> 82 <?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> 82 <?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> 83 83 </tr> 84 </table> 84 </table> 85 85 <p> 86 <label><input type="checkbox" name="gzipcompression" value="1" <?php checked('1', get_option('gzipcompression')); ?> /> 86 <label><input type="checkbox" name="gzipcompression" value="1" <?php checked('1', get_option('gzipcompression')); ?> /> 87 87 <?php _e('WordPress should compress articles (gzip) if browsers ask for them') ?></label> 88 88 </p> 89 89 <p class="submit"> 90 <input type="hidden" name="action" value="update" /> 91 <input type="hidden" name="page_options" value="posts_per_page,posts_per_rss,rss_use_excerpt,blog_charset,gzipcompression,show_on_front,page_on_front,page_for_posts" /> 92 <input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 93 </p> 94 </form> 95 </div> 90 <input type="hidden" name="action" value="update" /> 91 <input type="hidden" name="page_options" value="posts_per_page,posts_per_rss,rss_use_excerpt,blog_charset,gzipcompression,show_on_front,page_on_front,page_for_posts" /> 92 <input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 93 </p> 94 </form> 95 </div> 96 96 <?php include('./admin-footer.php'); ?>
Note: See TracChangeset
for help on using the changeset viewer.