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:
@@ -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);
|
||||
|
@@ -582,6 +582,8 @@ echo "</head>\n";
|
||||
if($tmp = e_theme::loadLayout(THEME_LAYOUT))
|
||||
{
|
||||
$LAYOUT = $tmp;
|
||||
$HEADER = array();
|
||||
$FOOTER = array();
|
||||
$noBody = true;
|
||||
unset($tmp);
|
||||
|
||||
|
Reference in New Issue
Block a user