1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 03:54:09 +02:00

Fix for theme render test. Disabled debug routines when inactive. Bootstrap3 moved modal to footer. Code cleanup.

This commit is contained in:
Cameron
2020-05-04 12:10:22 -07:00
parent 951cefec27
commit ad7caf78e8
6 changed files with 39 additions and 17 deletions

View File

@@ -71,10 +71,11 @@ if (varset($e107_popup) != 1)
{
$psc = array(
'</body>' => '',
'{THEME}' => THEME_ABS,
'{---HEADER---}' => $tp->parseTemplate('{HEADER}',true),
'{---FOOTER---}' => $tp->parseTemplate('{FOOTER}',true)
'</body>' => '',
'{THEME}' => THEME_ABS,
'{---MODAL---}' => $LAYOUT['_modal_'],
'{---HEADER---}' => $tp->parseTemplate('{HEADER}',true),
'{---FOOTER---}' => $tp->parseTemplate('{FOOTER}',true)
);
parseheader($FOOTER, $psc);

View File

@@ -582,6 +582,8 @@ echo "</head>\n";
if($tmp = e_theme::loadLayout(THEME_LAYOUT))
{
$LAYOUT = $tmp;
$HEADER = array();
$FOOTER = array();
$noBody = true;
unset($tmp);