// display import button only on the listing on admin adresses
This commit is contained in:
1 parent
0ea0b662f9
commit
8f030538b8
1 file changed
+5
-4
@@ -75,10 +75,11 @@ class AdminAddressesControllerCore extends AdminController
|
|||||||
public function initToolbar()
|
public function initToolbar()
|
||||||
{
|
{
|
||||||
parent::initToolbar();
|
parent::initToolbar();
|
||||||
$this->toolbar_btn['import'] = array(
|
if (!$this->display)
|
||||||
'href' => $this->context->link->getAdminLink('AdminImport', true).'&import_type='.$this->table,
|
$this->toolbar_btn['import'] = array(
|
||||||
'desc' => $this->l('Import')
|
'href' => $this->context->link->getAdminLink('AdminImport', true).'&import_type='.$this->table,
|
||||||
);
|
'desc' => $this->l('Import')
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function renderForm()
|
public function renderForm()
|
||||||
|
|||||||
Reference in new issue
Block a user