// Fix currencies with multishop #PSTEST-809
This commit is contained in:
1 parent
20f2f2de7d
commit
7780d7a634
1 file changed
+8
-3
@@ -33,6 +33,14 @@ class AdminCurrenciesControllerCore extends AdminController
|
|||||||
$this->className = 'Currency';
|
$this->className = 'Currency';
|
||||||
$this->lang = false;
|
$this->lang = false;
|
||||||
|
|
||||||
|
parent::__construct();
|
||||||
|
$this->multishop_context = Shop::CONTEXT_ALL;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function init()
|
||||||
|
{
|
||||||
|
parent::init();
|
||||||
|
|
||||||
$this->fieldsDisplay = array(
|
$this->fieldsDisplay = array(
|
||||||
'id_currency' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25),
|
'id_currency' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25),
|
||||||
'name' => array('title' => $this->l('Currency')),
|
'name' => array('title' => $this->l('Currency')),
|
||||||
@@ -79,9 +87,6 @@ class AdminCurrenciesControllerCore extends AdminController
|
|||||||
<b>'.Tools::getShopDomain(true, true).__PS_BASE_URI__.basename(_PS_ADMIN_DIR_).'/cron_currency_rates.php?secure_key='.md5(_COOKIE_KEY_.Configuration::get('PS_SHOP_NAME')).'</b></p>',
|
<b>'.Tools::getShopDomain(true, true).__PS_BASE_URI__.basename(_PS_ADMIN_DIR_).'/cron_currency_rates.php?secure_key='.md5(_COOKIE_KEY_.Configuration::get('PS_SHOP_NAME')).'</b></p>',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
parent::__construct();
|
|
||||||
|
|
||||||
$this->multishop_context = Shop::CONTEXT_ALL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function renderList()
|
public function renderList()
|
||||||
|
|||||||
Reference in new issue
Block a user