mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Fix: use hooks system
This commit is contained in:
@@ -1270,12 +1270,6 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
|
|||||||
$parameters=array();
|
$parameters=array();
|
||||||
$toprightmenu.=$hookmanager->executeHooks('printTopRightMenu',$parameters); // Note that $action and $object may have been modified by some hooks
|
$toprightmenu.=$hookmanager->executeHooks('printTopRightMenu',$parameters); // Note that $action and $object may have been modified by some hooks
|
||||||
|
|
||||||
// TODO Replace this with a hook printToprightMenu to complete toprightmenu.
|
|
||||||
if (! empty($conf->multicompany->enabled))
|
|
||||||
{
|
|
||||||
$mc->showInfo($conf->entity);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Logout link
|
// Logout link
|
||||||
$toprightmenu.=$form->textwithtooltip('',$logouthtmltext,2,1,$logouttext,'',1);
|
$toprightmenu.=$form->textwithtooltip('',$logouthtmltext,2,1,$logouttext,'',1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user