aboutsummaryrefslogtreecommitdiff
path: root/views/ical/page/default.php
blob: c269b5849637f0b87bb106cd893670ec215a6e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * Elgg ICAL output pageshell
 *
 * @package Elgg
 * @subpackage Core
 *
 */

header("Content-Type: text/calendar");
//header("Content-Disposition: attachment; filename=\"calendar.ics\"");
?>
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Curverider Ltd//NONSGML Elgg <?php echo get_version(true); ?>//EN
<?php echo $vars['body']; ?>
END:VCALENDAR