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