diff --git a/admin-dev/themes/default/template/controllers/modules/page.tpl b/admin-dev/themes/default/template/controllers/modules/page.tpl index ea759f137..00e197055 100644 --- a/admin-dev/themes/default/template/controllers/modules/page.tpl +++ b/admin-dev/themes/default/template/controllers/modules/page.tpl @@ -58,7 +58,7 @@ {foreach from=$list_modules_categories item=module_category key=module_category_key} {/foreach} diff --git a/admin-dev/themes/default/template/controllers/orders/_documents.tpl b/admin-dev/themes/default/template/controllers/orders/_documents.tpl index 54b1e8599..45b9123bd 100644 --- a/admin-dev/themes/default/template/controllers/orders/_documents.tpl +++ b/admin-dev/themes/default/template/controllers/orders/_documents.tpl @@ -110,7 +110,7 @@ {if !isset($document->is_delivery)} -
+

@@ -130,7 +130,7 @@

{l s='No documents are available'}

{if isset($invoice_management_active) && $invoice_management_active} -

{l s='Generate invoice'}

+

{l s='Generate invoice'}

{/if} diff --git a/admin-dev/themes/default/template/controllers/orders/form.tpl b/admin-dev/themes/default/template/controllers/orders/form.tpl index 3593e5cae..020a22833 100755 --- a/admin-dev/themes/default/template/controllers/orders/form.tpl +++ b/admin-dev/themes/default/template/controllers/orders/form.tpl @@ -100,7 +100,7 @@ $('#show_old_carts').click(); $('#payment_module_name').change(); $.ajaxSetup({ type:"post" }); - $("#voucher").autocomplete('{$link->getAdminLink('AdminCartRules')|escape:'html'}', { + $("#voucher").autocomplete('{$link->getAdminLink('AdminCartRules')|addslashes}', { minChars: 3, max: 15, width: 250, @@ -468,7 +468,7 @@ $('#new_address').attr('href', address_link.replace(/id_customer=[0-9]+/, 'id_customer='+id_customer)); $.ajax({ type:"POST", - url : "{$link->getAdminLink('AdminCarts')|escape:'html'}", + url : "{$link->getAdminLink('AdminCarts')|addslashes}", async: false, dataType: "json", data : { diff --git a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl index 57faf0900..8a58bf7bf 100755 --- a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -27,7 +27,7 @@ {block name="override_tpl"}