Fix: test on option MAIN_MENU_USE_JQUERY_LAYOUT was not done everywhere. This fix borken feature in ecm when MAIN_MENU_USE_JQUERY_LAYOUT is not used. USage when option is one is still broken.
This commit is contained in:
parent
70e03729bd
commit
baed7507fa
@ -121,6 +121,8 @@ print "</td>";
|
||||
print '</tr>';
|
||||
|
||||
// hide unauthorized menu
|
||||
if ($conf->global->MAIN_FEATURES_LEVEL > 0) // TODO There is still a bug with ecm when this option is on so deinfed as experimental feature
|
||||
{
|
||||
$var=!$var;
|
||||
print "<tr ".$bc[$var].">";
|
||||
print '<td colspan="3">'.$langs->trans("MenuUseLayout").'</td>';
|
||||
@ -135,6 +137,7 @@ if($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT == 1)
|
||||
}
|
||||
print "</td>";
|
||||
print '</tr>';
|
||||
}
|
||||
|
||||
print '</table>';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user