default.php 343 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Elgg ICAL output pageshell
  4. *
  5. * @package Elgg
  6. * @subpackage Core
  7. *
  8. */
  9. header("Content-Type: text/calendar");
  10. header("Content-Disposition: inline; filename=\"calendar.ics\"");
  11. ?>
  12. BEGIN:VCALENDAR
  13. VERSION:2.0
  14. PRODID:-//Curverider Ltd//NONSGML Elgg <?php echo get_version(true); ?>//EN
  15. <?php echo $vars['body']; ?>
  16. END:VCALENDAR