Changeset 182

Show
Ignore:
Timestamp:
01/24/06 17:09:22 (3 years ago)
Author:
benoit
Message:

fixed bug with adding users through the admin interface and added missing main.php entry for calendar component to includes_system.php

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/includes_system.php

    r148 r182  
    9191        // Weblog 
    9292                include(path . "units/weblogs/main.php"); 
     93         
    9394        // File repository 
    9495                include(path . "units/files/main.php"); 
     
    117118                require(path . "units/xml/main.php"); 
    118119                 
     120        // Calendar 
     121                include(path . "units/calendar/main.php"); 
     122                 
    119123        // Your Resources 
    120124                require(path . "units/magpie/main.php"); 
  • devel/units/admin/admin_actions.php

    r136 r182  
    143143                                                                                        db_query("insert into users set username = '" . $new_username[$i] . "', name = '" . $new_name[$i] . "', email = '" . $new_email[$i] . "', password = '".$md5password."', active = 'yes', user_type = 'person'"); 
    144144                                                                                        $newid = db_id(); 
     145                                                                                        db_query("insert into calendar(owner) values({$newid})"); 
     146                                                                                         
    145147                                                                                        $rssresult = run("weblogs:rss:publish", array($newid, false)); 
    146148                                                                                        $rssresult = run("files:rss:publish", array($newid, false));