Skip to content
Snippets Groups Projects
Commit cbf0eecd authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: add show function

parent 01338d13
No related branches found
No related tags found
No related merge requests found
......@@ -1187,12 +1187,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
if ($res)
{
$mc = new ActionsMulticompany($db);
$mc->getInfo($conf->entity);
$entitytext = img_object('', 'globe',"class='entity'");
$entityhtmltext = $mc->label;
print $html->textwithtooltip('',$entityhtmltext,2,1,$entitytext,'',1);
//$select_entity = '<div class="loginSelectEntity">'.$mc->select_entities($conf->entity).'</div>';
//print $select_entity;
$mc->showInfo($conf->entity);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment