aboutsummaryrefslogtreecommitdiff
path: root/views/ical/pageshells
diff options
context:
space:
mode:
Diffstat (limited to 'views/ical/pageshells')
-rw-r--r--views/ical/pageshells/pageshell.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/views/ical/pageshells/pageshell.php b/views/ical/pageshells/pageshell.php
new file mode 100644
index 000000000..29894cdad
--- /dev/null
+++ b/views/ical/pageshells/pageshell.php
@@ -0,0 +1,23 @@
+<?php
+
+ /**
+ * Elgg ICAL output pageshell
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008-2009
+ * @link http://elgg.org/
+ *
+ */
+
+ 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