[+] BO : Page header toolbar

This commit is contained in:
Jerome Nadaud committed 2013-08-28 09:24:16 +02:00
1 parent 00155d584e
commit 068da6f87c
4 files changed
+52

No files matched your search

@@ -185,6 +185,23 @@ class AdminStatusesControllerCore extends AdminController
$helper->title = $this->l('Edit Order Status');
return $helper;
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('States');
$this->page_header_toolbar_btn['new_order_state'] = array(
'href' => self::$currentIndex.'&addorder_state&token='.$this->token,
'desc' => $this->l('Add new order state'),
'icon' => 'process-icon-new'
);
$this->page_header_toolbar_btn['new_order_return_state'] = array(
'href' => self::$currentIndex.'&addorder_return_state&token='.$this->token,
'desc' => $this->l('Add new order return state'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
/**
* Function used to render the list to display for this controller