web/wp-admin/options-misc.php
branchwordpress
changeset 132 4d4862461b8d
parent 109 03b0d1493584
equal deleted inserted replaced
131:a4642baaf829 132:4d4862461b8d
    28 
    28 
    29 <h3><?php _e('Uploading Files'); ?></h3>
    29 <h3><?php _e('Uploading Files'); ?></h3>
    30 <table class="form-table">
    30 <table class="form-table">
    31 <tr valign="top">
    31 <tr valign="top">
    32 <th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
    32 <th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
    33 <td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" class="regular-text code" />
    33 <td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" />
    34 <span class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span>
    34 <span class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span>
    35 </td>
    35 </td>
    36 </tr>
    36 </tr>
    37 
    37 
    38 <tr valign="top">
    38 <tr valign="top">
    61 <input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1"<?php checked('1', get_option('use_linksupdate')); ?> />
    61 <input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1"<?php checked('1', get_option('use_linksupdate')); ?> />
    62 <?php _e('Track Links&#8217; Update Times') ?>
    62 <?php _e('Track Links&#8217; Update Times') ?>
    63 </label>
    63 </label>
    64 </th>
    64 </th>
    65 </tr>
    65 </tr>
    66 <tr>
       
    67 
    66 
    68 </table>
    67 </table>
    69 
    68 
    70 <?php do_settings_sections('misc'); ?>
    69 <?php do_settings_sections('misc'); ?>
    71 
    70