[+] BO : Page header toolbar

This commit is contained in:
Jerome Nadaud
2013-08-28 09:37:49 +02:00
parent 068da6f87c
commit 967fc98693
6 changed files with 73 additions and 0 deletions
@@ -142,6 +142,18 @@ class AdminGroupsControllerCore extends AdminController
parent::initToolbar();
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Groups');
$this->page_header_toolbar_btn['new_group'] = array(
'href' => self::$currentIndex.'&addgroup&token='.$this->token,
'desc' => $this->l('Add new group'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
public function initProcess()
{
$this->id_object = Tools::getValue('id_'.$this->table);