Ticket #2515: options_reading.diff
| File options_reading.diff, 2.6 KB (added by , 20 years ago) |
|---|
-
options-reading.php
16 16 <legend><?php _e('Front Page') ?></legend> 17 17 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 18 18 <tr valign="top"> 19 <th width="33%" scope="row">< /th>19 <th width="33%" scope="row"><?php _e('Front page displays:')?></th> 20 20 <td> 21 <p>22 21 <label> 23 22 <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'); ?> 25 24 </label> 26 </p> 27 <p> 25 <br /> 28 26 <label> 29 27 <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'); ?> 31 29 </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> 37 42 </td> 38 43 </tr> 39 44 </table> … … 66 71 <tr valign="top"> 67 72 <th scope="row"><?php _e('For each article, show:') ?> </th> 68 73 <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 /> 70 75 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_settings('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label> 71 76 </td> 72 77 </tr>