From: Stéphane Jacob Date: Wed, 26 Oct 2011 11:35:08 +0000 (+0200) Subject: Adds brief summary of account details in registration email warning. X-Git-Tag: xorg/1.1.4~56 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e017b499b5718874ce09a008bcf546472024c68b;p=platal.git Adds brief summary of account details in registration email warning. Signed-off-by: Stéphane Jacob --- diff --git a/modules/register.php b/modules/register.php index 9cd2cae..fd9bdd3 100644 --- a/modules/register.php +++ b/modules/register.php @@ -276,7 +276,9 @@ class RegisterModule extends PLModule $_SESSION['subState'] = $subState->dict(); if (count($alert)) { - $alert_details = "Détails des alertes :" . $alert_details . "\n\n\n"; + $alert_details = "Détails des alertes :" . $alert_details . "\n\n"; + $alert_details .= 'Compte concerné : ' . $subState->s('forlife') . ' (redirection vers : ' + . ($subState->s('email') == '' ? Post::t('email') : $subState->s('email')). ")\n\n\n"; send_warning_mail(implode(' - ', $alert), $alert_details); }