1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 17:09:46 +01:00

Merge pull request #2316 from Jimmi08/master

Problem with BODYTAG #2308
This commit is contained in:
Cameron 2017-01-22 14:07:43 -08:00 committed by GitHub
commit 08c77af536

View File

@ -665,12 +665,13 @@ echo "</head>\n";
$HEADER = str_replace("{e_PAGETITLE}",deftrue('e_PAGETITLE',''),$HEADER);
$body_onload .= " id='layout-".e107::getForm()->name2id(THEME_LAYOUT)."' ";
//$body_onload .= " id='layout-".e107::getForm()->name2id(THEME_LAYOUT)."' ";
if(!deftrue('BODYTAG')) //TODO Discuss a better way?
{
$body_onload .= " id='layout-".e107::getForm()->name2id(THEME_LAYOUT)."' ";
echo "<body".$body_onload.">\n";
}
else