[-] BO : Page header toolbar

This commit is contained in:
Jerome Nadaud
2013-08-28 13:43:42 +02:00
parent 9d991f3474
commit a76fc165db
5 changed files with 55 additions and 0 deletions
@@ -65,6 +65,18 @@ class AdminTaxRulesGroupControllerCore extends AdminController
parent::__construct();
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Tax rules groups');
$this->page_header_toolbar_btn['new_tax_rules_group'] = array(
'href' => self::$currentIndex.'&addtax_rules_group&token='.$this->token,
'desc' => $this->l('Add new tax rules group'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
public function renderList()
{
$this->addRowAction('edit');