Make WordPress Core


Ignore:
Timestamp:
10/19/2004 03:03:06 AM (20 years ago)
Author:
rboren
Message:

Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r1755 r1818  
    11<?php
     2require_once('admin.php');
    23
    34if ( isset($_GET['action']) ) {
    4     $standalone = 1;
    5     require_once('admin-header.php');
    6 
    75    check_admin_referer();
    86
     
    2220 }
    2321
    24 require_once('../wp-includes/wp-l10n.php');
    2522$title = __('Manage Themes');
    2623$parent_file = 'themes.php';
    2724require_once('admin-header.php');
    28 
    29 if ($user_level < 9)
    30     die (__('Sorry, you must be at least a level 9 user to modify themes.'));
    3125?>
    32 
    3326<?php if ( ! validate_current_theme() ) : ?>
    3427<div class="updated"><p><?php _e('The active theme is broken.  Reverting to the default theme.'); ?></p></div>
Note: See TracChangeset for help on using the changeset viewer.