summaryrefslogtreecommitdiffstats
path: root/apps/calendar/templates
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-08 16:58:17 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-08 16:58:17 +0200
commit3424785db0b9396a950083d90dc6d5cf3133b512 (patch)
tree9f1b178c9b3186e38de3ae7d5284ca4e948ab89d /apps/calendar/templates
parentf5c620006ebdaf65ced253f88bb85fc1ca671e3b (diff)
downloadnextcloud-server-3424785db0b9396a950083d90dc6d5cf3133b512.tar.gz
nextcloud-server-3424785db0b9396a950083d90dc6d5cf3133b512.zip
Implemented Sabre iCalendar Export Plugin.
Diffstat (limited to 'apps/calendar/templates')
-rw-r--r--apps/calendar/templates/settings.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/calendar/templates/settings.php b/apps/calendar/templates/settings.php
index 6d018f15110..28c357621a8 100644
--- a/apps/calendar/templates/settings.php
+++ b/apps/calendar/templates/settings.php
@@ -56,6 +56,12 @@
<dd><code><?php echo OCP\Util::linkToRemote('caldav'); ?></code></dd>
<dt><?php echo $l->t('iOS/OS X'); ?></dt>
<dd><code><?php echo OCP\Util::linkToRemote('caldav'); ?>principals/<?php echo OCP\USER::getUser(); ?></code>/</dd>
+ <dt><?php echo $l->t('Read only iCalendar link(s)'); ?></dt>
+ <dd>
+ <?php foreach($_['calendars'] as $calendar) { ?>
+ <a href="<?php echo OCP\Util::linkToRemote('caldav').'calendars/'.OCP\USER::getUser().'/'.rawurlencode($calendar['uri']) ?>?export"><?php echo $calendar['displayname'] ?></a><br />
+ <?php } ?>
+ </dd>
</dl>
</fieldset>
</form>