aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/index.php
diff options
context:
space:
mode:
authorGeorg Ehrke <ownclouddev@georgswebsite.de>2012-02-20 11:31:41 +0100
committerGeorg Ehrke <ownclouddev@georgswebsite.de>2012-02-20 11:31:41 +0100
commit619c62e681307b769af4aca56acb117de9768995 (patch)
tree9ff1e31b5487b128a5d0065450ce82268b254c65 /apps/calendar/index.php
parent548a2e6263121b63102bffb8e2558763a9234eba (diff)
downloadnextcloud-server-619c62e681307b769af4aca56acb117de9768995.tar.gz
nextcloud-server-619c62e681307b769af4aca56acb117de9768995.zip
change parameter names for shared calendars
Diffstat (limited to 'apps/calendar/index.php')
-rw-r--r--apps/calendar/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php
index 9f8a4955791..117272ebc4c 100644
--- a/apps/calendar/index.php
+++ b/apps/calendar/index.php
@@ -19,8 +19,8 @@ $eventSources = array();
foreach($calendars as $calendar){
$eventSources[] = OC_Calendar_Calendar::getEventSourceInfo($calendar);
}
-$eventSources[] = array('url' => 'ajax/events.php?calendar_id=shared_readwrite', 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable'=>'true');
-$eventSources[] = array('url' => 'ajax/events.php?calendar_id=calendar_readonly, 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable' => 'false');
+$eventSources[] = array('url' => 'ajax/events.php?calendar_id=shared_rw', 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable'=>'true');
+$eventSources[] = array('url' => 'ajax/events.php?calendar_id=shared_r, '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");