aboutsummaryrefslogtreecommitdiff
path: root/views/ical/page
diff options
context:
space:
mode:
Diffstat (limited to 'views/ical/page')
-rw-r--r--views/ical/page/default.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/views/ical/page/default.php b/views/ical/page/default.php
new file mode 100644
index 000000000..01bd9e86e
--- /dev/null
+++ b/views/ical/page/default.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Elgg ICAL output pageshell
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ */
+
+$site = elgg_get_site_entity();
+
+header("Content-Type: text/calendar");
+
+?>
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//Elgg//NONSGML <?php echo $site->name; ?>//EN
+<?php echo $vars['body']; ?>
+END:VCALENDAR