Objet : devel-adl
Archives de la liste
- From: thomas AT lolut.utbm.info
- To: devel AT agendadulibre.org
- Subject: [Devel] r114 - trunk
- Date: Thu, 17 Nov 2005 22:15:50 +0100 (CET)
- List-archive: <http://lolut.utbm.info/pipermail/devel>
- List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>
Author: thomas
Date: 2005-11-17 22:15:48 +0100 (Thu, 17 Nov 2005)
New Revision: 114
Modified:
trunk/ical.php
Log:
Amelioration des champs X-WR-CALNAME et X-WR-CALDESC, sur une suggestion de
Colin Leroy.
Modified: trunk/ical.php
===================================================================
--- trunk/ical.php 2005-11-04 15:44:43 UTC (rev 113)
+++ trunk/ical.php 2005-11-17 21:15:48 UTC (rev 114)
@@ -31,15 +31,15 @@
$timezone = "Europe/Paris";
-function ical_start_calendar ()
+function ical_start_calendar ($region)
{
echo "BEGIN:VCALENDAR\n";
echo "VERSION:2.0\n";
echo "PRODID:-//AgendaDuLibre.org\n";
- echo "X-WR-CALNAME:Agenda du Libre\n";
+ echo "X-WR-CALNAME:Agenda du Libre - " . $region . "\n";
echo "X-WR-TIMEZONE:Europe/Paris\n";
echo "CALSCALE:GREGORIAN\n";
- echo "X-WR-CALDESC:Agenda du Libre\n";
+ echo "X-WR-CALDESC:" . utf8_encode("L'Agenda des �v�nements autour du
Libre en r�gion ") . $region . "\n";
}
function ical_end_calendar()
@@ -90,7 +90,7 @@
exit;
}
-ical_start_calendar();
+ical_start_calendar(utf8_encode(region_find($db, $region)));
while ($event = mysql_fetch_object($list))
{
- [Devel] r114 - trunk, thomas, 17/11/2005
Archives gérées par MHonArc 2.6.16.