No reason to restrict this tab to external users

This commit is contained in:
Laurent Destailleur 2011-12-21 18:56:44 +01:00
parent 3ecff7b4db
commit 4772e51d12

View File

@ -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