aboutsummaryrefslogtreecommitdiff
path: root/views/ical/page
diff options
context:
space:
mode:
Diffstat (limited to 'views/ical/page')
-rw-r--r--views/ical/page/shells/default.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/ical/page/shells/default.php b/views/ical/page/shells/default.php
new file mode 100644
index 000000000..9a529b24f
--- /dev/null
+++ b/views/ical/page/shells/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