Changeset 1074 for trunk/wp-admin/options-general.php
- Timestamp:
- 04/15/2004 07:53:45 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-general.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-general.php
r1072 r1074 92 92 <tr> 93 93 <th scope="row"> </th> 94 <td>The following use the same syntax as the <a href="http://php.net/date">PHP <code>date()</code> function</a>. </td>94 <td>The following use the same syntax as the <a href="http://php.net/date">PHP <code>date()</code> function</a>. Save option to update sample output. </td> 95 95 </tr> 96 96 <tr> 97 97 <th scope="row">Default date format:</th> 98 <td><input name="date_format" type="text" id="date_format" size="30" value="<?php echo get_settings('date_format'); ?>" /></td> 98 <td><input name="date_format" type="text" id="date_format" size="30" value="<?php echo get_settings('date_format'); ?>" /><br /> 99 Output: <strong><?php echo date(get_settings('date_format'), current_time('timestamp')); ?></strong></td> 99 100 </tr> 100 101 <tr> 101 102 <th scope="row">Default time format:</th> 102 <td><input name="time_format" type="text" id="time_format" size="30" value="<?php echo get_settings('time_format'); ?>" /></td> 103 <td><input name="time_format" type="text" id="time_format" size="30" value="<?php echo get_settings('time_format'); ?>" /><br /> 104 Output: <strong><?php echo date(get_settings('time_format'), current_time('timestamp')); ?></strong></td> 103 105 </tr> 104 106 </table>
Note: See TracChangeset
for help on using the changeset viewer.