projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'xorg/maint' into xorg/master
[platal.git]
/
include
/
validations
/
evts.inc.php
diff --git
a/include/validations/evts.inc.php
b/include/validations/evts.inc.php
index
67076a0
..
7dcbce0
100644
(file)
--- 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)
{
protected function _mail_body($isok)
{
+ $you_have = ($this->formal ? 'vous aviez' : 'tu avais');
if ($isok) {
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 {
} 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.";
}
}
}
}