mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
Test admin scripts are parsing correctly.
This commit is contained in:
@@ -248,7 +248,10 @@ class e_menuManager
|
||||
$FOOTER = array();
|
||||
foreach($LAYOUT as $key=>$template)
|
||||
{
|
||||
list($hd,$ft) = explode("{---}",$template);
|
||||
$tmp = explode("{---}",$template);
|
||||
$hd = varset($tmp[0]);
|
||||
$ft = varset($tmp[1]);
|
||||
|
||||
$HEADER[$key] = isset($LAYOUT['_header_']) ? $LAYOUT['_header_'] . $hd : $hd;
|
||||
$FOOTER[$key] = isset($LAYOUT['_footer_']) ? $ft . $LAYOUT['_footer_'] : $ft ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user