From 5113372b397d045e715e6c95a3961fd5cea46b16 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 31 Jan 2004 17:00:32 +0000 Subject: [PATCH] Modification du lien Intervention --- htdocs/comm/fiche.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index a14453114a5..8122a7aa291 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -154,10 +154,6 @@ if ($socid > 0) if ($conf->projet->enabled && $user->rights->projet->creer) print "[idp&action=create\">Projet]"; - if (defined("MAIN_MODULE_FICHEINTER") && MAIN_MODULE_FICHEINTER) - { - print "[idp&action=create\">Intervention]"; - } print "[idp\">Notes]"; print "[idp&action=edit\">Editer]"; } @@ -339,7 +335,12 @@ if ($socid > 0) { print '-'; } - print '-'; + + if (defined("MAIN_MODULE_FICHEINTER") && MAIN_MODULE_FICHEINTER) + { + print 'Intervention'; + } + print '
'; /* @@ -370,7 +371,7 @@ if ($socid > 0) print 'Prénom Nom'; print 'PosteTél'; print "FaxEmail"; - print "idp&action=addcontact\">Ajouter"; + print "idp&action=create\">Ajouter"; $sql = "SELECT p.idp, p.name, p.firstname, p.poste, p.phone, p.fax, p.email, p.note FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $objsoc->idp ORDER by p.datec"; $result = $db->query($sql); @@ -394,7 +395,7 @@ if ($socid > 0) print ''.$obj->phone.' '; print ''.$obj->fax.' '; print ''.$obj->email.' '; - print "idp&action=editcontact&contactid=$obj->idp\">Modifier"; + print "idp\">Modifier"; print "\n"; $i++; $tag = !$tag;