Changeset 3421
- Timestamp:
- 01/10/2006 03:14:34 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-misc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-misc.php
r3413 r3421 16 16 <legend><?php _e('Uploading'); ?></legend> 17 17 <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> 29 31 </table> 30 32 </fieldset> … … 39 41 <input type="hidden" name="action" value="update" /> 40 42 <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') ?> »" />43 <input type="submit" name="Submit" value="<?php _e('Update Options') ?> »" /> 42 44 </p> 43 45 </form>
Note: See TracChangeset
for help on using the changeset viewer.