// Toolbar modifs
This commit is contained in:
@@ -227,6 +227,7 @@ class AdminModulesPositionsControllerCore extends AdminController
|
||||
public function initContent()
|
||||
{
|
||||
$this->addJS(__PS_BASE_URI__.'js/vendor/jquery.sortable.js');
|
||||
$this->initPageHeaderToolbar();
|
||||
|
||||
if (array_key_exists('addToHook', $_GET) || array_key_exists('editGraft', $_GET) || (Tools::isSubmit('submitAddToHook') && $this->errors))
|
||||
{
|
||||
@@ -237,7 +238,10 @@ class AdminModulesPositionsControllerCore extends AdminController
|
||||
$this->content .= $this->initMain();
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'content' => $this->content
|
||||
'content' => $this->content,
|
||||
'show_page_header_toolbar' => $this->show_page_header_toolbar,
|
||||
'page_header_toolbar_title' => $this->page_header_toolbar_title,
|
||||
'page_header_toolbar_btn' => $this->page_header_toolbar_btn
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user