Changeset 1747 for trunk/wp-admin/post.php
- Timestamp:
- 10/05/2004 08:27:13 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r1688 r1747 692 692 do_action('edit_comment', $comment_ID); 693 693 break; 694 695 case 'createpage':696 $standalone = 0;697 $title = __('Create New Page');698 require_once ('./admin-header.php');699 700 if ($user_level > 0) {701 $action = 'post';702 get_currentuserinfo();703 //set defaults704 $post_status = 'static';705 $comment_status = get_settings('default_comment_status');706 $ping_status = get_settings('default_ping_status');707 $post_pingback = get_settings('default_pingback_flag');708 709 include('edit-page-form.php');710 } else {711 ?>712 <div class="wrap">713 <p><?php printf(__('Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br />714 You can also <a href="mailto:%s?subject=Promotion?">e-mail the admin</a> to ask for a promotion.<br />715 When you’re promoted, just reload this page and you’ll be able to blog. :)'), get_settings('admin_email')); ?>716 </p>717 </div>718 <?php719 720 }721 722 break;723 694 724 695 default:
Note: See TracChangeset
for help on using the changeset viewer.