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