aboutsummaryrefslogtreecommitdiff
path: root/views/ical/pageshells
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-19 14:36:30 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-19 14:36:30 +0000
commitf81bbaa623dc62e1c4ae01c5b1e90006dd476a6a (patch)
tree34eb1b9614e15815cdf09fca1bf7d67ac22a1b6e /views/ical/pageshells
parent720b81320ee4c7b759ef6358e6f4a0b7893c1386 (diff)
downloadelgg-f81bbaa623dc62e1c4ae01c5b1e90006dd476a6a.tar.gz
elgg-f81bbaa623dc62e1c4ae01c5b1e90006dd476a6a.tar.bz2
Closes #581: First draft ICAL export views for Notable calendar events.
git-svn-id: https://code.elgg.org/elgg/trunk@3347 36083f99-b078-4883-b0ff-0f9b5a30f544
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