summaryrefslogtreecommitdiffstats
path: root/apps/calendar/templates
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-18 11:50:12 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-18 11:50:12 +0200
commitde7184288816e4d542985eb4d6a7dc33c77fb4ff (patch)
tree23c00efb920b0e2dfe66ceedb6bb561688d5a863 /apps/calendar/templates
parent8959e0af3def5bae8ca7d5cf8edc225f29a1162a (diff)
downloadnextcloud-server-de7184288816e4d542985eb4d6a7dc33c77fb4ff.tar.gz
nextcloud-server-de7184288816e4d542985eb4d6a7dc33c77fb4ff.zip
implement shared calendar activation on server side
Diffstat (limited to 'apps/calendar/templates')
-rw-r--r--apps/calendar/templates/part.choosecalendar.php4
1 files changed, 2 insertions, 2 deletions
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++){
</tr>
<tr>
<td colspan="6">
- <p style="margin: 0 auto;width: 90%;"><input style="display:none;width: 90%;float: left;" type="text" id="caldav_url" onmouseover="$('#caldav_url').select();" title="<?php echo $l->t("CalDav Link"); ?>"><img id="caldav_url_close" style="height: 20px;vertical-align: middle;display: none;" src="../../core/img/actions/delete.svg" alt="close" onclick="$('#caldav_url').hide();$('#caldav_url_close').hide();"/></p>
+ <p style="margin: 0 auto;width: 90%;"><input style="display:none;width: 90%;float: left;" type="text" id="caldav_url" onmouseover="$('#caldav_url').select();" title="<?php echo $l->t("CalDav Link"); ?>"><img id="caldav_url_close" style="height: 20px;vertical-align: middle;display: none;" src="../../core/img/actions/delete.svg" alt="close" onclick="$('#caldav_url').hide();$('#caldav_url_close').hide();"/></p>
</td>
</tr>
</table><br>
@@ -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 '<tr>';
$tmpl = new OC_Template('calendar', 'part.choosecalendar.rowfields.shared');
$tmpl->assign('share', $share[$i]);