mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 02:57:15 +02:00
Fixes #3932 Added support for dynamic header/footer templates controlled by theme_shortcodes class.
This commit is contained in:
@@ -72,6 +72,8 @@ if (varset($e107_popup) != 1)
|
||||
$psc = array(
|
||||
'</body>' => '',
|
||||
'{THEME}' => THEME_ABS,
|
||||
'{---HEADER---}' => $tp->parseTemplate('{HEADER}',true),
|
||||
'{---FOOTER---}' => $tp->parseTemplate('{FOOTER}',true)
|
||||
);
|
||||
|
||||
parseheader($FOOTER, $psc);
|
||||
|
@@ -804,6 +804,8 @@ if ($e107_popup != 1) {
|
||||
'{BODY_ONLOAD}' => $body_onload,
|
||||
'{LAYOUT_ID}' => 'layout-'.e107::getForm()->name2id(THEME_LAYOUT),
|
||||
'{---MODAL---}' => $LAYOUT['_modal_'],
|
||||
'{---HEADER---}' => $tp->parseTemplate('{HEADER}',true),
|
||||
'{---FOOTER---}' => $tp->parseTemplate('{FOOTER}',true),
|
||||
);
|
||||
|
||||
parseheader($HEADER, $psc);
|
||||
|
Reference in New Issue
Block a user