2 require_once('admin.php');
3 $title = __('New Page');
4 $parent_file = 'post.php';
6 require_once('admin-header.php');
9 <?php if ( isset($_GET['saved']) ) : ?>
10 <div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages'); ?> »</a></strong></p></div>
14 if ( current_user_can('edit_pages') ) {
16 get_currentuserinfo();
18 $post = get_default_post_to_edit();
19 $post->post_status = 'static';
21 include('edit-page-form.php');
25 <?php include('admin-footer.php'); ?>