Changeset 848:ad18a33a3cef for admin/install
- Timestamp:
- 07/31/12 13:18:23 (13 years ago)
- Branch:
- sexy
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/install/index.php
r557 r848 166 166 $cur->post_content_xhtml = $cur->post_content; 167 167 $cur->post_status = 1; 168 $cur->post_open_comment = 1;169 $cur->post_open_tb = 0;170 168 $post_id = $core->blog->addPost($cur); 171 172 # Add a comment to it173 $cur = $core->con->openCursor($core->prefix.'comment');174 $cur->post_id = $post_id;175 $cur->comment_tz = $default_tz;176 $cur->comment_author = __('Dotclear Team');177 $cur->comment_email = 'contact@dotclear.net';178 $cur->comment_site = 'http://www.dotclear.org/';179 $cur->comment_content = __("<p>This is a comment.</p>\n<p>To delete it, log in and ".180 "view your blog's comments. Then you might remove or edit it.</p>");181 $core->blog->addComment($cur);182 169 183 170 # Plugins initialization … … 210 197 $init_fav['posts'] = array('posts','Entries','posts.php', 211 198 'images/menu/entries.png','images/menu/entries-b.png', 212 'usage,contentadmin',null,null);213 $init_fav['comments'] = array('comments','Comments','comments.php',214 'images/menu/comments.png','images/menu/comments-b.png',215 199 'usage,contentadmin',null,null); 216 200 $init_fav['prefs'] = array('prefs','My preferences','preferences.php',
Note: See TracChangeset
for help on using the changeset viewer.