diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index f52c3cd0ef6..03e7aabb78b 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1144,12 +1144,8 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a if ($res) { - //$mc = new ActionsMulticompany($db); - $entitytext = img_object('', 'globe',"class='entity'"); - $entityhtmltext = 'EntityName'; - print $html->textwithtooltip('',$entityhtmltext,2,1,$entitytext,'',1); - //$select_entity = '
'.$mc->select_entities($conf->entity).'
'; - //if ($mc->numEntity >= 1) print $select_entity; + $mc = new ActionsMulticompany($db); + $mc->showInfo($conf->entity); } } }