From 4772e51d1215e2079356ce37b316b706e9734f38 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 21 Dec 2011 18:56:44 +0100 Subject: [PATCH] No reason to restrict this tab to external users --- htdocs/core/lib/company.lib.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php index cebfbcb4991..242ab7faa88 100644 --- a/htdocs/core/lib/company.lib.php +++ b/htdocs/core/lib/company.lib.php @@ -96,13 +96,13 @@ function societe_prepare_head($object) $head[$h][1] = $langs->trans("Note"); $head[$h][2] = 'note'; $h++; - + // Attached files $head[$h][0] = DOL_URL_ROOT.'/societe/document.php?socid='.$object->id; $head[$h][1] = $langs->trans("Documents"); $head[$h][2] = 'document'; $h++; - + // Notifications if (! empty($conf->notification->enabled)) { @@ -111,14 +111,15 @@ function societe_prepare_head($object) $head[$h][2] = 'notify'; $h++; } - - // Log - $head[$h][0] = DOL_URL_ROOT.'/societe/info.php?socid='.$object->id; - $head[$h][1] = $langs->trans("Info"); - $head[$h][2] = 'info'; - $h++; + } + // Log + $head[$h][0] = DOL_URL_ROOT.'/societe/info.php?socid='.$object->id; + $head[$h][1] = $langs->trans("Info"); + $head[$h][2] = 'info'; + $h++; + complete_head_from_modules($conf,$langs,$object,$head,$h,'thirdparty','remove'); return $head; @@ -476,7 +477,7 @@ function show_projects($conf,$langs,$db,$object,$backtopage='') /** * Show html area for list of contacts - * + * * @param Conf $conf Object conf * @param Translate $langs Object langs * @param DoliDB $db Database handler @@ -740,7 +741,7 @@ function show_actions_todo($conf,$langs,$db,$object,$objcon='',$noprint=0) /** * Show html area with actions done - * + * * @param conf Object conf * @param langs Object langs * @param db Object db