// Toolbar modifs

This commit is contained in:
Jerome Nadaud committed 2013-10-08 18:42:07 +02:00
1 parent b7e13e2e7f
commit d88857610d
78 files changed
+871 -626

No files matched your search

+6 -6
View File
@@ -116,12 +116,12 @@ class AdminScenesControllerCore extends AdminController
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'
);
if (empty($this->display))
$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();
}