Fix: last modification for multicompany

This commit is contained in:
Regis Houssin 2011-03-31 19:41:03 +00:00
parent 9635f5858a
commit 2297e940b3

View File

@ -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 = '<div class="loginSelectEntity">'.$mc->select_entities($conf->entity).'</div>';
//if ($mc->numEntity >= 1) print $select_entity;
$mc = new ActionsMulticompany($db);
$mc->showInfo($conf->entity);
}
}
}