// Toolbar modifs
This commit is contained in:
@@ -129,6 +129,18 @@ class AdminStoresControllerCore extends AdminController
|
||||
unset($this->toolbar_btn['save']);
|
||||
}
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
if (empty($this->display))
|
||||
$this->page_header_toolbar_btn['new_store'] = array(
|
||||
'href' => self::$currentIndex.'&addstore&token='.$this->token,
|
||||
'desc' => $this->l('Add new store'),
|
||||
'icon' => 'process-icon-new'
|
||||
);
|
||||
|
||||
parent::initPageHeaderToolbar();
|
||||
}
|
||||
|
||||
public function renderList()
|
||||
{
|
||||
// Set toolbar options
|
||||
|
||||
Reference in New Issue
Block a user