From c460d1f98d50f0e032851c12cecbffa42d1aa0b9 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Tue, 7 Mar 2006 15:54:35 +0000 Subject: [PATCH] =?utf8?q?Prise=20en=20compte=20du=20param=C3=A8tre=20can?= =?utf8?q?=5Fattach=20pour=20dire=20si=20on=20a=20le=20droit=20ou=20non=20?= =?utf8?q?d'envoyer=20des=20messages=20avec=20des=20pi=C3=A8ces=20jointes?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@38 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- banana/banana.inc.php.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/banana/banana.inc.php.in b/banana/banana.inc.php.in index f160209..546f245 100644 --- a/banana/banana.inc.php.in +++ b/banana/banana.inc.php.in @@ -315,9 +315,11 @@ class Banana $html .= ''._b_('Corps').''; $html .= ''; - $html .= ''._b_('Pièces jointes').''; - $html .= ''; - $html .= ''; + if ($this->can_attach) { + $html .= ''._b_('Pièce jointe').''; + $html .= ''; + $html .= ''; + } $html .= ''; if ($id > 0) { $html .= ''; -- 2.1.4