Make WordPress Core


Ignore:
Timestamp:
04/15/2004 09:15:56 AM (22 years ago)
Author:
saxmatt
Message:

Interface improvements.

File:
1 edited

Legend:

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

    r1074 r1076  
    4747    <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'" />
    4848<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>
    5052    <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>
    5955        <td>
    6056            <input name="fileupload_realpath" type="text" id="fileupload_realpath" value="<?php echo get_settings('fileupload_realpath'); ?>" size="50" /><br />
     
    6359            </td>
    6460      </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>
    6763        <td>         
    6864            <input name="fileupload_url" type="text" id="fileupload_url" value="<?php echo get_settings('fileupload_url'); ?>" size="50" /><br />
     
    7066        </td>
    7167      </tr>
    72       <tr valign="top">
     68      <tr>
    7369        <th scope="row">Maximum size: </th>
    7470        <td><input name="fileupload_maxk" type="text" id="fileupload_maxk" value="<?php echo get_settings('fileupload_maxk'); ?>" size="4">
    7571            Kilobytes (KB)</td>
    7672        </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>
    7975        <td><input name="fileupload_allowedtypes" type="text" id="fileupload_allowedtypes" value="<?php echo get_settings('fileupload_allowedtypes'); ?>" size="40">
    8076            <br>
    8177            Recommended: <code>jpg jpeg png gif </code></td>
    8278        </tr>
    83       <tr valign="top">
     79      <tr>
    8480        <th scope="row">Minimum level to upload:</th>
    8581        <td><select name="fileupload_minlevel" id="fileupload_minlevel">
Note: See TracChangeset for help on using the changeset viewer.