[+] BO : Page header toolbar

This commit is contained in:
Jerome Nadaud
2013-08-27 18:42:24 +02:00
parent 083eba3431
commit 62b4a3cd5e
6 changed files with 82 additions and 0 deletions
@@ -112,6 +112,18 @@ class AdminScenesControllerCore extends AdminController
return parent::renderForm();
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Scenes');
$this->page_header_toolbar_btn['new_scene'] = array(
'href' => self::$currentIndex.'&addscene&token='.$this->token,
'desc' => $this->l('Add new scene'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
public function initToolbar()
{
parent::initToolbar();