Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-misc.php

    r4196 r3437  
    1212<h2><?php _e('Miscellaneous Options') ?></h2>
    1313<form method="post" action="options.php">
    14 <?php wp_nonce_field('update-options') ?>
    15 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" /></p>
     14
    1615<fieldset class="options">
    1716<legend><?php _e('Uploading'); ?></legend>
     
    1918<tr valign="top">
    2019<th scope="row"><?php _e('Store uploads in this folder'); ?>:</th>
    21 <td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo wp_specialchars(str_replace(ABSPATH, '', get_option('upload_path')), 1); ?>" size="40" />
     20<td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo str_replace(ABSPATH, '', get_settings('upload_path')); ?>" size="40" />
    2221<br />
    2322<?php _e('Default is <code>wp-content/uploads</code>'); ?>
     
    2827<td>
    2928<label for="uploads_use_yearmonth_folders">
    30 <input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1" <?php checked('1', get_option('uploads_use_yearmonth_folders')); ?> />
     29<input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1" <?php checked('1', get_settings('uploads_use_yearmonth_folders')); ?> />
    3130<?php _e('Organize my uploads into month- and year-based folders'); ?>
    3231</label>
     
    3635</fieldset>
    3736
    38 <p><input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1" <?php checked('1', get_option('use_linksupdate')); ?> />
    39 <label for="use_linksupdate"><?php _e('Track Bookmarks&#8217; Update Times') ?></label></p>
     37<p><input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1" <?php checked('1', get_settings('use_linksupdate')); ?> />
     38<label for="use_linksupdate"><?php _e('Track Links&#8217; Update Times') ?></label></p>
    4039<p>
    41 <label><input type="checkbox" name="hack_file" value="1" <?php checked('1', get_option('hack_file')); ?> /> <?php _e('Use legacy <code>my-hacks.php</code> file support') ?></label>
     40<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>
    4241</p>
    4342
     
    4544<input type="hidden" name="action" value="update" />
    4645<input type="hidden" name="page_options" value="hack_file,use_linksupdate,uploads_use_yearmonth_folders,upload_path" />
    47 <input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" />
     46<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
    4847</p>
    4948</form>
Note: See TracChangeset for help on using the changeset viewer.