diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-02-11 14:02:51 +0100 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-02-11 14:02:51 +0100 |
commit | db23ec5c1c8a58d63bd81bee007994090b0bcecf (patch) | |
tree | 57e9b1285c914613194fb533f718f8d8720de24b /apps/calendar/index.php | |
parent | 66ac6c232c22181a9cd7b83518f802df81aea3e9 (diff) | |
download | nextcloud-server-db23ec5c1c8a58d63bd81bee007994090b0bcecf.tar.gz nextcloud-server-db23ec5c1c8a58d63bd81bee007994090b0bcecf.zip |
show shared calendars
Diffstat (limited to 'apps/calendar/index.php')
-rw-r--r-- | apps/calendar/index.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php index 12b51f564b4..3a7d09c98a8 100644 --- a/apps/calendar/index.php +++ b/apps/calendar/index.php @@ -19,6 +19,7 @@ $eventSources = array(); foreach($calendars as $calendar){ $eventSources[] = OC_Calendar_Calendar::getEventSourceInfo($calendar); } +$eventSources[] = array('url' => 'ajax/events.php?calendar_id=shared', 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable'=>'false'); //Fix currentview for fullcalendar if(OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'currentview', 'month') == "oneweekview"){ OC_Preferences::setValue(OC_USER::getUser(), "calendar", "currentview", "agendaWeek"); |