-
+ FBEBCF929F7AFE08FE3121D31FC856A2E6E2C9F65CB4BF3773175A2BE6F14952E7C4A5874E1CFF4CD199B6C15361FB1F27B83BCAEBBA6ABC2C8B99D59F887AEA
mp-wp/wp-admin/options-misc.php
(0 . 0)(1 . 84)
53816 <?php
53817 /**
53818 * Miscellaneous settings administration panel.
53819 *
53820 * @package WordPress
53821 * @subpackage Administration
53822 */
53823
53824 /** WordPress Administration Bootstrap */
53825 require_once('admin.php');
53826
53827 $title = __('Miscellaneous Settings');
53828 $parent_file = 'options-general.php';
53829
53830 include('admin-header.php');
53831
53832 ?>
53833
53834 <div class="wrap">
53835 <?php screen_icon(); ?>
53836 <h2><?php echo wp_specialchars( $title ); ?></h2>
53837
53838 <form method="post" action="options.php">
53839 <?php settings_fields('misc'); ?>
53840
53841 <h3><?php _e('Uploading Files'); ?></h3>
53842 <table class="form-table">
53843 <tr valign="top">
53844 <th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
53845 <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" />
53846 <span class="setting-description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span>
53847 </td>
53848 </tr>
53849
53850 <tr valign="top">
53851 <th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
53852 <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" />
53853 <span class="setting-description"><?php _e('Configuring this is optional by default it should be blank'); ?></span>
53854 </td>
53855 </tr>
53856
53857 <tr>
53858 <th scope="row" colspan="2" class="th-full">
53859 <label for="uploads_use_yearmonth_folders">
53860 <input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1"<?php checked('1', get_option('uploads_use_yearmonth_folders')); ?> />
53861 <?php _e('Organize my uploads into month- and year-based folders'); ?>
53862 </label>
53863 </th>
53864 </tr>
53865 <?php do_settings_fields('misc', 'default'); ?>
53866 </table>
53867
53868 <table class="form-table">
53869
53870 <tr>
53871 <th scope="row" class="th-full">
53872 <label for="use_linksupdate">
53873 <input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1"<?php checked('1', get_option('use_linksupdate')); ?> />
53874 <?php _e('Track Links’ Update Times') ?>
53875 </label>
53876 </th>
53877 </tr>
53878 <tr>
53879
53880 <th scope="row" class="th-full">
53881 <label for="hack_file">
53882 <input type="checkbox" id="hack_file" name="hack_file" value="1"<?php checked('1', get_option('hack_file')); ?> />
53883 <?php _e('Use legacy <code>my-hacks.php</code> file support') ?>
53884 </label>
53885 </th>
53886 </tr>
53887
53888 </table>
53889
53890 <?php do_settings_sections('misc'); ?>
53891
53892 <p class="submit">
53893 <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
53894 </p>
53895
53896 </form>
53897 </div>
53898
53899 <?php include('./admin-footer.php'); ?>