Make WordPress Core

Changeset 3421


Ignore:
Timestamp:
01/10/2006 03:14:34 AM (20 years ago)
Author:
matt
Message:

Re-arrange these options a bit

File:
1 edited

Legend:

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

    r3413 r3421  
    1616<legend><?php _e('Uploading'); ?></legend>
    1717<table width="100%" cellspacing="2" cellpadding="5" class="editform">
    18     <tr valign="top"><th scope="row" width="33%"><?php _e('Organize uploads:'); ?></th>
    19     <td>
    20         <label for="uploads_use_yearmonth_folders">
    21             <input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1" <?php checked('1', get_settings('uploads_use_yearmonth_folders')); ?> />
    22             <?php _e('Organize my uploads into month- and year-based folders'); ?>
    23         </label>
    24     </td></tr>
    25     <tr valign="top"><th scope="row"><?php _e('Store uploads in this folder (default is wp-content/uploads):'); ?></th>
    26     <td>
    27         <input name="fileupload_realpath" type="text" id="fileupload_realpath" value="<?php echo str_replace(ABSPATH, '', get_settings('fileupload_realpath')); ?>" size="40" />
    28     </td></tr>
     18<tr valign="top"><th scope="row"><?php _e('Store uploads in this folder'); ?>:</th>
     19<td>
     20<input name="fileupload_realpath" type="text" id="fileupload_realpath" class="code" value="<?php echo str_replace(ABSPATH, '', get_settings('fileupload_realpath')); ?>" size="40" />
     21<br />
     22<?php _e('Default is <code>wp-content/uploads</code>'); ?>
     23</td></tr>
     24<tr valign="top"><th scope="row" width="33%"> </th>
     25<td>
     26<label for="uploads_use_yearmonth_folders">
     27<input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1" <?php checked('1', get_settings('uploads_use_yearmonth_folders')); ?> />
     28<?php _e('Organize my uploads into month- and year-based folders'); ?>
     29</label>
     30</td></tr>
    2931</table>
    3032</fieldset>
     
    3941<input type="hidden" name="action" value="update" />
    4042<input type="hidden" name="page_options" value="hack_file,use_linksupdate,uploads_use_yearmonth_folders,fileupload_realpath" />
    41     <input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
     43<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
    4244</p>
    4345</form>
Note: See TracChangeset for help on using the changeset viewer.