// Toolbar modifs
This commit is contained in:
@@ -85,12 +85,12 @@ class AdminAddressesControllerCore extends AdminController
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
$this->page_header_toolbar_title = $this->l('Addresses');
|
||||
$this->page_header_toolbar_btn['new_address'] = array(
|
||||
'href' => self::$currentIndex.'&addaddress&token='.$this->token,
|
||||
'desc' => $this->l('Add new address'),
|
||||
'icon' => 'process-icon-new'
|
||||
);
|
||||
if (empty($this->display))
|
||||
$this->page_header_toolbar_btn['new_address'] = array(
|
||||
'href' => self::$currentIndex.'&addaddress&token='.$this->token,
|
||||
'desc' => $this->l('Add new address'),
|
||||
'icon' => 'process-icon-new'
|
||||
);
|
||||
|
||||
parent::initPageHeaderToolbar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user