[+] 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
+12
View File
@@ -78,6 +78,18 @@ class AdminTabsControllerCore extends AdminController
parent::__construct();
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Menus');
$this->page_header_toolbar_btn['new_menu'] = array(
'href' => self::$currentIndex.'&addtab&token='.$this->token,
'desc' => $this->l('Add new menu'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
/**
* AdminController::renderForm() override
* @see AdminController::renderForm()