Make WordPress Core


Ignore:
Timestamp:
10/05/2004 08:27:13 AM (20 years ago)
Author:
saxmatt
Message:

Pages update and tweaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post.php

    r1688 r1747  
    692692    do_action('edit_comment', $comment_ID);
    693693    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 defaults
    704         $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&#8217;re a newcomer, you&#8217;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&#8217;re promoted, just reload this page and you&#8217;ll be able to blog. :)'), get_settings('admin_email')); ?>
    716         </p>
    717 </div>
    718 <?php
    719 
    720     }
    721 
    722      break;
    723694
    724695default:
Note: See TracChangeset for help on using the changeset viewer.