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)."
"; + } /* * *