From de7184288816e4d542985eb4d6a7dc33c77fb4ff Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Wed, 18 Apr 2012 11:50:12 +0200 Subject: implement shared calendar activation on server side --- apps/calendar/templates/part.choosecalendar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/calendar/templates') diff --git a/apps/calendar/templates/part.choosecalendar.php b/apps/calendar/templates/part.choosecalendar.php index 3c6799d892e..d93a85aeca0 100644 --- a/apps/calendar/templates/part.choosecalendar.php +++ b/apps/calendar/templates/part.choosecalendar.php @@ -18,7 +18,7 @@ for($i = 0; $i < count($option_calendars); $i++){ -

">

+

">


@@ -28,7 +28,7 @@ for($i = 0; $i < count($option_calendars); $i++){ $share = OC_Calendar_Share::allSharedwithuser(OC_User::getUser(), OC_Calendar_Share::CALENDAR); $count = count($share); for($i = 0; $i < $count; $i++){ - $share[$i]['calendar'] = OC_Calendar_App::getCalendar($share[$i]['calendarid']); + $share[$i]['calendar'] = OC_Calendar_App::getCalendar($share[$i]['calendarid'], false, false); echo ''; $tmpl = new OC_Template('calendar', 'part.choosecalendar.rowfields.shared'); $tmpl->assign('share', $share[$i]); -- cgit v1.2.3