[*] FO : Move header modules to new hook, last part 2/2
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@
|
||||
{block name='override_header'}
|
||||
{if $submit_form_ajax}
|
||||
<script type="text/javascript">
|
||||
$('#voucher', window.parent.document).val('{$new_cart_rule->code|escape:htmlall}');
|
||||
$('#voucher', window.parent.document).val('{$new_cart_rule->code|escape:'html'}');
|
||||
parent.add_cart_rule({$new_cart_rule->id|intval});
|
||||
parent.$.fancybox.close();
|
||||
</script>
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
{block name='override_header'}
|
||||
{if $submit_form_ajax}
|
||||
<script type="text/javascript">
|
||||
$('#customer', window.parent.document).val('{$new_customer->email|escape:htmlall}');
|
||||
$('#customer', window.parent.document).val('{$new_customer->email|escape:'html'}');
|
||||
parent.setupCustomer({$new_customer->id|intval});
|
||||
parent.$.fancybox.close();
|
||||
</script>
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
{l s='An upgrade is available for some of your modules!'}
|
||||
<ul>
|
||||
{foreach from=$upgrade_available item='module'}
|
||||
<li> » <a href="{$currentIndex|escape:htmlall}&token={$token|escape:htmlall}&anchor=anchor{$module.anchor|escape:htmlall}"><b>{$module.name|escape:htmlall}</b></a></li>
|
||||
<li> » <a href="{$currentIndex|escape:'html':'UTF-8'}&token={$token|escape:'html':'UTF-8'}&anchor=anchor{$module.anchor|escape:'html':'UTF-8'}"><b>{$module.name|escape:'html':'UTF-8'}</b></a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user