[+] BO : Page header toolbar
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user