Dotclear


Ignore:
Timestamp:
07/31/12 13:18:23 (13 years ago)
Author:
Dsls <dsls@…>
Branch:
sexy
Message:

sexy step 1 : no more comments ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/install/index.php

    r557 r848  
    166166          $cur->post_content_xhtml = $cur->post_content; 
    167167          $cur->post_status = 1; 
    168           $cur->post_open_comment = 1; 
    169           $cur->post_open_tb = 0; 
    170168          $post_id = $core->blog->addPost($cur); 
    171            
    172           # Add a comment to it 
    173           $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); 
    182169           
    183170          #  Plugins initialization 
     
    210197          $init_fav['posts'] = array('posts','Entries','posts.php', 
    211198               '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', 
    215199               'usage,contentadmin',null,null); 
    216200          $init_fav['prefs'] = array('prefs','My preferences','preferences.php', 
Note: See TracChangeset for help on using the changeset viewer.

Sites map