[*] BO : you can noww override header and footer for each controller

This commit is contained in:
Damien Metzger
2013-10-02 17:04:07 +02:00
parent f63e1065b3
commit 84a251a575
5 changed files with 92 additions and 25 deletions
+5 -1
View File
@@ -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)