mp-wp_genesis 1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * Miscellaneous settings administration panel.
mp-wp_genesis 4 *
mp-wp_genesis 5 * @package WordPress
mp-wp_genesis 6 * @subpackage Administration
mp-wp_genesis 7 */
mp-wp_genesis 8
mp-wp_genesis 9 /** WordPress Administration Bootstrap */
mp-wp_genesis 10 require_once('admin.php');
mp-wp_genesis 11
mp-wp_genesis 12 $title = __('Miscellaneous Settings');
mp-wp_genesis 13 $parent_file = 'options-general.php';
mp-wp_genesis 14
mp-wp_genesis 15 include('admin-header.php');
mp-wp_genesis 16
mp-wp_genesis 17 ?>
mp-wp_genesis 18
mp-wp_genesis 19 <div class="wrap">
mp-wp_genesis 20 <?php screen_icon(); ?>
mp-wp_genesis 21 <h2><?php echo wp_specialchars( $title ); ?></h2>
mp-wp_genesis 22
mp-wp_genesis 23 <form method="post" action="options.php">
mp-wp_genesis 24 <?php settings_fields('misc'); ?>
mp-wp_genesis 25
mp-wp_genesis 26 <h3><?php _e('Uploading Files'); ?></h3>
mp-wp_genesis 27 <table class="form-table">
mp-wp_genesis 28 <tr valign="top">
mp-wp_genesis 29 <th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
mp-wp_genesis 30 <td><input name="upload_path" type="text" id="upload_path" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" class="regular-text code" />
mp-wp_genesis 31 <span class="setting-description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span>
mp-wp_genesis 32 </td>
mp-wp_genesis 33 </tr>
mp-wp_genesis 34
mp-wp_genesis 35 <tr valign="top">
mp-wp_genesis 36 <th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
mp-wp_genesis 37 <td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" class="regular-text code" />
mp-wp_genesis 38 <span class="setting-description"><?php _e('Configuring this is optional by default it should be blank'); ?></span>
mp-wp_genesis 39 </td>
mp-wp_genesis 40 </tr>
mp-wp_genesis 41
mp-wp_genesis 42 <tr>
mp-wp_genesis 43 <th scope="row" colspan="2" class="th-full">
mp-wp_genesis 44 <label for="uploads_use_yearmonth_folders">
mp-wp_genesis 45 <input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1"<?php checked('1', get_option('uploads_use_yearmonth_folders')); ?> />
mp-wp_genesis 46 <?php _e('Organize my uploads into month- and year-based folders'); ?>
mp-wp_genesis 47 </label>
mp-wp_genesis 48 </th>
mp-wp_genesis 49 </tr>
mp-wp_genesis 50 <?php do_settings_fields('misc', 'default'); ?>
mp-wp_genesis 51 </table>
mp-wp_genesis 52
mp-wp_genesis 53 <table class="form-table">
mp-wp_genesis 54
mp-wp_genesis 55 <tr>
mp-wp_genesis 56 <th scope="row" class="th-full">
mp-wp_genesis 57 <label for="use_linksupdate">
mp-wp_genesis 58 <input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1"<?php checked('1', get_option('use_linksupdate')); ?> />
mp-wp_genesis 59 <?php _e('Track Links’ Update Times') ?>
mp-wp_genesis 60 </label>
mp-wp_genesis 61 </th>
mp-wp_genesis 62 </tr>
mp-wp_genesis 63 <tr>
mp-wp_genesis 64
mp-wp_genesis 65 <th scope="row" class="th-full">
mp-wp_genesis 66 <label for="hack_file">
mp-wp_genesis 67 <input type="checkbox" id="hack_file" name="hack_file" value="1"<?php checked('1', get_option('hack_file')); ?> />
mp-wp_genesis 68 <?php _e('Use legacy <code>my-hacks.php</code> file support') ?>
mp-wp_genesis 69 </label>
mp-wp_genesis 70 </th>
mp-wp_genesis 71 </tr>
mp-wp_genesis 72
mp-wp_genesis 73 </table>
mp-wp_genesis 74
mp-wp_genesis 75 <?php do_settings_sections('misc'); ?>
mp-wp_genesis 76
mp-wp_genesis 77 <p class="submit">
mp-wp_genesis 78 <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
mp-wp_genesis 79 </p>
mp-wp_genesis 80
mp-wp_genesis 81 </form>
mp-wp_genesis 82 </div>
mp-wp_genesis 83
mp-wp_genesis 84 <?php include('./admin-footer.php'); ?>