SF Patch #3391547 - Option for minmal mode

This commit is contained in:
Roland Gruber
2011-10-06 12:31:12 +11:00
committed by Deon George
parent 56830f1fa4
commit d8ab7fc2f0
3 changed files with 17 additions and 0 deletions

View File

@@ -375,6 +375,15 @@ class page {
'TREE'=>true,
'FOOT'=>true
);
if ($_SESSION[APPCONFIG]->getValue('appearance','minimalMode')) {
$display = array(
'HEAD'=>false,
'CONTROL'=>false,
'TREE'=>true,
'FOOT'=>false
);
}
$display = array_merge($display,$filter);