Make WordPress Core


Ignore:
Timestamp:
04/15/2004 07:53:45 AM (22 years ago)
Author:
saxmatt
Message:

The great option REMIX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-general.php

    r1072 r1074  
    9292      <tr>
    9393        <th scope="row">&nbsp;</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>
    9595        </tr>
    9696      <tr>
    9797        <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 />
     99Output: <strong><?php echo date(get_settings('date_format'), current_time('timestamp')); ?></strong></td>
    99100        </tr>
    100101      <tr>
    101102        <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 />
     104Output: <strong><?php echo date(get_settings('time_format'), current_time('timestamp')); ?></strong></td>
    103105        </tr>
    104106</table>
Note: See TracChangeset for help on using the changeset viewer.