From 7a3f60597d21725fcd3b35b015bcfc9b22da3da2 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 12 Jul 2004 14:13:27 +0000 Subject: [PATCH] Modif des boutons d'actions, modif du lien bookmark --- htdocs/comm/fiche.php | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index dab72713639..d572ea6946b 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -183,6 +183,13 @@ if ($socid > 0) $h++; } + if ($user->societe_id == 0) + { + $head[$h][0] = DOL_URL_ROOT."/comm/index.php?socidp=$objsoc->id&action=add_bookmark"; + $head[$h][1] = 'Bookmark'; + $head[$h][2] = 'image'; + } + dolibarr_fiche_head($head, $hselected); /* @@ -217,10 +224,6 @@ if ($socid > 0) print ""; - if ($user->societe_id == 0) - { - print "[id&action=add_bookmark\">Bookmark fiche]
"; - } print "
"; /* @@ -353,17 +356,17 @@ if ($socid > 0) if ($conf->propal->enabled && $user->rights->propale->creer) { - print 'Créer une proposition'; + print 'Proposition'; } if ($conf->commande->enabled && $user->rights->commande->creer) { - print 'Créer une commande'; + print 'Commande'; } if ($conf->projet->enabled && $user->rights->projet->creer) { - print 'Créer un projet'; + print 'Projet'; } if ($conf->fichinter->enabled) @@ -378,7 +381,6 @@ if ($socid > 0) // } // } - print 'Ajouter un contact'; print ''; print '
'; @@ -423,8 +425,9 @@ if ($socid > 0) print ""; print ''; - - print ''.$obj->firstname.' '. $obj->name.' '; + print ''; + print img_file(); + print ' '.$obj->firstname.' '. $obj->name.' '; if ($obj->note) {