Changeset 1076 for trunk/wp-admin/options-misc.php
- Timestamp:
- 04/15/2004 09:15:56 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-misc.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-misc.php
r1074 r1076 47 47 <input type="hidden" name="action" value="update" /> <input type="hidden" name="page_options" value="'hack_file','use_fileupload','fileupload_realpath','fileupload_url','fileupload_allowedtypes','fileupload_maxk','fileupload_maxk'" /> 48 48 <fieldset class="options"> 49 <legend>File Uploads</legend> 49 <legend> 50 <input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> /> 51 <label for="use_fileupload">Allow File Uploads</label></legend> 50 52 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 51 <tr valign="top"> 52 <th scope="row"><label for="use_fileupload">Allow file uploads:</label></th> 53 <td> 54 <input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> /> 55 </td> 56 </tr> 57 <tr valign="top"> 58 <th width="33%" scope="row"> Destination directory: </th> 53 <tr> 54 <th width="33%" valign="top" scope="row"> Destination directory: </th> 59 55 <td> 60 56 <input name="fileupload_realpath" type="text" id="fileupload_realpath" value="<?php echo get_settings('fileupload_realpath'); ?>" size="50" /><br /> … … 63 59 </td> 64 60 </tr> 65 <tr valign="top">66 <th scope="row">URI of this directory: </th>61 <tr> 62 <th valign="top" scope="row">URI of this directory: </th> 67 63 <td> 68 64 <input name="fileupload_url" type="text" id="fileupload_url" value="<?php echo get_settings('fileupload_url'); ?>" size="50" /><br /> … … 70 66 </td> 71 67 </tr> 72 <tr valign="top">68 <tr> 73 69 <th scope="row">Maximum size: </th> 74 70 <td><input name="fileupload_maxk" type="text" id="fileupload_maxk" value="<?php echo get_settings('fileupload_maxk'); ?>" size="4"> 75 71 Kilobytes (KB)</td> 76 72 </tr> 77 <tr valign="top">78 <th scope="row">Allowed file extensions:</th>73 <tr> 74 <th valign="top" scope="row">Allowed file extensions:</th> 79 75 <td><input name="fileupload_allowedtypes" type="text" id="fileupload_allowedtypes" value="<?php echo get_settings('fileupload_allowedtypes'); ?>" size="40"> 80 76 <br> 81 77 Recommended: <code>jpg jpeg png gif </code></td> 82 78 </tr> 83 <tr valign="top">79 <tr> 84 80 <th scope="row">Minimum level to upload:</th> 85 81 <td><select name="fileupload_minlevel" id="fileupload_minlevel">
Note: See TracChangeset
for help on using the changeset viewer.