[+] 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
@@ -152,6 +152,18 @@ class AdminReferrersControllerCore extends AdminController
$this->context->controller->addJqueryUI('ui.datepicker');
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Referrers');
$this->page_header_toolbar_btn['new_referrer'] = array(
'href' => self::$currentIndex.'&addreferrer&token='.$this->token,
'desc' => $this->l('Add new referrer'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
public function renderList()
{
// Display list Referrers: