1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Fix for modal colors.

This commit is contained in:
Cameron
2021-02-03 13:05:21 -08:00
parent 0bffceca8e
commit 906bd1e337
2 changed files with 12 additions and 8 deletions

View File

@@ -431,6 +431,7 @@ else
$bodyID = deftrue("e_CURRENT_PLUGIN") ? e_CURRENT_PLUGIN : str_replace(".php", "", e_PAGE);
$bodyID .= (!empty($_GET['mode']) && !empty($_GET['action'])) ? "-" . $_GET['mode'] . '-' . $_GET['action'] : '';
$body_onload .= " id=\"admin-" . e107::getForm()->name2id($bodyID) . "\" ";
$body_onload .= deftrue('e_IFRAME') ? " class=\"e-modal-content\" " : '';
unset($bodyID);
}
@@ -591,7 +592,7 @@ if($e107_popup != 1)
}
elseif(!vartrue($_GET['configure']))
{
e107::css("inline", "body { padding:0px } "); // default padding for iFrame-only.
e107::css("inline", "body { padding:0px; margin:0; } "); // default padding for iFrame-only.
}
e107::getDebug()->logTime('(End: Parse Admin Header)');