//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,
|
||||
|
||||
@@ -47,8 +47,8 @@
|
||||
<input class="hook_list" type="hidden" name="hook_list[{$hook_id}]"
|
||||
value="{$hook_name}" />
|
||||
{/foreach}
|
||||
<div class="toto">
|
||||
<input type="submit" value="{l s='Save'}" name="saveHook" id="saveLiveEdit" class="exclusive" style=" background-color:#4FB106; background: -moz-linear-gradient(#4FB106, #157402) repeat scroll 0 0 transparent; border:1px solid #4FB106; color:#fff;float:right; text-shadow: 0 -1px 0 #157402; margin-right:20px;">
|
||||
<div >
|
||||
<input type="submit" value="{l s='Save'}" name="saveHook" id="saveLiveEdit" class="exclusive" style="color:#fff;float:right; text-shadow: 0 -1px 0 #157402; margin-right:20px;">
|
||||
<input type="submit" value="{l s='Close Live edit'}" id="closeLiveEdit" class="button" style="background: #333 none; color:#fff; border:1px solid #000; float:right; margin-right:10px;">
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user