Wrong time in time format examples and posts_per_rss not updating.

git-svn-id: https://develop.svn.wordpress.org/trunk@1124 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-04-22 15:20:03 +00:00
parent ef6377aa5a
commit 5da0bac8ca
2 changed files with 3 additions and 3 deletions

View File

@ -98,12 +98,12 @@ include('options-head.php');
<tr>
<th scope="row"><?php _e('Default date format:') ?></th>
<td><input name="date_format" type="text" id="date_format" size="30" value="<?php echo get_settings('date_format'); ?>" /><br />
Output: <strong><?php echo date(get_settings('date_format'), current_time('timestamp')); ?></strong></td>
Output: <strong><?php echo date(get_settings('date_format'), current_time('timestamp', true)); ?></strong></td>
</tr>
<tr>
<th scope="row"><?php _e('Default time format:') ?></th>
<td><input name="time_format" type="text" id="time_format" size="30" value="<?php echo get_settings('time_format'); ?>" /><br />
Output: <strong><?php echo date(get_settings('time_format'), current_time('timestamp')); ?></strong></td>
Output: <strong><?php echo date(get_settings('time_format'), current_time('timestamp', true)); ?></strong></td>
</tr>
</table>
</fieldset>

View File

@ -46,7 +46,7 @@ include('options-head.php');
<h2><?php _e('Reading Options') ?></h2>
<form name="form1" method="post" action="options.php">
<input type="hidden" name="action" value="update" />
<input type="hidden" name="page_options" value="'posts_per_page','what_to_show','rss_use_excerpt','blog_charset','gzipcompression' " />
<input type="hidden" name="page_options" value="'posts_per_page','what_to_show','posts_per_rss','rss_use_excerpt','blog_charset','gzipcompression' " />
<fieldset class="options">
<legend><?php _e('Front Page') ?></legend>
<table width="100%" cellspacing="2" cellpadding="5" class="editform">