web/wp-admin/page-new.php
branchwordpress
changeset 109 03b0d1493584
child 132 4d4862461b8d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-admin/page-new.php	Wed Dec 23 17:55:33 2009 +0000
@@ -0,0 +1,31 @@
+<?php
+/**
+ * New page administration panel.
+ *
+ * @package WordPress
+ * @subpackage Administration
+ */
+
+/** WordPress Administration Bootstrap */
+require_once('admin.php');
+$title = __('Add New Page');
+$parent_file = 'edit-pages.php';
+$editing = true;
+wp_enqueue_script('autosave');
+wp_enqueue_script('page');
+if ( user_can_richedit() )
+	wp_enqueue_script('editor');
+add_thickbox();
+wp_enqueue_script('media-upload');
+wp_enqueue_script('word-count');
+
+if ( current_user_can('edit_pages') ) {
+	$action = 'post';
+	$post = get_default_page_to_edit();
+
+	include('edit-page-form.php');
+}
+
+include('admin-footer.php');
+
+?>