Changeset 143

Show
Ignore:
Timestamp:
01/19/06 18:20:28 (3 years ago)
Author:
benoit
Message:

Elgg calendar feature merged into main branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/.htaccess

    r141 r143  
    4949RewriteRule ^([A-Za-z0-9]+)\/files\/rss\/(.+) _files/rss2.php?files_name=$1&tag=$2 
    5050 
     51RewriteRule ^([A-Za-z0-9]+)\/calendar\/rss\/?$ _calendar/rss.php?username=$1 
     52RewriteRule ^([A-Za-z0-9]+)\/calendar\/rss\/(.*) _calendar/rss.php?tag=$2 
     53RewriteRule ^[A-Za-z0-9]+\/calendar\/([0-9]+)\.html$ _calendar/view_events.php?event_id=$1 
     54RewriteRule ^([A-Za-z0-9]+)\/calendar\/import\/?$ _calendar/ical_import.php 
     55RewriteRule ^([A-Za-z0-9]+)\/calendar\/archive\/?$ _calendar/archive.php?username=$1 
     56RewriteRule ^([A-Za-z0-9]+)\/calendar\/archive\/([0-9]+)\/([0-9]+)\/?$ _calendar/archive_month.php?username=$1&year=$2&month=$3 
     57 
     58RewriteRule ^([A-Za-z0-9]+)\/calendar\/?$ _calendar/index.php?context=private 
     59RewriteRule ^([A-Za-z0-9]+)\/calendar\/friends\/?$ _calendar/index.php?context=friends 
     60RewriteRule ^([A-Za-z0-9]+)\/calendar\/communities\/?$ _calendar/index.php?context=communities 
     61 
    5162# Some blogging clients probe Wordpress or MoveableType endpoints, 
    5263# redirect them to the Elgg xml-rpc endpoint 
  • devel/includes_system.php

    r109 r143  
    9191        // Weblog 
    9292                include(path . "units/weblogs/main.php"); 
    93  
     93        // Calendar 
     94                require(path . "units/calendar/main.php"); 
    9495        // File repository 
    9596                include(path . "units/files/main.php"); 
  • devel/units/invite/invite_actions.php

    r136 r143  
    110110                                                                                                                                email = '$email'"); 
    111111                                                                        $ident = db_id(); 
     112                                                                        db_query("INSERT INTO calendar " . 
     113                                                                                        "SET owner = {$ident}"); 
    112114                                                                        $owner = (int) $details->owner; 
    113115                                                                        if ($owner != -1) {