Log in with username/password: lyceum/lyceum

Changeset 1052

Show
Ignore:
Timestamp:
08/11/07 20:27:16 (1 year ago)
Author:
jjb
Message:

Refining wording of initial post and page for new blog.

#763

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/lib/lyceum-registration-functions.php

    r1033 r1052  
    6060   $now_gmt = gmdate('Y-m-d H:i:s'); 
    6161 
    62    $wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_name, post_modified, post_modified_gmt, comment_count) VALUES ($userid, '$now', '$now_gmt', '".$wpdb->escape(__('Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!'))."', '".$wpdb->escape(__('Hello world!'))."', '".$wpdb->escape(__('hello-world'))."', '$now', '$now_gmt', '1')");   
     62   $wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_name, post_modified, post_modified_gmt, comment_count) VALUES ($userid, '$now', '$now_gmt', '".$wpdb->escape(__('Welcome to '.get_settings('site_title').'. This is your first post. Edit or delete it, then start blogging!'))."', '".$wpdb->escape(__('Hello world!'))."', '".$wpdb->escape(__('hello-world'))."', '$now', '$now_gmt', '1')");   
    6363   $postid=$wpdb->insert_id; 
    6464   $wpdb->query( "INSERT INTO $wpdb->post2cat (`post_id`, `category_id`) VALUES ($postid, $catid)" ); 
     
    6868 
    6969   // First Page 
    70    $wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_name, post_modified, post_modified_gmt, post_status, page_blog) VALUES ($userid, '$now', '$now_gmt', '".$wpdb->escape(__('This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many pages like this one or sub-pages as you like and manage all of your content inside of WordPress.'))."', '".$wpdb->escape(__('About'))."', '".$wpdb->escape(__('about'))."', '$now', '$now_gmt', 'static', '$blog')"); 
     70   $wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_name, post_modified, post_modified_gmt, post_status, page_blog) VALUES ($userid, '$now', '$now_gmt', '".$wpdb->escape(__('This is an example of a page. You could edit this to put information about yourself or your site. You can create as many pages or sub-pages as you like, and manage all of your content inside of the '.get_settings('site_title').' web interface.'))."', '".$wpdb->escape(__('About'))."', '".$wpdb->escape(__('about'))."', '$now', '$now_gmt', 'static', '$blog')"); 
    7171   $pageid=$wpdb->insert_id; 
    7272 
Log in with username/password: lyceum/lyceum