Improvements to page handling. Move form to own page, put under "Write", ambiguiate language, and fix redirect.

git-svn-id: https://develop.svn.wordpress.org/trunk@1857 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-11-16 19:29:51 +00:00
parent 0ddb1564aa
commit 70fdfb4785
5 changed files with 41 additions and 23 deletions

View File

@@ -54,23 +54,9 @@ $class = ('alternate' == $class) ? '' : 'alternate';
<?php
} // end if ($posts)
?>
<p><?php _e('Pages are like posts except they live outside of the normal blog chronology. You can use pages to organize and manage any amount of content.'); ?></p>
<h3><a href="page-new.php"><?php _e('Create New Page'); ?> &raquo;</a></h3>
</div>
<?php
if ($user_level > 0) {
$action = 'post';
get_currentuserinfo();
//set defaults
$post_status = 'static';
$comment_status = get_settings('default_comment_status');
$ping_status = get_settings('default_ping_status');
$post_pingback = get_settings('default_pingback_flag');
$post_parent = 0;
$page_template = 'default';
include('edit-page-form.php');
}
?>
<?php include('admin-footer.php'); ?>