1
0
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:
Cameron
2021-01-16 13:32:35 -08:00
parent 692b8c8538
commit 04bbad449a
59 changed files with 709 additions and 4374 deletions

View File

@@ -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 ;
}