From 54a006d41a81b1b2af0c9693896c05b527b2dd98 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 12 Jul 2004 14:02:23 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20d'un=20type=20d'onglet=20image=20dans?= =?UTF-8?q?=20les=20fiches,=20utilis=E9s=20dans=20un=20premier=20temps=20p?= =?UTF-8?q?our=20les=20bookmark?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/lib/functions.inc.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index df7bdc0df37..21dc508ed8b 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -43,13 +43,20 @@ Function dolibarr_fiche_head($links, $active=0) for ($i = 0 ; $i < sizeof($links) ; $i++) { - if ($i == $active) + if ($links[$i][2] == 'image') { - print ''.$links[$i][1].''."\n"; + print ''.$links[$i][1].''."\n"; } else { - print ''.$links[$i][1].''."\n"; + if ($i == $active) + { + print ''.$links[$i][1].''."\n"; + } + else + { + print ''.$links[$i][1].''."\n"; + } } }