ryxeo-glpi-git / front / planning.ical.php @ b67d8923
Historique | Voir | Annoter | Télécharger (424 octets)
1 |
<?php
|
---|---|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
$NEEDED_ITEMS=array("planning","tracking","user","computer","printer","monitor","peripheral","networking","software","enterprise","reminder","phone"); |
7 |
|
8 |
define('GLPI_ROOT', '..'); |
9 |
include (GLPI_ROOT . "/inc/includes.php"); |
10 |
|
11 |
|
12 |
//export ICAL
|
13 |
|
14 |
if (!isset($_GET["uID"])) $_GET["uID"]=$_SESSION["glpiID"]; |
15 |
// Send UTF8 Headers
|
16 |
@header ("content-type:text/calendar; charset=UTF-8"); |
17 |
echo generateIcal($_GET["uID"]); |
18 |
|
19 |
|
20 |
|
21 |
?>
|