[+] BO : Page header toolbar

This commit is contained in:
Jerome Nadaud
2013-08-28 14:07:50 +02:00
parent a76fc165db
commit c8d9b9bf3a
6 changed files with 80 additions and 0 deletions
@@ -95,6 +95,18 @@ class AdminProfilesControllerCore extends AdminController
else
parent::postProcess();
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Profiles');
$this->page_header_toolbar_btn['new_profile'] = array(
'href' => self::$currentIndex.'&addprofile&token='.$this->token,
'desc' => $this->l('Add new profile'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
}