X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fbroken.inc.php;h=2cb486d62eca055fecf36badd07b7ac532424893;hb=07d0a10adbc2578f9b85875e551a03b99d3650e8;hp=70d02bd1e8cd66395d11f7e4c8fdbb5a7032c67c;hpb=45ea6160465aeba0aa780e49c12272819dedffd1;p=platal.git diff --git a/include/validations/broken.inc.php b/include/validations/broken.inc.php index 70d02bd..2cb486d 100644 --- a/include/validations/broken.inc.php +++ b/include/validations/broken.inc.php @@ -66,15 +66,16 @@ class BrokenReq extends Validate protected function _mail_body($isok) { + $your = ($this->formal ? 'votre' : 'ta'); if ($isok && !$this->m_reactive) { return " Un email de contact vient d'être envoyé à {$this->m_user->fullName()}" . " ({$this->m_user->promo()}) pour confirmer sa volonté de" . " mettre à jour sa redirection Polytechnique.org !\n\n" - . "Merci de ta participation !\n"; + . "Merci de $your participation !\n"; } elseif ($isok) { return " L'adresse de redirection {$this->m_email} de {$this->m_user->fullName()} ({$this->m_user->promo()}) " ."vient d'être réactivée. Un email lui a été envoyé pour l'en informer.\n\n" - ."Merci de ta participation !\n"; + ."Merci de $your participation !\n"; } else { return " Nous n'utiliserons pas cette adresse pour contacter {$this->m_user->fullName()} ({$this->m_user->promo()})."; }