Extract sidebar and footer to separate templates

This commit is contained in:
DariusIII
2020-02-11 15:53:02 +01:00
parent 57394bdc57
commit e5b0f0670e
4 changed files with 192 additions and 181 deletions
@@ -300,6 +300,10 @@ class BasePageController extends Controller
$this->smarty->assign('header_menu', $header_menu);
$notification = $this->smarty->fetch('notification.tpl');
$this->smarty->assign('notification', $notification);
$sidebar = $this->smarty->fetch('sidebar.tpl');
$this->smarty->assign('sidebar', $sidebar);
$footer = $this->smarty->fetch('footer.tpl');
$this->smarty->assign('footer', $footer);
}
/**