mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fixed <body> tag when using Menu Manager. Stored HTML-theme true/false var for each theme.
This commit is contained in:
@@ -489,11 +489,20 @@ e107Event.trigger('loaded', null, document);
|
||||
|
||||
e107::getJs()->renderJs('header_inline', 5);
|
||||
|
||||
echo "</head>
|
||||
<body".$body_onload.">\n";
|
||||
echo "</head>";
|
||||
|
||||
echo getModal();
|
||||
echo getAlert();
|
||||
if(deftrue('e_MENUMANAGER_ACTIVE') && defset('THEME_LAYOUT') && e_theme::loadLayout(THEME_LAYOUT)) // v2.2.2+ html layout is active which contains <body> tag.
|
||||
{
|
||||
echo "\n\n<!-- Start theme.html -->\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "
|
||||
<body".$body_onload.">\n";
|
||||
|
||||
echo getModal();
|
||||
echo getAlert();
|
||||
}
|
||||
|
||||
function getModal()
|
||||
{
|
||||
|
Reference in New Issue
Block a user