aboutsummaryrefslogtreecommitdiff
path: root/views/ical/page/default.php
blob: b8347c9a06a0a766be87b297b9d180217a9c4699 (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