X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fevts.inc.php;h=7dcbce07e98f81ba548117edc63076a5914c9cdb;hb=07d0a10adbc2578f9b85875e551a03b99d3650e8;hp=67076a02f199c0bb3a5e0056915eabf2ec5d8581;hpb=45ea6160465aeba0aa780e49c12272819dedffd1;p=platal.git diff --git a/include/validations/evts.inc.php b/include/validations/evts.inc.php index 67076a0..7dcbce0 100644 --- a/include/validations/evts.inc.php +++ b/include/validations/evts.inc.php @@ -122,10 +122,11 @@ class EvtReq extends Validate protected function _mail_body($isok) { + $you_have = ($this->formal ? 'vous aviez' : 'tu avais'); if ($isok) { - return " L'annonce que tu avais proposée ({$this->titre}) vient d'être validée."; + return " L'annonce que $you_have proposée ({$this->titre}) vient d'être validée."; } else { - return " L'annonce que tu avais proposée ({$this->titre}) a été refusée."; + return " L'annonce que $you_have proposée ({$this->titre}) a été refusée."; } }