WordPress.org

Make WordPress Core

Ticket #3767: 3767.diff

File 3767.diff, 2.1 KB (added by Nazgul, 8 years ago)
  • wp-admin/options-general.php

     
    6868<?php _e('hours') ?> (<?php _e('Your timezone offset, for example <code>-6</code> for Central Time.'); ?>)</td> 
    6969</tr> 
    7070<tr> 
    71 <th scope="row"><?php _e('Default date format:') ?></th> 
    72 <td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br /> 
    73 <?php _e('Output:') ?> <strong><?php echo mysql2date(get_option('date_format'), current_time('mysql')); ?></strong></td> 
    74 </tr> 
    75 <tr> 
    76 <th scope="row"><?php _e('Default time format:') ?></th> 
    77 <td><input name="time_format" type="text" id="time_format" size="30" value="<?php form_option('time_format'); ?>" /><br /> 
    78 <?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong></td> 
    79 </tr>  
    80 <tr> 
    81 <th scope="row">&nbsp;</th> 
    82 <td><?php _e('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Update options" to update sample output.') ?> </td> 
    83 </tr> 
    84 <tr> 
    8571<th scope="row"><?php _e('Weeks in the calendar should start on:') ?></th> 
    8672<td><select name="start_of_week" id="start_of_week"> 
    8773<?php 
     
    9783 
    9884<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" /> 
    9985<input type="hidden" name="action" value="update" />  
    100 <input type="hidden" name="page_options" value="<?php if ( ! defined( 'WP_SITEURL' ) ) echo 'siteurl,'; if ( ! defined( 'WP_HOME' ) ) echo 'home,'; ?>blogname,blogdescription,admin_email,users_can_register,gmt_offset,date_format,time_format,start_of_week,comment_registration,default_role" />  
     86<input type="hidden" name="page_options" value="<?php if ( ! defined( 'WP_SITEURL' ) ) echo 'siteurl,'; if ( ! defined( 'WP_HOME' ) ) echo 'home,'; ?>blogname,blogdescription,admin_email,users_can_register,gmt_offset,start_of_week,comment_registration,default_role" />  
    10187</p> 
    10288</form> 
    10389