//small fix
This commit is contained in:
@@ -267,7 +267,7 @@ class AdminModulesPositionsControllerCore extends AdminController
|
||||
'href' => self::$currentIndex.'&addToHook'.($this->display_key ? '&show_modules='.$this->display_key : '').'&token='.$this->token,
|
||||
'desc' => $this->l('Transplant a module')
|
||||
);
|
||||
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'show_toolbar' => true,
|
||||
'toolbar_btn' => $this->toolbar_btn,
|
||||
@@ -279,9 +279,7 @@ class AdminModulesPositionsControllerCore extends AdminController
|
||||
'url_show_invisible' => self::$currentIndex.'&token='.$this->token.'&show_modules='.(int)Tools::getValue('show_modules').'&hook_position=',
|
||||
'hook_position' => Tools::getValue('hook_position'),
|
||||
'live_edit' => Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_SHOP,
|
||||
'url_live_edit' => $this->context->link->getPageLink('index', false, null,
|
||||
'live_edit&ad='.$admin_dir.'&liveToken='.sha1($admin_dir._COOKIE_KEY_)
|
||||
.(Shop::isFeatureActive()?'&id_shop='.Context::getContext()->shop->id : '')),
|
||||
'url_live_edit' => $this->context->shop->getBaseUrl().'?live_edit&ad='.$admin_dir.'&liveToken='.sha1($admin_dir._COOKIE_KEY_),
|
||||
'display_key' => $this->display_key,
|
||||
'hooks' => $hooks,
|
||||
'url_submit' => self::$currentIndex.'&token='.$this->token,
|
||||
|
||||
Reference in New Issue
Block a user