Re-arrange these options a bit

git-svn-id: https://develop.svn.wordpress.org/trunk@3421 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2006-01-10 03:14:34 +00:00
parent bb9a69b496
commit 687f888db8
1 changed files with 14 additions and 12 deletions

View File

@ -15,17 +15,19 @@ include('admin-header.php');
<fieldset class="options">
<legend><?php _e('Uploading'); ?></legend>
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
<tr valign="top"><th scope="row" width="33%"><?php _e('Organize uploads:'); ?></th>
<td>
<label for="uploads_use_yearmonth_folders">
<input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1" <?php checked('1', get_settings('uploads_use_yearmonth_folders')); ?> />
<?php _e('Organize my uploads into month- and year-based folders'); ?>
</label>
</td></tr>
<tr valign="top"><th scope="row"><?php _e('Store uploads in this folder (default is wp-content/uploads):'); ?></th>
<td>
<input name="fileupload_realpath" type="text" id="fileupload_realpath" value="<?php echo str_replace(ABSPATH, '', get_settings('fileupload_realpath')); ?>" size="40" />
</td></tr>
<tr valign="top"><th scope="row"><?php _e('Store uploads in this folder'); ?>:</th>
<td>
<input name="fileupload_realpath" type="text" id="fileupload_realpath" class="code" value="<?php echo str_replace(ABSPATH, '', get_settings('fileupload_realpath')); ?>" size="40" />
<br />
<?php _e('Default is <code>wp-content/uploads</code>'); ?>
</td></tr>
<tr valign="top"><th scope="row" width="33%"> </th>
<td>
<label for="uploads_use_yearmonth_folders">
<input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1" <?php checked('1', get_settings('uploads_use_yearmonth_folders')); ?> />
<?php _e('Organize my uploads into month- and year-based folders'); ?>
</label>
</td></tr>
</table>
</fieldset>
@ -38,7 +40,7 @@ include('admin-header.php');
<p class="submit">
<input type="hidden" name="action" value="update" />
<input type="hidden" name="page_options" value="hack_file,use_linksupdate,uploads_use_yearmonth_folders,fileupload_realpath" />
<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
</p>
</form>
</div>