[+] BO : Page header toolbar

This commit is contained in:
Jerome Nadaud
2013-08-28 09:24:16 +02:00
parent 00155d584e
commit 068da6f87c
4 changed files with 52 additions and 0 deletions
@@ -138,6 +138,18 @@ class AdminOrdersControllerCore extends AdminController
parent::__construct();
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Orders');
$this->page_header_toolbar_btn['new_order'] = array(
'href' => self::$currentIndex.'&addorder&token='.$this->token,
'desc' => $this->l('Add new order'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
public function renderForm()
{
if (Context::getContext()->shop->getContext() != Shop::CONTEXT_SHOP && Shop::isFeatureActive())