[Devel] r398 - trunk
svn at agendadulibre.org
svn at agendadulibre.org
Lun 29 Sep 13:58:10 CEST 2008
Author: thomas
Date: Mon Sep 29 13:58:09 2008
New Revision: 398
Log:
* rejectevent.php, validateevent.php, editevent.php:
- Ajout d'un appel à calendar_setlocale() avant l'envoi du mail de
notification de refus, de validation ou d'édition, de manière à ce
que la date soit bien affichée en français.
Modified:
trunk/editevent.php
trunk/rejectevent.php
trunk/validateevent.php
Modified: trunk/editevent.php
==============================================================================
--- trunk/editevent.php (original)
+++ trunk/editevent.php Mon Sep 29 13:58:09 2008
@@ -138,6 +138,8 @@
if ($_POST['__event_save'])
{
+ calendar_setlocale();
+
$returnaddr = save_event ($db, $user, $id,
$_POST['__event_title'],
mktime($_POST['__event_start_hour'],
Modified: trunk/rejectevent.php
==============================================================================
--- trunk/rejectevent.php (original)
+++ trunk/rejectevent.php Mon Sep 29 13:58:09 2008
@@ -34,6 +34,8 @@
}
else if ($_POST['__event_rejection_confirm'])
{
+ calendar_setlocale();
+
$id = get_safe_integer('id', 0);
if ($_POST['reason'] == "out-of-subject")
Modified: trunk/validateevent.php
==============================================================================
--- trunk/validateevent.php (original)
+++ trunk/validateevent.php Mon Sep 29 13:58:09 2008
@@ -34,6 +34,8 @@
}
else if ($_POST['__event_validation_confirm'])
{
+ calendar_setlocale();
+
$id = get_safe_integer('id', 0);
/* Fetch contact email, in order to be able to send a confirmation
Plus d'informations sur la liste de diffusion Devel