[+] 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
@@ -84,6 +84,18 @@ class AdminGendersControllerCore extends AdminController
parent::__construct();
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Genders');
$this->page_header_toolbar_btn['new_gender'] = array(
'href' => self::$currentIndex.'&addgender&token='.$this->token,
'desc' => $this->l('Add new gender'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
public function renderForm()
{
$this->fields_form = array(