mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
First stab at better options pages. WIP.
git-svn-id: https://develop.svn.wordpress.org/trunk@9343 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -24,23 +24,19 @@ include('admin-header.php');
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<?php wp_nonce_field('misc-options') ?>
|
||||
|
||||
<p class="submit submit-top">
|
||||
<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" class="button" />
|
||||
</p>
|
||||
|
||||
<h3><?php _e('Uploading'); ?></h3>
|
||||
<h3><?php _e('Uploading Files'); ?></h3>
|
||||
<table class="form-table">
|
||||
<tr valign="top">
|
||||
<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
|
||||
<td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" size="40" />
|
||||
<br />
|
||||
<?php _e('Default is <code>wp-content/uploads</code>'); ?>
|
||||
<span class="setting-description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files (optional)'); ?></label></th>
|
||||
<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
|
||||
<td><input name="upload_url_path" type="text" id="upload_url_path" class="code" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" size="40" />
|
||||
<span class="setting-description"><?php _e('Configuring this is optional by default it should be blank'); ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user