[ Root ] [ Search ] [ Index ]

PHP Cross Reference of WordPress MU 2.9.2

Provided by Yoast

title

Body

[close]

/wp-admin/ -> options-misc.php (source)

   1  <?php
   2  /**
   3   * Miscellaneous settings administration panel.
   4   *
   5   * @package WordPress
   6   * @subpackage Administration
   7   */
   8  
   9  /** WordPress Administration Bootstrap */
  10  require_once ('admin.php');
  11  
  12  if ( ! current_user_can('manage_options') )
  13      wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
  14  
  15  $title = __('Miscellaneous Settings');
  16  $parent_file = 'options-general.php';
  17  
  18  include ('admin-header.php');
  19  
  20  ?>
  21  
  22  <div class="wrap">
  23  <?php screen_icon(); ?>
  24  <h2><?php echo esc_html( $title ); ?></h2>
  25  
  26  <form method="post" action="options.php">
  27  <?php settings_fields('misc'); ?>
  28  
  29  
  30  <?php do_settings_sections('misc'); ?>
  31  
  32  <p class="submit">
  33      <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
  34  </p>
  35  
  36  </form>
  37  </div>
  38  
  39  <?php include ('./admin-footer.php'); ?>


Generated: Mon May 3 12:25:32 2010 Cross-referenced by PHPXref 0.7