//tab module list fix
This commit is contained in:
@@ -71,6 +71,7 @@ class AdminCmsCategoriesControllerCore extends AdminController
|
||||
{
|
||||
$this->initToolbar();
|
||||
$this->toolbar_btn['new']['href'] .= '&id_parent='.(int)Tools::getValue('id_cms_category');
|
||||
$this->initTabModuleList();
|
||||
return parent::renderList();
|
||||
}
|
||||
|
||||
|
||||
@@ -120,6 +120,7 @@ class AdminDeliverySlipControllerCore extends AdminController
|
||||
|
||||
public function initContent()
|
||||
{
|
||||
$this->initTabModuleList();
|
||||
$this->content .= $this->renderForm().'<br />';
|
||||
$this->show_toolbar = false;
|
||||
$this->content .= $this->renderOptions();
|
||||
|
||||
@@ -304,7 +304,7 @@ class AdminLocalizationControllerCore extends AdminController
|
||||
'download_updated_pack' => 1
|
||||
);
|
||||
|
||||
$this->show_toolbar = false;
|
||||
$this->show_toolbar = true;
|
||||
return parent::renderForm();
|
||||
}
|
||||
|
||||
@@ -315,7 +315,6 @@ class AdminLocalizationControllerCore extends AdminController
|
||||
|
||||
// toolbar (save, cancel, new, ..)
|
||||
$this->initToolbar();
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'localization_form' => $this->renderForm(),
|
||||
'localization_options' => $this->renderOptions(),
|
||||
@@ -323,9 +322,15 @@ class AdminLocalizationControllerCore extends AdminController
|
||||
));
|
||||
}
|
||||
|
||||
public function initToolbar()
|
||||
{
|
||||
$this->toolbar_btn = array();
|
||||
$this->initTabModuleList();
|
||||
}
|
||||
|
||||
public function display()
|
||||
{
|
||||
$this->initContent();
|
||||
$this->initContent();
|
||||
parent::display();
|
||||
}
|
||||
|
||||
|
||||
@@ -638,6 +638,7 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
{
|
||||
// toolbar (save, cancel, new, ..)
|
||||
$this->initToolbar();
|
||||
$this->initTabModuleList();
|
||||
if ($this->display == 'editaddresses' || $this->display == 'addaddress')
|
||||
$this->content .= $this->renderFormAddress();
|
||||
else if ($this->display == 'edit' || $this->display == 'add')
|
||||
|
||||
Reference in New Issue
Block a user