[*] BO : you can noww override header and footer for each controller
This commit is contained in:
1 parent
f63e1065b3
commit
84a251a575
5 files changed
+92
-25
No files matched your search
@@ -354,7 +354,11 @@ abstract class ControllerCore
|
||||
protected function smartyOutputContent($content)
|
||||
{
|
||||
$this->context->cookie->write();
|
||||
$this->context->smarty->display($content);
|
||||
if (is_array($content))
|
||||
foreach ($content as $tpl)
|
||||
$this->context->smarty->display($tpl);
|
||||
else
|
||||
$this->context->smarty->display($content);
|
||||
}
|
||||
|
||||
protected function isCached($template, $cacheId = null, $compileId = null)
|
||||
|
||||
Reference in new issue
Block a user