X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fnl.inc.php;h=fc96283919fdc7aed6afec87752ae6d83e1912fb;hb=9ed7f5bcaa0b9b264ef005baf55b3511a4327c69;hp=3008be34332a7c3d21151099f926ab5fc453a322;hpb=21c7c593d7100a887f984c49a82c03eb32169fc4;p=platal.git diff --git a/include/validations/nl.inc.php b/include/validations/nl.inc.php index 3008be3..fc96283 100644 --- a/include/validations/nl.inc.php +++ b/include/validations/nl.inc.php @@ -1,6 +1,6 @@ art->title().') vient d\'être validé.'; + return " L'article que tu avais proposé (" . $this->art->title() . ") vient d'être validé."; } else { - return ' L\'article que tu avais proposé ('.$this->art->title().') a été refusé.'; + return " L'article que tu avais proposé a été refusé."; } } // }}} + // {{{ function _mail_ps + + protected function _mail_ps($isok) + { + if ($isok) { + return ''; + } + return "\nPS : pour rappel, en voici le contenu :" + . "\n--------------------------------------------------------------------------\n" + . $this->art->title() + . "\n--------------------------------------------------------------------------\n" + . $this->art->body() . "\n\n" . $this->art->append() . "\n"; + } + + // }}} // {{{ function commit() public function commit()