mp-wp_genesis 1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * New page administration panel.
mp-wp_genesis 4 *
mp-wp_genesis 5 * @package WordPress
mp-wp_genesis 6 * @subpackage Administration
mp-wp_genesis 7 */
mp-wp_genesis 8
mp-wp_genesis 9 /** WordPress Administration Bootstrap */
mp-wp_genesis 10 require_once('admin.php');
mp-wp_genesis 11 $title = __('Add New Page');
mp-wp_genesis 12 $parent_file = 'edit-pages.php';
mp-wp_genesis 13 $editing = true;
mp-wp_genesis 14 wp_enqueue_script('autosave');
mp-wp_genesis 15 wp_enqueue_script('page');
mp-wp_genesis 16 if ( user_can_richedit() )
mp-wp_genesis 17 wp_enqueue_script('editor');
mp-wp_genesis 18 add_thickbox();
mp-wp_genesis 19 wp_enqueue_script('media-upload');
mp-wp_genesis 20 wp_enqueue_script('word-count');
mp-wp_genesis 21
mp-wp_genesis 22 if ( current_user_can('edit_pages') ) {
mp-wp_genesis 23 $action = 'post';
mp-wp_genesis 24 $post = get_default_page_to_edit();
mp-wp_genesis 25
mp-wp_genesis 26 include('edit-page-form.php');
mp-wp_genesis 27 }
mp-wp_genesis 28
mp-wp_genesis 29 include('admin-footer.php');
mp-wp_genesis 30
mp-wp_genesis 31 ?>