2
0
forked from Wavyzz/dolibarr

Merge pull request #10780 from atm-john/theme_sidebarr_toggle

NEW/FIX Theme sidebarr toggle
This commit is contained in:
Laurent Destailleur
2019-03-15 19:41:39 +01:00
committed by GitHub
4 changed files with 43 additions and 13 deletions

View File

@@ -1096,6 +1096,10 @@ if (! function_exists("llxHeader"))
// html header
top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss);
if ($conf->browser->layout == 'phone'){
$morecssonbody.= ' sidebar-collapse';
}
print '<body id="mainbody"'.($morecssonbody?' class="'.$morecssonbody.'"':'').'>' . "\n";
// top menu and left menu area