1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Include body layout class when menu-manager active.

This commit is contained in:
Cameron
2017-01-03 18:43:01 -08:00
parent dfea8f3896
commit 95edb68e60
2 changed files with 7 additions and 1 deletions

View File

@@ -445,6 +445,12 @@ if (defined('THEME_ONLOAD')) $js_body_onload[] = THEME_ONLOAD;
$body_onload='';
if (count($js_body_onload)) $body_onload = " onload=\"".implode(" ",$js_body_onload)."\"";
if(deftrue('e_MENUMANAGER_ACTIVE'))
{
$body_onload .= " id=\"layout-".e107::getForm()->name2id(THEME_LAYOUT)."\" ";
}
//
// J: Send end of <head> and start of <body>
//