summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/options-misc.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-12 11:27:54 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-12 11:27:54 +0000
commit4f3bce79bfb5851cef9e7bc655c91bb3093cc401 (patch)
tree10a0991fddeb0e075d7fa46e2b40e5dbc64d1e88 /wp-inst/wp-admin/options-misc.php
downloadwordpress-mu-4f3bce79bfb5851cef9e7bc655c91bb3093cc401.tar.gz
wordpress-mu-4f3bce79bfb5851cef9e7bc655c91bb3093cc401.tar.xz
wordpress-mu-4f3bce79bfb5851cef9e7bc655c91bb3093cc401.zip
Initial Import
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/options-misc.php')
-rw-r--r--wp-inst/wp-admin/options-misc.php46
1 files changed, 46 insertions, 0 deletions
diff --git a/wp-inst/wp-admin/options-misc.php b/wp-inst/wp-admin/options-misc.php
new file mode 100644
index 0000000..190192e
--- /dev/null
+++ b/wp-inst/wp-admin/options-misc.php
@@ -0,0 +1,46 @@
+<?php
+require_once('admin.php');
+
+$title = __('Miscellaneous Options');
+$parent_file = 'options-general.php';
+
+include('admin-header.php');
+
+?>
+
+<div class="wrap">
+<h2><?php _e('Miscellaneous Options') ?></h2>
+<form name="miscoptions" method="post" action="options.php">
+ <input type="hidden" name="action" value="update" />
+ <input type="hidden" name="page_options" value="'hack_file','use_fileupload','fileupload_minlevel','use_geo_positions','use_linksupdate'" />
+ <fieldset class="options">
+ <legend>
+ <input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> />
+ <label for="use_fileupload"><?php _e('Allow File Uploads') ?></label></legend>
+ <table width="100%" cellspacing="2" cellpadding="5" class="editform">
+ <tr>
+ <th scope="row"><?php _e('Minimum level to upload:') ?></th>
+ <td><select name="fileupload_minlevel" id="fileupload_minlevel">
+ <?php
+ for ($i = 1; $i < 11; $i++) {
+ if ($i == get_settings('fileupload_minlevel')) $selected = " selected='selected'";
+ else $selected = '';
+ echo "\n\t<option value='$i' $selected>$i</option>";
+ }
+ ?>
+ </select></td>
+ </tr>
+ </table>
+ </fieldset>
+ <p><input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1" <?php checked('1', get_settings('use_linksupdate')); ?> />
+ <label for="use_linksupdate"><?php _e('Track Links&#8217; Update Times') ?></label></p>
+ <p>
+ <label><input type="checkbox" name="hack_file" value="1" <?php checked('1', get_settings('hack_file')); ?> /> <?php _e('Use legacy <code>my-hacks.php</code> file support') ?></label>
+ </p>
+ <p class="submit">
+ <input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
+ </p>
+</form>
+</div>
+
+<?php include('./admin-footer.php'); ?>