From 2069135968ac70b4c6eacb6e2f30d6b91626b2d3 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 10 Feb 2004 18:44:59 +0000 Subject: [PATCH] Modif liens contact --- htdocs/comm/fiche.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 8122a7aa291..5ee7e97cc6b 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -151,8 +151,6 @@ if ($socid > 0) print "idp\">Compta"; print "[idp\">Documents]"; print "[idp&action=add_bookmark\">Bookmark]"; - if ($conf->projet->enabled && $user->rights->projet->creer) - print "[idp&action=create\">Projet]"; print "[idp\">Notes]"; print "[idp&action=edit\">Editer]"; @@ -395,7 +393,10 @@ if ($socid > 0) print ''.$obj->phone.' '; print ''.$obj->fax.' '; print ''.$obj->email.' '; - print "idp\">Modifier"; + print ""; + print "idp\">"; + print img_edit(); + print ''; print "\n"; $i++; $tag = !$tag; @@ -502,7 +503,7 @@ if ($socid > 0) if ( $db->query($sql) ) { - print "\n"; + print '
'; $i = 0 ; $num = $db->num_rows(); @@ -577,17 +578,17 @@ if ($socid > 0) print $db->error(); } print "
"; - - - /* * * Notes sur la societe * */ - print ''; - print ""; - print "
".nl2br($objsoc->note)."
"; + if ($objsoc->note) + { + print ''; + print ""; + print "
".nl2br($objsoc->note)."
"; + } /* * *