From da10307d07da73090c18e4321032db8009702f95 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 14 Feb 2005 10:28:18 +0000 Subject: [PATCH] =?UTF-8?q?Affiche=20le=20lien=20vers=20les=20dossiers=20s?= =?UTF-8?q?eulement=20si=20le=20module=20est=20d=E9finit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/clients.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/clients.php b/htdocs/comm/clients.php index ad3cf2983c3..415cc7a0c02 100644 --- a/htdocs/comm/clients.php +++ b/htdocs/comm/clients.php @@ -135,9 +135,18 @@ if ($result) print ' '.stripslashes($obj->nom).''; print "".$obj->code_client." \n"; print "".$obj->ville." \n"; - print ''; - print img_folder(); - print "\n"; + print ''; + if (defined("MAIN_MODULE_DOSSIER") && MAIN_MODULE_DOSSIER == 1) + { + print ''; + print img_folder(); + print ''; + } + else + { + print " "; + } + print "\n"; $i++; } print "";