aboutsummaryrefslogtreecommitdiff
path: root/views/ical/page/default.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-25 07:56:31 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-25 07:56:31 -0400
commit65bd37c1f0e3e3adb04bd48dad6183bcd3c7e26c (patch)
treea29068973073e925d933e4450eb28c8a6f1ee867 /views/ical/page/default.php
parente1b8b96b1eaf41416ce08574c5b9b51530947cf0 (diff)
downloadelgg-65bd37c1f0e3e3adb04bd48dad6183bcd3c7e26c.tar.gz
elgg-65bd37c1f0e3e3adb04bd48dad6183bcd3c7e26c.tar.bz2
Refs #3201 a working ical view type
Diffstat (limited to 'views/ical/page/default.php')
-rw-r--r--views/ical/page/default.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/ical/page/default.php b/views/ical/page/default.php
index 9a529b24f..01bd9e86e 100644
--- a/views/ical/page/default.php
+++ b/views/ical/page/default.php
@@ -7,12 +7,13 @@
*
*/
+$site = elgg_get_site_entity();
+
header("Content-Type: text/calendar");
-echo $vars['body'];
?>
BEGIN:VCALENDAR
VERSION:2.0
-PRODID:-//Curverider Ltd//NONSGML Elgg <?php echo get_version(true); ?>//EN
+PRODID:-//Elgg//NONSGML <?php echo $site->name; ?>//EN
<?php echo $vars['body']; ?>
END:VCALENDAR