From b71212826d4c4c64ed8ea5bf426c05b6ed65f6ee Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 12 Jul 2004 14:05:19 +0000 Subject: [PATCH] Modification des bookmarks --- htdocs/compta/fiche.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index 80a7dbe8f60..44f218d07d7 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -200,16 +200,21 @@ if ($socid > 0) $head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$socid; $head[$h][1] = 'Notifications'; + $h++; + if ($user->societe_id == 0) + { + $head[$h][0] = DOL_URL_ROOT."/index.php?socidp=$objsoc->id&action=add_bookmark"; + $head[$h][1] = 'Bookmark'; + $head[$h][2] = 'image'; + } dolibarr_fiche_head($head, $hselected); - /* * */ print "\n"; - print '"; - print "
'; - + print '
'; /* * * @@ -234,13 +239,8 @@ if ($socid > 0) print "
"; - if ($user->societe_id == 0) - { - print "[id&action=add_bookmark\">Bookmark fiche]
"; - } print "
"; /*