PHP Cross Reference of WordPress Subversion HEAD |
| [ Index ] [ Classes ] [ Functions ] [ Variables ] [ Constants ] |
[Summary view] [Print] [Text view]
1 <?php 2 require_once ('admin.php'); 3 $title = __('New Page'); 4 $parent_file = 'post-new.php'; 5 $editing = true; 6 wp_enqueue_script('prototype'); 7 wp_enqueue_script('interface'); 8 wp_enqueue_script('autosave'); 9 require_once ('admin-header.php'); 10 ?> 11 12 <?php if ( (isset($_GET['posted']) && $_GET['posted']) || isset($_GET['saved']) ) : ?> 13 <div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?></strong> <a href="edit-pages.php"><?php _e('Manage pages'); ?></a> | <a href="<?php echo get_page_link( isset($_GET['posted']) ? $_GET['posted'] : $_GET['saved'] ); ?>"><?php _e('View page »') ; ?></a></p></div> 14 <?php endif; ?> 15 16 <?php 17 if ( current_user_can('edit_pages') ) { 18 $action = 'post'; 19 $post = get_default_post_to_edit(); 20 $post->post_type = 'page'; 21 22 include ('edit-page-form.php'); 23 } 24 ?> 25 26 <?php include ('admin-footer.php'); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated Thu Dec 6 06:47:08 2007 for RedAlt XRefs | Cross-referenced by PHPXref 0.6 and RedAlt |