source: trunk/www.guidonia.net/wp/wp-admin/page-new.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 617 bytes
Line 
1<?php
2/**
3 * New page administration panel.
4 *
5 * @package WordPress
6 * @subpackage Administration
7 */
8
9/** WordPress Administration Bootstrap */
10require_once('admin.php');
11$title = __('Add New Page');
12$parent_file = 'edit-pages.php';
13$editing = true;
14wp_enqueue_script('autosave');
15wp_enqueue_script('page');
16if ( user_can_richedit() )
17 wp_enqueue_script('editor');
18add_thickbox();
19wp_enqueue_script('media-upload');
20wp_enqueue_script('word-count');
21
22if ( current_user_can('edit_pages') ) {
23 $action = 'post';
24 $post = get_default_page_to_edit();
25
26 include('edit-page-form.php');
27}
28
29include('admin-footer.php');
30
31?>
Note: See TracBrowser for help on using the repository browser.