diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:39:33 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:39:33 +0200 |
commit | 9738017972a6d4fea655926525b3c67dd85740cf (patch) | |
tree | 938d6f26c138d7c176c821bafc513362186a8ca7 /beta_accents/app/include/ical.inc.php | |
parent | 5dac82f52f45ad27f16ec2ff63ee75e2f39ef942 (diff) | |
download | 2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.gz 2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.bz2 2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.zip |
Version beta_accents 2007-03-12+17:26:00 - 2007-03-14+17:35:14
Diffstat (limited to 'beta_accents/app/include/ical.inc.php')
-rw-r--r-- | beta_accents/app/include/ical.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/beta_accents/app/include/ical.inc.php b/beta_accents/app/include/ical.inc.php index 0d858e3..0936800 100644 --- a/beta_accents/app/include/ical.inc.php +++ b/beta_accents/app/include/ical.inc.php @@ -1,6 +1,6 @@ <?php /* - * Fonction de génération d'iCal + * Fonction de génération d'iCal */ // Constantes d'erreur @@ -34,7 +34,7 @@ define("ERR_ICAL_SQL_ERROR", -2); $iCal_content = "BEGIN:VCALENDAR\r\n" . "VERSION:2.0\r\n"; while ( list($idR, $objetR, $courrielP, $dateDeb, $duree, $lieuR, $ordreJourR, $idL) = mysql_fetch_array($result) ) { - // TODO : Il est probablement judicieux d'ajouter à l'UID un timestamp unix !!!!! + // TODO : Il est probablement judicieux d'ajouter à l'UID un timestamp unix !!!!! $iCal_content .= "BEGIN:VEVENT\r\n" . "UID:awor_${idP}.${idR}\r\n" . "SUMMARY:$objetR ($courrielP)\r\n"; $iCal_content .= 'DTSTART:' . date('Ymd\THis', $dateDeb) . "\r\n"; $iCal_content .= 'DTEND:' . date('Ymd\THis', $dateDeb+60*$duree) . "\r\n"; @@ -56,7 +56,7 @@ define("ERR_ICAL_SQL_ERROR", -2); $iCal_content .= "ATTENDEE:mailto:$mail_autres\r\n"; } } - // TODO : vérifier la pertinance de la variable utilisée + // TODO : vérifier la pertinance de la variable utilisée $iCal_content .= 'URL:http://' . $_SERVER['HTTP_HOST'] . "\r\n"; $iCal_content .= "END:VEVENT\r\n"; } |