Fix: add show function

This commit is contained in:
Regis Houssin 2011-03-31 19:30:14 +00:00
parent 01338d13e8
commit cbf0eecde5

View File

@ -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);
}
}
}