diff --git a/admin-dev/themes/default/template/controllers/addresses/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/addresses/helpers/form/form.tpl index 94d5e8d1a..68748024c 100644 --- a/admin-dev/themes/default/template/controllers/addresses/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/addresses/helpers/form/form.tpl @@ -86,7 +86,7 @@
- +
{/if} {else} diff --git a/admin-dev/themes/default/template/controllers/attribute_generator/content.tpl b/admin-dev/themes/default/template/controllers/attribute_generator/content.tpl index e488dfcca..4c2905a64 100644 --- a/admin-dev/themes/default/template/controllers/attribute_generator/content.tpl +++ b/admin-dev/themes/default/template/controllers/attribute_generator/content.tpl @@ -78,9 +78,9 @@ + diff --git a/admin-dev/themes/default/template/controllers/attributes/helpers/list/list_content.tpl b/admin-dev/themes/default/template/controllers/attributes/helpers/list/list_content.tpl index 69cee664f..d695a61a8 100644 --- a/admin-dev/themes/default/template/controllers/attributes/helpers/list/list_content.tpl +++ b/admin-dev/themes/default/template/controllers/attributes/helpers/list/list_content.tpl @@ -89,7 +89,7 @@ {$tr.$key} {* If type is 'editable', an input is created *} {elseif isset($params.type) && $params.type == 'editable' && isset($tr.id)} - + {elseif isset($params.callback)} {$tr.$key} {elseif isset($tr.$key) && $key == 'color'} @@ -99,7 +99,7 @@
{/if} {elseif isset($tr.$key)} - {$tr.$key|escape:'htmlall':'UTF-8'} + {$tr.$key|escape:'html':'UTF-8'} {else} -- {/if} diff --git a/admin-dev/themes/default/template/controllers/cart_rules/actions.tpl b/admin-dev/themes/default/template/controllers/cart_rules/actions.tpl index 06286080f..d10943c4a 100644 --- a/admin-dev/themes/default/template/controllers/cart_rules/actions.tpl +++ b/admin-dev/themes/default/template/controllers/cart_rules/actions.tpl @@ -105,7 +105,7 @@
- +
diff --git a/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl b/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl index 799ca96dd..c6589b36a 100644 --- a/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl +++ b/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl @@ -8,7 +8,7 @@
- +
diff --git a/admin-dev/themes/default/template/controllers/carts/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/carts/helpers/view/view.tpl index 9b52eee3d..59253a268 100755 --- a/admin-dev/themes/default/template/controllers/carts/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/carts/helpers/view/view.tpl @@ -52,7 +52,7 @@ {else} {/if} - {$customer->firstname} {$customer->lastname} + {$customer->firstname} {$customer->lastname}
@@ -76,12 +76,12 @@

{l s='Order information'}

{if $order->id} -

{l s='Order #%d' sprintf=$order->id|string_format:"%06d"}

+

{l s='Order #%d' sprintf=$order->id|string_format:"%06d"}

{l s='Made on:'} {dateFormat date=$order->date_add} {else}

{l s='No order was created from this cart.'}

{if $customer->id} - {l s='Create an order from this cart.'} + {l s='Create an order from this cart.'} {/if} {/if}
@@ -105,7 +105,7 @@ {if isset($customized_datas[$product.id_product][$product.id_product_attribute][$product.id_address_delivery])} {$product.image} - + {$product.name}{if isset($product.attributes)}
{$product.attributes}{/if}
{if $product.reference}{l s='Ref:'} {$product.reference}{/if} {if $product.reference && $product.supplier_reference} / {$product.supplier_reference}{/if} @@ -150,7 +150,7 @@ {$product.image} -
+ {$product.name}{if isset($product.attributes)}
{$product.attributes}{/if}
{if $product.reference}{l s='Ref:'} {$product.reference}{/if} {if $product.reference && $product.supplier_reference} / {$product.supplier_reference}{/if} @@ -200,7 +200,7 @@ {foreach from=$discounts item='discount'} -
{$discount.name} + {$discount.name} - {displayWtPriceWithCurrency price=$discount.value_real currency=$currency} {/foreach} diff --git a/admin-dev/themes/default/template/controllers/categories/helpers/list/list_header.tpl b/admin-dev/themes/default/template/controllers/categories/helpers/list/list_header.tpl index d5226f96a..ad3092b9b 100644 --- a/admin-dev/themes/default/template/controllers/categories/helpers/list/list_header.tpl +++ b/admin-dev/themes/default/template/controllers/categories/helpers/list/list_header.tpl @@ -86,10 +86,10 @@ {if $key != 'deleteMode'} {if is_array($value)} {foreach $value as $val} - + {/foreach} {else} - + {/if} {/if} {/foreach} diff --git a/admin-dev/themes/default/template/controllers/customer_threads/message.tpl b/admin-dev/themes/default/template/controllers/customer_threads/message.tpl index 26d3a4930..407c44862 100644 --- a/admin-dev/themes/default/template/controllers/customer_threads/message.tpl +++ b/admin-dev/themes/default/template/controllers/customer_threads/message.tpl @@ -156,7 +156,7 @@
{l s='Message:'}
-
{$message.message|escape:'htmlall':'UTF-8'|nl2br}
+
{$message.message|escape:'html':'UTF-8'|nl2br}
diff --git a/admin-dev/themes/default/template/controllers/customers/helpers/list/list_header.tpl b/admin-dev/themes/default/template/controllers/customers/helpers/list/list_header.tpl index fd2f8ecde..38b9eecff 100644 --- a/admin-dev/themes/default/template/controllers/customers/helpers/list/list_header.tpl +++ b/admin-dev/themes/default/template/controllers/customers/helpers/list/list_header.tpl @@ -35,7 +35,7 @@ {/block} {block name=leadin} {if isset($delete_customer) && $delete_customer} -
+

{l s='How do you want to delete these customer(s)?'}

{l s='There are two ways of deleting a customer. Please choose your preferred method.'}

@@ -52,10 +52,10 @@ {foreach $POST as $key => $value} {if is_array($value)} {foreach $value as $val} - + {/foreach} {else} - + {/if} {/foreach}
diff --git a/admin-dev/themes/default/template/controllers/employees/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/employees/helpers/form/form.tpl index 5bbfa2662..df9b7590d 100644 --- a/admin-dev/themes/default/template/controllers/employees/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/employees/helpers/form/form.tpl @@ -37,19 +37,19 @@ {else} {if $fields_value[$input.name] == $option}selected="selected"{/if} {/if} - >{$option|escape:'htmlall':'UTF-8'} + >{$option|escape:'html':'UTF-8'} {/foreach} {elseif $input.type == 'default_tab'} diff --git a/admin-dev/themes/default/template/controllers/geolocation/helpers/options/options.tpl b/admin-dev/themes/default/template/controllers/geolocation/helpers/options/options.tpl index 355edbce5..e991ad620 100644 --- a/admin-dev/themes/default/template/controllers/geolocation/helpers/options/options.tpl +++ b/admin-dev/themes/default/template/controllers/geolocation/helpers/options/options.tpl @@ -39,7 +39,7 @@ {foreach $field['list'] as $country} - {$country['name']|escape:'htmlall':'UTF-8'} + {$country['name']|escape:'html':'UTF-8'} {/foreach} @@ -53,7 +53,7 @@ {block name="input"} {if $field['type'] == 'textarea_newlines'}
- +
{else} {$smarty.block.parent} diff --git a/admin-dev/themes/default/template/controllers/import/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/import/helpers/form/form.tpl index 846e132a1..f060b857c 100644 --- a/admin-dev/themes/default/template/controllers/import/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/import/helpers/form/form.tpl @@ -89,7 +89,7 @@ {if count($files_to_import)}
 
@@ -183,14 +183,14 @@
{l s='e.g. '}"1; Ipod; 129.90; 5" - +
{l s='e.g. '}"Ipod; red.jpg, blue.jpg, green.jpg; 129.90" - +
diff --git a/admin-dev/themes/default/template/controllers/information/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/information/helpers/view/view.tpl index fb7d343c9..29edf7346 100644 --- a/admin-dev/themes/default/template/controllers/information/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/information/helpers/view/view.tpl @@ -87,20 +87,20 @@ {if count($uname)}

- {l s='Server information'}: {$uname|escape:'htmlall':'UTF-8'} + {l s='Server information'}: {$uname|escape:'html':'UTF-8'}

{/if}

- {l s='Server software version'}: {$version.server|escape:'htmlall':'UTF-8'} + {l s='Server software version'}: {$version.server|escape:'html':'UTF-8'}

- {l s='PHP version'}: {$version.php|escape:'htmlall':'UTF-8'} + {l s='PHP version'}: {$version.php|escape:'html':'UTF-8'}

- {l s='Memory limit'}: {$version.memory_limit|escape:'htmlall':'UTF-8'} + {l s='Memory limit'}: {$version.memory_limit|escape:'html':'UTF-8'}

- {l s='Max execution time'}: {$version.max_execution_time|escape:'htmlall':'UTF-8'} + {l s='Max execution time'}: {$version.max_execution_time|escape:'html':'UTF-8'}

{if $apache_instaweb}

{l s='PageSpeed module for Apache installed (mod_instaweb)'}

@@ -113,13 +113,13 @@ {l s='Database information'}

- {l s='MySQL version'}: {$database.version|escape:'htmlall':'UTF-8'} + {l s='MySQL version'}: {$database.version|escape:'html':'UTF-8'}

- {l s='MySQL engine'}: {$database.engine|escape:'htmlall':'UTF-8'} + {l s='MySQL engine'}: {$database.engine|escape:'html':'UTF-8'}

- {l s='Tables prefix'}: {$database.prefix|escape:'htmlall':'UTF-8'} + {l s='Tables prefix'}: {$database.prefix|escape:'html':'UTF-8'}

@@ -131,13 +131,13 @@ {l s='Store information'}

- {l s='PrestaShop version'}: {$shop.ps|escape:'htmlall':'UTF-8'} + {l s='PrestaShop version'}: {$shop.ps|escape:'html':'UTF-8'}

- {l s='Shop URL'}: {$shop.url|escape:'htmlall':'UTF-8'} + {l s='Shop URL'}: {$shop.url|escape:'html':'UTF-8'}

- {l s='Current theme in use'}: {$shop.theme|escape:'htmlall':'UTF-8'} + {l s='Current theme in use'}: {$shop.theme|escape:'html':'UTF-8'}

@@ -154,7 +154,7 @@ {else} {l s='You are using your own SMTP parameters.'}

- {l s='SMTP server'}: {$smtp.server|escape:'htmlall':'UTF-8'} + {l s='SMTP server'}: {$smtp.server|escape:'html':'UTF-8'}

{l s='SMTP user'}: @@ -173,10 +173,10 @@ {/if}

- {l s='Encryption'}: {$smtp.encryption|escape:'htmlall':'UTF-8'} + {l s='Encryption'}: {$smtp.encryption|escape:'html':'UTF-8'}

- {l s='Port'}: {$smtp.port|escape:'htmlall':'UTF-8'} + {l s='Port'}: {$smtp.port|escape:'html':'UTF-8'}

{/if} @@ -187,7 +187,7 @@ {l s='Your information'}

- {l s='Your web browser'}: {$user_agent|escape:'htmlall':'UTF-8'} + {l s='Your web browser'}: {$user_agent|escape:'html':'UTF-8'}

diff --git a/admin-dev/themes/default/template/controllers/login/content.tpl b/admin-dev/themes/default/template/controllers/login/content.tpl index 8bcb2a867..4e895d432 100755 --- a/admin-dev/themes/default/template/controllers/login/content.tpl +++ b/admin-dev/themes/default/template/controllers/login/content.tpl @@ -71,7 +71,7 @@ type="text" id="email" class="form-control" - value="{if isset($email)}{$email|escape:'htmlall':'UTF-8'}{/if}" + value="{if isset($email)}{$email|escape:'html':'UTF-8'}{/if}" autofocus="autofocus" tabindex="1" placeholder="test@example.com" /> @@ -167,7 +167,7 @@ {/if}

- + {l s='Please then access this page by the new URL (e.g. %s)' sprintf=$adminUrl}

diff --git a/admin-dev/themes/default/template/controllers/login/header.tpl b/admin-dev/themes/default/template/controllers/login/header.tpl index 25e2205ad..47feb610a 100644 --- a/admin-dev/themes/default/template/controllers/login/header.tpl +++ b/admin-dev/themes/default/template/controllers/login/header.tpl @@ -34,7 +34,7 @@ - {$shop_name} {if $meta_title != ''}{if isset($navigationPipe)}{$navigationPipe|escape:'htmlall':'UTF-8'}{else}>{/if} {$meta_title}{/if} (PrestaShop™) + {$shop_name} {if $meta_title != ''}{if isset($navigationPipe)}{$navigationPipe|escape:'html':'UTF-8'}{else}>{/if} {$meta_title}{/if} (PrestaShop™) {foreach from=$css_files key=css_uri item=media} diff --git a/admin-dev/themes/default/template/controllers/maintenance/helpers/options/options.tpl b/admin-dev/themes/default/template/controllers/maintenance/helpers/options/options.tpl index 2eea8aedd..d5e5341d0 100644 --- a/admin-dev/themes/default/template/controllers/maintenance/helpers/options/options.tpl +++ b/admin-dev/themes/default/template/controllers/maintenance/helpers/options/options.tpl @@ -30,7 +30,7 @@
- +
{$field['link_remove_ip']} diff --git a/admin-dev/themes/default/template/controllers/modules/favorites.tpl b/admin-dev/themes/default/template/controllers/modules/favorites.tpl index b94175a87..e1da258bc 100755 --- a/admin-dev/themes/default/template/controllers/modules/favorites.tpl +++ b/admin-dev/themes/default/template/controllers/modules/favorites.tpl @@ -84,7 +84,7 @@ {foreach from=$t.sub_tabs item=t2} {if $t2.active} {assign var="id_tab" value=$t.id_tab} - + {/if} {/foreach} {/if} diff --git a/admin-dev/themes/default/template/controllers/orders/_documents.tpl b/admin-dev/themes/default/template/controllers/orders/_documents.tpl index ecf0486ea..c3cf61211 100644 --- a/admin-dev/themes/default/template/controllers/orders/_documents.tpl +++ b/admin-dev/themes/default/template/controllers/orders/_documents.tpl @@ -69,13 +69,13 @@ {if get_class($document) eq 'OrderInvoice'} {if isset($document->is_delivery)} - + {else} - + {/if} {elseif get_class($document) eq 'OrderSlip'} - + {/if} {if get_class($document) eq 'OrderInvoice'} @@ -142,11 +142,11 @@ {if !isset($document->is_delivery)} - +

- +

{l s='Or'}  - + {l s='Add new customer'} @@ -1144,7 +1144,7 @@
- +
{l s='Or'}  - + {l s='Add new voucher'} @@ -1347,7 +1347,7 @@
- + {l s='Add a new address'} 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 ca7a843dd..5c42be205 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 @@ -39,7 +39,7 @@ var currency_blank = "{$currency->blank}"; var priceDisplayPrecision = 2; var use_taxes = {if $order->getTaxCalculationMethod() == $smarty.const.PS_TAX_INC}true{else}false{/if}; - var token = "{$smarty.get.token|escape:'htmlall':'UTF-8'}"; + var token = "{$smarty.get.token|escape:'html':'UTF-8'}"; var stock_management = {$stock_management|intval}; var txt_add_product_stock_issue = "{l s='Are you sure you want to add this quantity?' js=1}"; var txt_add_product_new_invoice = "{l s='Are you sure you want to create a new invoice?' js=1}"; @@ -71,7 +71,7 @@
@@ -92,12 +92,12 @@

- + {l s='Prev'} {l s='Order'} : #{$order->id} - {$order->reference} - + {l s='Next'} @@ -106,7 +106,7 @@
{if (count($invoices_collection))} - + {l s='View invoice'} @@ -118,7 +118,7 @@ {l s='No invoice'} {/if} {if (($currentState && $currentState->delivery) || $order->delivery_number)} - + {l s='View delivery slip'} @@ -325,7 +325,7 @@ {if isset($line.url) && isset($line.tracking_number)}{$line.tracking_number}{elseif isset($line.tracking_number)}{$line.tracking_number}{/if} {if $line.can_edit} - +
@@ -68,7 +68,7 @@
- +
@@ -82,7 +82,7 @@ - {$accessory.name|escape:'htmlall':'UTF-8'}{if !empty($accessory.reference)}{$accessory.reference}{/if} + {$accessory.name|escape:'html':'UTF-8'}{if !empty($accessory.reference)}{$accessory.reference}{/if}
{/foreach}
@@ -100,7 +100,7 @@
diff --git a/admin-dev/themes/default/template/controllers/products/combinations.tpl b/admin-dev/themes/default/template/controllers/products/combinations.tpl index f0e083657..de2d6586d 100644 --- a/admin-dev/themes/default/template/controllers/products/combinations.tpl +++ b/admin-dev/themes/default/template/controllers/products/combinations.tpl @@ -73,7 +73,7 @@ @@ -318,7 +318,7 @@
  • {/foreach} diff --git a/admin-dev/themes/default/template/controllers/products/features.tpl b/admin-dev/themes/default/template/controllers/products/features.tpl index 18a396189..02ff6dd0d 100644 --- a/admin-dev/themes/default/template/controllers/products/features.tpl +++ b/admin-dev/themes/default/template/controllers/products/features.tpl @@ -61,7 +61,7 @@ {else} {l s='N/A'} - - {l s='Add pre-defined values first'} {/if} @@ -77,7 +77,7 @@ name="custom_{$available_feature.id_feature}_{$language.id_lang}" cols="40" rows="1" - onkeyup="if (isArrowKey(event)) return ;$('#feature_{$available_feature.id_feature}_value').val(0);" >{$available_feature.val[$k].value|escape:'htmlall':'UTF-8'|default:""} + onkeyup="if (isArrowKey(event)) return ;$('#feature_{$available_feature.id_feature}_value').val(0);" >{$available_feature.val[$k].value|escape:'html':'UTF-8'|default:""} {if $languages|count > 1}
    @@ -107,7 +107,7 @@ - + {l s='Add a new feature'}
    diff --git a/admin-dev/themes/default/template/controllers/products/images.tpl b/admin-dev/themes/default/template/controllers/products/images.tpl index cf90a01c7..a24da7585 100644 --- a/admin-dev/themes/default/template/controllers/products/images.tpl +++ b/admin-dev/themes/default/template/controllers/products/images.tpl @@ -62,7 +62,7 @@ id="legend_{$language.id_lang}" {if isset($input_class)}class="{$input_class}"{/if} name="legend_{$language.id_lang}" - value="{$product->name[$language.id_lang]|escape:'htmlall':'UTF-8'}" + value="{$product->name[$language.id_lang]|escape:'html':'UTF-8'}" {if !$product->id}disabled="disabled"{/if} /> {if $languages|count > 1}

    diff --git a/admin-dev/themes/default/template/controllers/products/prices.tpl b/admin-dev/themes/default/template/controllers/products/prices.tpl index 8b7e163e3..166a7fc14 100644 --- a/admin-dev/themes/default/template/controllers/products/prices.tpl +++ b/admin-dev/themes/default/template/controllers/products/prices.tpl @@ -173,7 +173,7 @@ $(document).ready(function () {
    @@ -186,7 +186,7 @@ $(document).ready(function () {
    {l s='Taxes are currently disabled'} : - {l s='Tax options'} + {l s='Tax options'}
    diff --git a/admin-dev/themes/default/template/controllers/products/seo.tpl b/admin-dev/themes/default/template/controllers/products/seo.tpl index ffe9496ec..8b2c346b0 100644 --- a/admin-dev/themes/default/template/controllers/products/seo.tpl +++ b/admin-dev/themes/default/template/controllers/products/seo.tpl @@ -104,7 +104,7 @@ {foreach from=$languages item=language}
    {l s='The product link will look like this:'}
    - {$curent_shop_url|escape:'htmlall':'UTF-8'}lang/{if isset($product->id)}{$product->id}{else}id_product{/if}-{$product->link_rewrite[$default_language]}.html + {$curent_shop_url|escape:'html':'UTF-8'}lang/{if isset($product->id)}{$product->id}{else}id_product{/if}-{$product->link_rewrite[$default_language]}.html
    {/foreach}
    diff --git a/admin-dev/themes/default/template/controllers/products/specific_prices_shop_update.tpl b/admin-dev/themes/default/template/controllers/products/specific_prices_shop_update.tpl index 3d06de19a..8149b66e0 100644 --- a/admin-dev/themes/default/template/controllers/products/specific_prices_shop_update.tpl +++ b/admin-dev/themes/default/template/controllers/products/specific_prices_shop_update.tpl @@ -23,5 +23,5 @@ * International Registered Trademark & Property of PrestaShop SA *} {foreach from=$option_list item='row'} - + {/foreach} \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/products/suppliers.tpl b/admin-dev/themes/default/template/controllers/products/suppliers.tpl index 2f7f394a9..289d05687 100644 --- a/admin-dev/themes/default/template/controllers/products/suppliers.tpl +++ b/admin-dev/themes/default/template/controllers/products/suppliers.tpl @@ -53,7 +53,7 @@ {/foreach} - + {l s='Create a new supplier'}
    @@ -103,7 +103,7 @@ {$product_designation[$attribute['id_product_attribute']]} - + diff --git a/admin-dev/themes/default/template/controllers/products/virtualproduct.tpl b/admin-dev/themes/default/template/controllers/products/virtualproduct.tpl index fbf0f9414..0ffbb2fc2 100644 --- a/admin-dev/themes/default/template/controllers/products/virtualproduct.tpl +++ b/admin-dev/themes/default/template/controllers/products/virtualproduct.tpl @@ -188,7 +188,7 @@ - +

    {l s='The full filename with its extension (e.g. Book.pdf)'}

    diff --git a/admin-dev/themes/default/template/controllers/products/warehouses.tpl b/admin-dev/themes/default/template/controllers/products/warehouses.tpl index 725279882..7c54c27e9 100644 --- a/admin-dev/themes/default/template/controllers/products/warehouses.tpl +++ b/admin-dev/themes/default/template/controllers/products/warehouses.tpl @@ -36,7 +36,7 @@

    {l s='Please choose the warehouses associated with this product. You must also select a default warehouse. '}

    @@ -76,7 +76,7 @@ {$product_designation[$attribute['id_product_attribute']]} diff --git a/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl index e113b2fd3..7d3b8c7c2 100644 --- a/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl @@ -77,8 +77,8 @@ $(function() { {foreach $modules key=key item=module} - {$module->displayName} - {$module->description} + {$module->displayName} + {$module->description} {/foreach} @@ -157,8 +157,8 @@ $(function() { {foreach $addons key=key item=addon} - {$addon.title|escape:'htmlall':'UTF-8'} - {$addon.description|truncate:256:'...'|escape:'htmlall':'UTF-8'} + {$addon.title|escape:'html':'UTF-8'} + {$addon.description|truncate:256:'...'|escape:'html':'UTF-8'} {/foreach} diff --git a/admin-dev/themes/default/template/controllers/shop/helpers/list/list_content.tpl b/admin-dev/themes/default/template/controllers/shop/helpers/list/list_content.tpl index 36b3908a0..e09121995 100644 --- a/admin-dev/themes/default/template/controllers/shop/helpers/list/list_content.tpl +++ b/admin-dev/themes/default/template/controllers/shop/helpers/list/list_content.tpl @@ -30,7 +30,7 @@ {if isset($tr.$key)} {$tr.$key} {else} - {l s='Click here to set a URL for this shop.'} + {l s='Click here to set a URL for this shop.'} {/if} {else} {$smarty.block.parent} diff --git a/admin-dev/themes/default/template/controllers/slip/_print_pdf_icon.tpl b/admin-dev/themes/default/template/controllers/slip/_print_pdf_icon.tpl index 90efe9e88..cd98a8794 100755 --- a/admin-dev/themes/default/template/controllers/slip/_print_pdf_icon.tpl +++ b/admin-dev/themes/default/template/controllers/slip/_print_pdf_icon.tpl @@ -25,7 +25,7 @@ {* Generate HTML code for printing OrderSlip Icon with link *} - + {l s='Download credit slip'} diff --git a/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl index 36f21d8be..95ce6f204 100644 --- a/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl @@ -53,7 +53,7 @@ {else} {if isset($fields_value[$input.name][$language.id_lang]) && ($fields_value[$input.name][$language.id_lang] == $option[$input.options.id])}selected="selected"{/if} {/if} - >{$option[$input.options.name]|escape:'htmlall':'UTF-8'} + >{$option[$input.options.name]|escape:'html':'UTF-8'} {/foreach}
    diff --git a/admin-dev/themes/default/template/controllers/stores/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/stores/helpers/form/form.tpl index fa2a824c4..aef916a95 100644 --- a/admin-dev/themes/default/template/controllers/stores/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/stores/helpers/form/form.tpl @@ -41,7 +41,7 @@ {if isset($input.maxlength)}maxlength="{$input.maxlength}"{/if} name="latitude" id="latitude" - value="{$fields_value[$input.name]|escape:'htmlall'}" /> + value="{$fields_value[$input.name]|escape:'html'}" />
    /
    @@ -52,7 +52,7 @@ {if isset($input.maxlength)}maxlength="{$input.maxlength}"{/if} name="longitude" id="longitude" - value="{$fields_value['longitude']|escape:'htmlall'}" /> + value="{$fields_value['longitude']|escape:'html'}" />
    {else} @@ -69,7 +69,7 @@ {foreach $fields_value.days as $k => $value}
    -
    +
    {/foreach} {/if} diff --git a/admin-dev/themes/default/template/controllers/supply_orders_change_state/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/supply_orders_change_state/helpers/form/form.tpl index 369408d77..69e2a4864 100644 --- a/admin-dev/themes/default/template/controllers/supply_orders_change_state/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/supply_orders_change_state/helpers/form/form.tpl @@ -65,7 +65,7 @@ $(document).ready(function() { {if isset($supply_order_state) && $supply_order_state->editable == false && isset($supply_order)} {/if} diff --git a/admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_content.tpl b/admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_content.tpl index 22dfa8434..9b0396754 100644 --- a/admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_content.tpl +++ b/admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_content.tpl @@ -101,10 +101,10 @@ {if $tr.$key == '0 - 0'} -- {else} - {$tr.$key|escape:'htmlall':'UTF-8'} + {$tr.$key|escape:'html':'UTF-8'} {/if} {else} - {$tr.$key|escape:'htmlall':'UTF-8'} + {$tr.$key|escape:'html':'UTF-8'} {/if} {else} -- diff --git a/admin-dev/themes/default/template/header.tpl b/admin-dev/themes/default/template/header.tpl index 99c7603f6..20ed49a6f 100644 --- a/admin-dev/themes/default/template/header.tpl +++ b/admin-dev/themes/default/template/header.tpl @@ -33,7 +33,7 @@ - {$shop_name} {if $meta_title != ''}{if isset($navigationPipe)}{$navigationPipe|escape:'htmlall':'UTF-8'}{else}>{/if} {$meta_title}{/if} + {$shop_name} {if $meta_title != ''}{if isset($navigationPipe)}{$navigationPipe|escape:'html':'UTF-8'}{else}>{/if} {$meta_title}{/if} {if $display_header} {capture name=path} - + {l s='My account' mod='favoriteproducts'} {$navigationPipe}{l s='My favorite products.' mod='favoriteproducts'} {/capture} @@ -66,10 +66,10 @@ $('document').ready(function()
    {foreach from=$favoriteProducts item=favoriteProduct}
    - - -

    {$favoriteProduct.name|escape:'htmlall':'UTF-8'}

    -
    {$favoriteProduct.description_short|strip_tags|escape:'htmlall':'UTF-8'}
    + + +

    {$favoriteProduct.name|escape:'html':'UTF-8'}

    +
    {$favoriteProduct.description_short|strip_tags|escape:'html':'UTF-8'}
    \ No newline at end of file diff --git a/modules/favoriteproducts/views/templates/hook/my-account.tpl b/modules/favoriteproducts/views/templates/hook/my-account.tpl index a8884fa02..b2cd80e49 100644 --- a/modules/favoriteproducts/views/templates/hook/my-account.tpl +++ b/modules/favoriteproducts/views/templates/hook/my-account.tpl @@ -24,7 +24,7 @@ *}
  • - + {if !$in_footer}{l s='My favorite products.' mod='favoriteproducts'}{/if} {l s='My favorite products.' mod='favoriteproducts'} diff --git a/modules/homefeatured/homefeatured.tpl b/modules/homefeatured/homefeatured.tpl index d668877a2..ed35887c0 100644 --- a/modules/homefeatured/homefeatured.tpl +++ b/modules/homefeatured/homefeatured.tpl @@ -39,7 +39,7 @@ {if $totModulo == 0}{assign var='totModulo' value=$nbItemsPerLine}{/if}
  • {$product.name|escape:html:'UTF-8'}{if isset($product.new) && $product.new == 1}{l s='New' mod='homefeatured'}{/if} -
    {$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}
    +
    {$product.name|truncate:35:'...'|escape:'html':'UTF-8'}
    {l s='View' mod='homefeatured'} diff --git a/modules/homeslider/homeslider.tpl b/modules/homeslider/homeslider.tpl index fba02d589..f14a77273 100644 --- a/modules/homeslider/homeslider.tpl +++ b/modules/homeslider/homeslider.tpl @@ -45,8 +45,8 @@ var homeslider_pause = {$homeslider.pause}; {foreach from=$homeslider_slides item=slide} {if $slide.active}
  • - - {$slide.legend|escape:'htmlall':'UTF-8'} + + {$slide.legend|escape:'html':'UTF-8'}
  • {/if} diff --git a/modules/loyalty/views/templates/front/loyalty.tpl b/modules/loyalty/views/templates/front/loyalty.tpl index f7c2862d5..3d13b0952 100644 --- a/modules/loyalty/views/templates/front/loyalty.tpl +++ b/modules/loyalty/views/templates/front/loyalty.tpl @@ -54,7 +54,7 @@ {l s='#' mod='loyalty'}{$order.id|string_format:"%06d"} {dateFormat date=$order.date full=1} {$order.points|intval} - {$order.state|escape:'htmlall':'UTF-8'} + {$order.state|escape:'html':'UTF-8'} {/foreach} @@ -83,9 +83,9 @@ {/if} {section name=pagination start=$page-1 loop=$page+2 step=1} {if $page == $smarty.section.pagination.index} -
  • {$page|escape:'htmlall':'UTF-8'}
  • +
  • {$page|escape:'html':'UTF-8'}
  • {elseif $smarty.section.pagination.index > 0 && $orders|@count+$nbpagination > ($smarty.section.pagination.index)*($nbpagination)} -
  • {$smarty.section.pagination.index|escape:'htmlall':'UTF-8'}
  • +
  • {$smarty.section.pagination.index|escape:'html':'UTF-8'}
  • {/if} {/section} {if $max_page-$page > 1} @@ -110,7 +110,7 @@ @@ -165,7 +165,7 @@ {dateFormat date=$discount->date_to} {if $discount->quantity > 0}{l s='To use' mod='loyalty'}{else}{l s='Used' mod='loyalty'}{/if} -
    {foreach from=$mailAlerts item=mailAlert}
    - -

    {$mailAlert.name|escape:'htmlall':'UTF-8'}

    -
    {$mailAlert.attributes_small|escape:'htmlall':'UTF-8'}
    + +

    {$mailAlert.name|escape:'html':'UTF-8'}

    +
    {$mailAlert.attributes_small|escape:'html':'UTF-8'}
    {l s='Remove' mod='mailalerts'} diff --git a/modules/productscategory/productscategory.tpl b/modules/productscategory/productscategory.tpl index 409c21e30..ec11cd048 100644 --- a/modules/productscategory/productscategory.tpl +++ b/modules/productscategory/productscategory.tpl @@ -34,7 +34,7 @@
  • {$categoryProduct.name|htmlspecialchars}

    - {$categoryProduct.name|truncate:14:'...'|escape:'htmlall':'UTF-8'} + {$categoryProduct.name|truncate:14:'...'|escape:'html':'UTF-8'}

    {if $ProdDisplayPrice AND $categoryProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}

    diff --git a/modules/referralprogram/views/templates/front/program.tpl b/modules/referralprogram/views/templates/front/program.tpl index 425deb9c1..aee1f9ac8 100644 --- a/modules/referralprogram/views/templates/front/program.tpl +++ b/modules/referralprogram/views/templates/front/program.tpl @@ -109,9 +109,9 @@ {section name=friends start=0 loop=$nbFriends step=1} {$smarty.section.friends.iteration} - - - + + + {/section} diff --git a/modules/referralprogram/views/templates/hook/authentication.tpl b/modules/referralprogram/views/templates/hook/authentication.tpl index 52a613cc9..9774a9981 100755 --- a/modules/referralprogram/views/templates/hook/authentication.tpl +++ b/modules/referralprogram/views/templates/hook/authentication.tpl @@ -28,7 +28,7 @@

    {l s='Referral program' mod='referralprogram'}

    - +

    \ No newline at end of file diff --git a/modules/sendtoafriend/sendtoafriend.tpl b/modules/sendtoafriend/sendtoafriend.tpl index 7e511204d..4b45a73df 100644 --- a/modules/sendtoafriend/sendtoafriend.tpl +++ b/modules/sendtoafriend/sendtoafriend.tpl @@ -45,11 +45,11 @@

    - +

    - +

    diff --git a/modules/trackingfront/account.tpl b/modules/trackingfront/account.tpl index febfc170e..f4389e47d 100644 --- a/modules/trackingfront/account.tpl +++ b/modules/trackingfront/account.tpl @@ -25,11 +25,11 @@

    {l s='Affiliation space' mod='trackingfront'}
    - +
    - + diff --git a/modules/trackingfront/login.tpl b/modules/trackingfront/login.tpl index bd902304f..bada7b00a 100644 --- a/modules/trackingfront/login.tpl +++ b/modules/trackingfront/login.tpl @@ -35,9 +35,9 @@
    {l s='Affiliation space' mod='trackingfront'}
    - +
    - +

    diff --git a/pdf/footer.tpl b/pdf/footer.tpl index 098131f44..d7d6c81c3 100755 --- a/pdf/footer.tpl +++ b/pdf/footer.tpl @@ -29,26 +29,26 @@ {l s='An electronic version of this invoice is available in your account. To access it, log in to our website using your e-mail address and password (which you created when placing your first order).' pdf='true'}
    {/if} - {$shop_address|escape:'htmlall':'UTF-8'}
    + {$shop_address|escape:'html':'UTF-8'}
    {if !empty($shop_phone) OR !empty($shop_fax)} {l s='For more assistance, contact Support:' pdf='true'}
    {if !empty($shop_phone)} - Tel: {$shop_phone|escape:'htmlall':'UTF-8'} + Tel: {$shop_phone|escape:'html':'UTF-8'} {/if} {if !empty($shop_fax)} - Fax: {$shop_fax|escape:'htmlall':'UTF-8'} + Fax: {$shop_fax|escape:'html':'UTF-8'} {/if}
    {/if} {if isset($shop_details)} - {$shop_details|escape:'htmlall':'UTF-8'}
    + {$shop_details|escape:'html':'UTF-8'}
    {/if} {if isset($free_text)} - {$free_text|escape:'htmlall':'UTF-8'}
    + {$free_text|escape:'html':'UTF-8'}
    {/if} diff --git a/pdf/header.tpl b/pdf/header.tpl index 99bab23da..ee8a8e213 100755 --- a/pdf/header.tpl +++ b/pdf/header.tpl @@ -32,13 +32,13 @@ - + - + - +
    {$shop_name|escape:'htmlall':'UTF-8'}{$shop_name|escape:'html':'UTF-8'}
    {$date|escape:'htmlall':'UTF-8'}{$date|escape:'html':'UTF-8'}
    {$title|escape:'htmlall':'UTF-8'}{$title|escape:'html':'UTF-8'}
    diff --git a/pdf/supply-order-footer.tpl b/pdf/supply-order-footer.tpl index da8fdd21c..0b7deb2bc 100755 --- a/pdf/supply-order-footer.tpl +++ b/pdf/supply-order-footer.tpl @@ -26,27 +26,27 @@ diff --git a/pdf/supply-order-header.tpl b/pdf/supply-order-header.tpl index bad33733a..bfec2e160 100644 --- a/pdf/supply-order-header.tpl +++ b/pdf/supply-order-header.tpl @@ -37,16 +37,16 @@ diff --git a/themes/default-bootstrap/addresses.tpl b/themes/default-bootstrap/addresses.tpl index c74781316..8779feea7 100644 --- a/themes/default-bootstrap/addresses.tpl +++ b/themes/default-bootstrap/addresses.tpl @@ -106,7 +106,7 @@
  • {foreach from=$addressKey item=key name="word_loop"} - {$address.formated[$key|replace:',':'']|escape:'htmlall':'UTF-8'} + {$address.formated[$key|replace:',':'']|escape:'html':'UTF-8'} {/foreach}
  • diff --git a/themes/default-bootstrap/authentication.tpl b/themes/default-bootstrap/authentication.tpl index e3f90b856..56d75a82c 100644 --- a/themes/default-bootstrap/authentication.tpl +++ b/themes/default-bootstrap/authentication.tpl @@ -170,7 +170,7 @@ $(document).ready(function() {
    - {if isset($back)}{/if} + {if isset($back)}{/if}
    @@ -193,7 +193,7 @@ $(document).ready(function() {

    {l s='Forgot your password?'}

    - {if isset($back)}{/if} + {if isset($back)}{/if}

    @@ -624,7 +624,7 @@ $(document).ready(function() {
    - {if isset($back)}{/if} + {if isset($back)}{/if}

    *{l s='Required field'}

    diff --git a/themes/default-bootstrap/category-cms-tree-branch.tpl b/themes/default-bootstrap/category-cms-tree-branch.tpl index 86325965a..94f8ffeaf 100644 --- a/themes/default-bootstrap/category-cms-tree-branch.tpl +++ b/themes/default-bootstrap/category-cms-tree-branch.tpl @@ -24,7 +24,7 @@ *}
  • - {$node.name|escape:'htmlall':'UTF-8'} + {$node.name|escape:'html':'UTF-8'} {if isset($node.children) && $node.children|@count > 0} {elseif isset($node.cms) && $node.cms|@count > 0} {/if} diff --git a/themes/default-bootstrap/category-tree-branch.tpl b/themes/default-bootstrap/category-tree-branch.tpl index 60d14a1fd..ddf7266b2 100644 --- a/themes/default-bootstrap/category-tree-branch.tpl +++ b/themes/default-bootstrap/category-tree-branch.tpl @@ -24,7 +24,7 @@ *}
  • - {$node.name|escape:'htmlall':'UTF-8'} + {$node.name|escape:'html':'UTF-8'} {if $node.children|@count > 0}
      {foreach from=$node.children item=child name=categoryTreeBranch} diff --git a/themes/default-bootstrap/category.tpl b/themes/default-bootstrap/category.tpl index 0dd54c3c9..3b5585e0d 100644 --- a/themes/default-bootstrap/category.tpl +++ b/themes/default-bootstrap/category.tpl @@ -52,9 +52,9 @@

      {strip} - {$category->name|escape:'htmlall':'UTF-8'} + {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} - {$categoryNameComplement|escape:'htmlall':'UTF-8'} + {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip}

      @@ -74,9 +74,9 @@ {/if}

      {strip} - {$category->name|escape:'htmlall':'UTF-8'} + {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} - {$categoryNameComplement|escape:'htmlall':'UTF-8'} + {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip} {include file="$tpl_dir./category-count.tpl"} @@ -91,7 +91,7 @@ {foreach from=$subcategories item=subcategory}
    • -
      {$subcategory.name|truncate:25:'...'|escape:'htmlall':'UTF-8'|truncate:350}
      +
      {$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'|truncate:350}
      {if $subcategory.description}
      {$subcategory.description}
      {/if} diff --git a/themes/default-bootstrap/cms.tpl b/themes/default-bootstrap/cms.tpl index 863ce4792..001ae170c 100644 --- a/themes/default-bootstrap/cms.tpl +++ b/themes/default-bootstrap/cms.tpl @@ -28,8 +28,8 @@

      {l s='This CMS page is not visible to your customers.'} - - + +

      @@ -41,13 +41,13 @@
      {elseif isset($cms_category)}
      -

      {$cms_category->name|escape:'htmlall':'UTF-8'}

      +

      {$cms_category->name|escape:'html':'UTF-8'}

      {if isset($sub_category) && !empty($sub_category)}

      {l s='List of sub categories in %s:' sprintf=$cms_category->name}

      @@ -57,7 +57,7 @@ diff --git a/themes/default-bootstrap/contact-form.tpl b/themes/default-bootstrap/contact-form.tpl index 4ae010cbf..ec050193b 100644 --- a/themes/default-bootstrap/contact-form.tpl +++ b/themes/default-bootstrap/contact-form.tpl @@ -40,7 +40,7 @@ {else}

      {l s='For questions about an order or for more information about our products'}.

      {include file="$tpl_dir./errors.tpl"} - +

      {l s='send a message'}

      @@ -51,7 +51,7 @@ {if isset($customerThread.id_contact)} {foreach from=$contacts item=contact} {if $contact.id_contact == $customerThread.id_contact} - + {/if} {/foreach} @@ -60,23 +60,23 @@

       

      {foreach from=$contacts item=contact} {/foreach} {/if}

      {if isset($customerThread.email)} - + {else} - + {/if}

      {if !$PS_CATALOG_MODE} @@ -87,7 +87,7 @@ {elseif !isset($customerThread.id_order) && !isset($isLogged)} @@ -105,7 +105,7 @@ {/foreach} @@ -126,7 +126,7 @@
      - +
      diff --git a/themes/default-bootstrap/discount.tpl b/themes/default-bootstrap/discount.tpl index 69ec11003..26a363bb3 100644 --- a/themes/default-bootstrap/discount.tpl +++ b/themes/default-bootstrap/discount.tpl @@ -47,7 +47,7 @@
  • - - + + - + - + - + diff --git a/themes/default-bootstrap/modules/blockwishlist/view.tpl b/themes/default-bootstrap/modules/blockwishlist/view.tpl index 942ec9387..f66fcf265 100644 --- a/themes/default-bootstrap/modules/blockwishlist/view.tpl +++ b/themes/default-bootstrap/modules/blockwishlist/view.tpl @@ -55,16 +55,16 @@

    - {$product.name|truncate:30:'...'|escape:'htmlall':'UTF-8'} + {$product.name|truncate:30:'...'|escape:'html':'UTF-8'} {if isset($product.attributes_small)} - {$product.attributes_small|escape:'htmlall':'UTF-8'} + {$product.attributes_small|escape:'html':'UTF-8'} {/if}

    @@ -92,7 +92,7 @@

    {/if} - {l s='Add to cart' mod='blockwishlist'} + {l s='Add to cart' mod='blockwishlist'} {else} {l s='Add to cart' mod='blockwishlist'} {/if} diff --git a/themes/default-bootstrap/modules/blockwishlist/views/templates/front/mywishlist.tpl b/themes/default-bootstrap/modules/blockwishlist/views/templates/front/mywishlist.tpl index 6923604d9..2f14adfa8 100644 --- a/themes/default-bootstrap/modules/blockwishlist/views/templates/front/mywishlist.tpl +++ b/themes/default-bootstrap/modules/blockwishlist/views/templates/front/mywishlist.tpl @@ -35,9 +35,9 @@

    {l s='New wishlist' mod='blockwishlist'}

    - + - +

    @@ -61,7 +61,7 @@ {section name=i loop=$wishlists}

    - + {/foreach} @@ -81,9 +81,9 @@ {/if} {section name=pagination start=$page-1 loop=$page+2 step=1} {if $page == $smarty.section.pagination.index} -
  • {$page|escape:'htmlall':'UTF-8'}
  • +
  • {$page|escape:'html':'UTF-8'}
  • {elseif $smarty.section.pagination.index > 0 && $orders|@count+$nbpagination > ($smarty.section.pagination.index)*($nbpagination)} -
  • {$smarty.section.pagination.index|escape:'htmlall':'UTF-8'}
  • +
  • {$smarty.section.pagination.index|escape:'html':'UTF-8'}
  • {/if} {/section} {if $max_page-$page > 1} @@ -108,7 +108,7 @@ @@ -170,7 +170,7 @@ {/foreach} - " data-original-title="{l s='Generated by these following orders' mod='loyalty'}" title="" data-toggle="popover" href="{$smarty.server.SCRIPT_NAME|escape:'htmlall':'UTF-8'}" data-original-title="">{l s='more...' mod='loyalty'} + " data-original-title="{l s='Generated by these following orders' mod='loyalty'}" title="" data-toggle="popover" href="{$smarty.server.SCRIPT_NAME|escape:'html':'UTF-8'}" data-original-title="">{l s='more...' mod='loyalty'} diff --git a/themes/default-bootstrap/modules/productscategory/productscategory.tpl b/themes/default-bootstrap/modules/productscategory/productscategory.tpl index 34bac3165..e61d4f532 100644 --- a/themes/default-bootstrap/modules/productscategory/productscategory.tpl +++ b/themes/default-bootstrap/modules/productscategory/productscategory.tpl @@ -32,7 +32,7 @@ {$categoryProduct.name|htmlspecialchars}
    - {$categoryProduct.name|truncate:14:'...'|escape:'htmlall':'UTF-8'} + {$categoryProduct.name|truncate:14:'...'|escape:'html':'UTF-8'}
    {if $ProdDisplayPrice AND $categoryProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}

    diff --git a/themes/default-bootstrap/modules/referralprogram/views/templates/front/program.tpl b/themes/default-bootstrap/modules/referralprogram/views/templates/front/program.tpl index 2587b1575..f9d84300f 100644 --- a/themes/default-bootstrap/modules/referralprogram/views/templates/front/program.tpl +++ b/themes/default-bootstrap/modules/referralprogram/views/templates/front/program.tpl @@ -113,9 +113,9 @@ {section name=friends start=0 loop=$nbFriends step=1}

    - - - + + + {/section} diff --git a/themes/default-bootstrap/modules/referralprogram/views/templates/hook/authentication.tpl b/themes/default-bootstrap/modules/referralprogram/views/templates/hook/authentication.tpl index 71f4523e6..92ca414aa 100644 --- a/themes/default-bootstrap/modules/referralprogram/views/templates/hook/authentication.tpl +++ b/themes/default-bootstrap/modules/referralprogram/views/templates/hook/authentication.tpl @@ -28,7 +28,7 @@

    {l s='Referral program' mod='referralprogram'}

    - +

    \ No newline at end of file diff --git a/themes/default-bootstrap/nbr-product-page.tpl b/themes/default-bootstrap/nbr-product-page.tpl index 9ffd69aef..03612bd4a 100644 --- a/themes/default-bootstrap/nbr-product-page.tpl +++ b/themes/default-bootstrap/nbr-product-page.tpl @@ -41,13 +41,13 @@ {if $nb_products > $products_per_page}
    - {if isset($search_query) AND $search_query}{/if} - {if isset($tag) AND $tag AND !is_array($tag)}{/if} + {if isset($search_query) AND $search_query}{/if} + {if isset($tag) AND $tag AND !is_array($tag)}{/if} {if is_array($requestNb)} {foreach from=$requestNb item=requestValue key=requestKey} {if $requestKey != 'requestUrl'} - + {/if} {/foreach} {/if} @@ -55,7 +55,7 @@ {assign var="lastnValue" value="0"} {foreach from=$nArray item=nValue} {if $lastnValue <= $nb_products} - + {/if} {assign var="lastnValue" value=$nValue} {/foreach} diff --git a/themes/default-bootstrap/order-address-multishipping.tpl b/themes/default-bootstrap/order-address-multishipping.tpl index fbb67a9a0..d917cf1db 100644 --- a/themes/default-bootstrap/order-address-multishipping.tpl +++ b/themes/default-bootstrap/order-address-multishipping.tpl @@ -175,7 +175,7 @@
    diff --git a/themes/default-bootstrap/order-address-product-line.tpl b/themes/default-bootstrap/order-address-product-line.tpl index 85080cf82..4103f2a81 100644 --- a/themes/default-bootstrap/order-address-product-line.tpl +++ b/themes/default-bootstrap/order-address-product-line.tpl @@ -25,13 +25,13 @@ *} - + - + {/foreach} @@ -75,7 +75,7 @@ {if isset($followup)}

    {l s='Click the following link to track the delivery of your order'}

    -{$followup|escape:'htmlall':'UTF-8'} +{$followup|escape:'html':'UTF-8'} {/if}
    @@ -84,12 +84,12 @@
      isVirtual()}style="display:none;"{/if}>
    • {l s='Delivery address'} ({$address_delivery->alias})

    • {foreach from=$dlv_adr_fields name=dlv_loop item=field_item} - {if $field_item eq "company" && isset($address_delivery->company)}
    • {$address_delivery->company|escape:'htmlall':'UTF-8'}
    • - {elseif $field_item eq "address2" && $address_delivery->address2}
    • {$address_delivery->address2|escape:'htmlall':'UTF-8'}
    • - {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}
    • {$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}
    • + {if $field_item eq "company" && isset($address_delivery->company)}
    • {$address_delivery->company|escape:'html':'UTF-8'}
    • + {elseif $field_item eq "address2" && $address_delivery->address2}
    • {$address_delivery->address2|escape:'html':'UTF-8'}
    • + {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}
    • {$address_delivery->phone_mobile|escape:'html':'UTF-8'}
    • {else} {assign var=address_words value=" "|explode:$field_item} -
    • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$deliveryAddressFormatedValues[$word_item|replace:',':'']|escape:'htmlall':'UTF-8'}{/foreach}
    • +
    • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$deliveryAddressFormatedValues[$word_item|replace:',':'']|escape:'html':'UTF-8'}{/foreach}
    • {/if} {/foreach}
    @@ -98,12 +98,12 @@
    • {l s='Invoice address'} ({$address_invoice->alias})

    • {foreach from=$inv_adr_fields name=inv_loop item=field_item} - {if $field_item eq "company" && isset($address_invoice->company)}
    • {$address_invoice->company|escape:'htmlall':'UTF-8'}
    • - {elseif $field_item eq "address2" && $address_invoice->address2}
    • {$address_invoice->address2|escape:'htmlall':'UTF-8'}
    • - {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}
    • {$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}
    • + {if $field_item eq "company" && isset($address_invoice->company)}
    • {$address_invoice->company|escape:'html':'UTF-8'}
    • + {elseif $field_item eq "address2" && $address_invoice->address2}
    • {$address_invoice->address2|escape:'html':'UTF-8'}
    • + {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}
    • {$address_invoice->phone_mobile|escape:'html':'UTF-8'}
    • {else} {assign var=address_words value=" "|explode:$field_item} -
    • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$invoiceAddressFormatedValues[$word_item|replace:',':'']|escape:'htmlall':'UTF-8'}{/foreach}
    • +
    • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$invoiceAddressFormatedValues[$word_item|replace:',':'']|escape:'html':'UTF-8'}{/foreach}
    • {/if} {/foreach} @@ -198,9 +198,9 @@ {if isset($product.customizedDatas)}
    {if $return_allowed}{/if} - + {if $return_allowed}{/if} - + @@ -337,8 +337,8 @@ {/foreach} {foreach from=$discounts item=discount} - - + + @@ -407,17 +407,17 @@ - + {/foreach} diff --git a/themes/default-bootstrap/order-follow.tpl b/themes/default-bootstrap/order-follow.tpl index c2dc59d5b..1be49bae3 100644 --- a/themes/default-bootstrap/order-follow.tpl +++ b/themes/default-bootstrap/order-follow.tpl @@ -71,7 +71,7 @@ - + - - + + {assign var='productId' value=$customization.product_id} @@ -80,8 +80,8 @@ {if $product.product_quantity > $quantityDisplayed} - - + + {/if} diff --git a/themes/default-bootstrap/pagination.tpl b/themes/default-bootstrap/pagination.tpl index 0bc77e213..dd03c6d21 100644 --- a/themes/default-bootstrap/pagination.tpl +++ b/themes/default-bootstrap/pagination.tpl @@ -52,13 +52,13 @@ {if $nb_products > $products_per_page && $start!=$stop}
    - {if isset($search_query) AND $search_query}{/if} - {if isset($tag) AND $tag AND !is_array($tag)}{/if} + {if isset($search_query) AND $search_query}{/if} + {if isset($tag) AND $tag AND !is_array($tag)}{/if} {if is_array($requestNb)} {foreach from=$requestNb item=requestValue key=requestKey} {if $requestKey != 'requestUrl'} - + {/if} {/foreach} {/if} @@ -87,9 +87,9 @@ {/if} {section name=pagination start=$start loop=$stop+1 step=1} {if $p == $smarty.section.pagination.index} -
  • {$p|escape:'htmlall':'UTF-8'}
  • +
  • {$p|escape:'html':'UTF-8'}
  • {else} -
  • {$smarty.section.pagination.index|escape:'htmlall':'UTF-8'}
  • +
  • {$smarty.section.pagination.index|escape:'html':'UTF-8'}
  • {/if} {/section} {if $pages_nb>$stop+2} diff --git a/themes/default-bootstrap/password.tpl b/themes/default-bootstrap/password.tpl index 9d66882cc..1668ee364 100644 --- a/themes/default-bootstrap/password.tpl +++ b/themes/default-bootstrap/password.tpl @@ -30,16 +30,16 @@ {include file="$tpl_dir./errors.tpl"} {if isset($confirmation) && $confirmation == 1} -

    {l s='Your password has been successfully reset and a confirmation has been sent to your email address:'} {if isset($customer_email)}{$customer_email|escape:'htmlall':'UTF-8'|stripslashes}{/if}

    +

    {l s='Your password has been successfully reset and a confirmation has been sent to your email address:'} {if isset($customer_email)}{$customer_email|escape:'html':'UTF-8'|stripslashes}{/if}

    {elseif isset($confirmation) && $confirmation == 2} -

    {l s='A confirmation email has been sent to your address:'} {if isset($customer_email)}{$customer_email|escape:'htmlall':'UTF-8'|stripslashes}{/if}

    +

    {l s='A confirmation email has been sent to your address:'} {if isset($customer_email)}{$customer_email|escape:'html':'UTF-8'|stripslashes}{/if}

    {else}

    {l s='Please enter the email address you used to register. We will then send you a new password. '}

    - +
    - +

    diff --git a/themes/default-bootstrap/product-list-colors.tpl b/themes/default-bootstrap/product-list-colors.tpl index a4d4f2205..fa34696a1 100644 --- a/themes/default-bootstrap/product-list-colors.tpl +++ b/themes/default-bootstrap/product-list-colors.tpl @@ -25,6 +25,6 @@

      {foreach from=$colors_list item='color'} -
    • +
    • {/foreach}
    diff --git a/themes/default-bootstrap/product-list.tpl b/themes/default-bootstrap/product-list.tpl index bd5228feb..dbad52a54 100644 --- a/themes/default-bootstrap/product-list.tpl +++ b/themes/default-bootstrap/product-list.tpl @@ -50,10 +50,10 @@
    - - {$product.legend|escape:'htmlall':'UTF-8'} + + {$product.legend|escape:'html':'UTF-8'} - {if isset($quick_view) && $quick_view}Quick view{/if} + {if isset($quick_view) && $quick_view}Quick view{/if} {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
    {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)} @@ -70,7 +70,7 @@
    -
    {if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if}{$product.name|truncate:45:'...'|escape:'htmlall':'UTF-8'}
    +
    {if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if}{$product.name|truncate:45:'...'|escape:'html':'UTF-8'}
    {hook h='displayProductListReviews' product=$product}

    {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}

    {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} @@ -96,7 +96,7 @@ {l s='Add to cart'} {/if} {/if} - {l s='More'} + {l s='More'}
    {if isset($product.color_list)}
    {$product.color_list}
    {/if} diff --git a/themes/default-bootstrap/product-sort.tpl b/themes/default-bootstrap/product-sort.tpl index bcfc7d493..18a75b361 100644 --- a/themes/default-bootstrap/product-sort.tpl +++ b/themes/default-bootstrap/product-sort.tpl @@ -58,11 +58,11 @@ $(document).ready(function(){ //]]> {/if} - +
    - - + +

    @@ -197,12 +197,12 @@ var contentOnly = {if $content_only}true{else}false{/if} {if $have_image} - {$product->name|escape:'htmlall':'UTF-8'} + {$product->name|escape:'html':'UTF-8'} {if !$content_only}{l s='View larger'}{/if} {else} - + {if !$content_only}{l s='View larger'}{/if} {/if} @@ -241,10 +241,10 @@ var contentOnly = {if $content_only}true{else}false{/if}

    {l s='Online only'}

    {/if} -

    {$product->name|escape:'htmlall':'UTF-8'}

    +

    {$product->name|escape:'html':'UTF-8'}

    reference}style="display: none;"{/if}> - {$product->reference|escape:'htmlall':'UTF-8'} + {$product->reference|escape:'html':'UTF-8'}

    {if $product->description_short OR $packItems|@count > 0}
    @@ -261,7 +261,7 @@ var contentOnly = {if $content_only}true{else}false{/if} {foreach from=$packItems item=packItem}
    - {$packItem.pack_quantity} x {$packItem.name|escape:'htmlall':'UTF-8'} + {$packItem.pack_quantity} x {$packItem.name|escape:'html':'UTF-8'}

    {$packItem.description_short}

    {/foreach} @@ -397,7 +397,7 @@ var contentOnly = {if $content_only}true{else}false{/if} {/if} {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} {math equation="pprice / punit_price" pprice=$productPrice punit_price=$product->unit_price_ratio assign=unit_price} -

    {convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}

    +

    {convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'html':'UTF-8'}

    {/if} {*close if for show price*} {/if} @@ -437,13 +437,13 @@ var contentOnly = {if $content_only}true{else}false{/if} {foreach from=$groups key=id_attribute_group item=group} {if $group.attributes|@count}
    - + {assign var="groupName" value="group_$id_attribute_group"}
    {if ($group.group_type == 'select')} {elseif ($group.group_type == 'color')} @@ -468,7 +468,7 @@ var contentOnly = {if $content_only}true{else}false{/if} {foreach from=$group.attributes key=id_attribute item=group_attribute}
  • - {$group_attribute|escape:'htmlall':'UTF-8'} + {$group_attribute|escape:'html':'UTF-8'}
  • {/foreach} @@ -523,7 +523,7 @@ var contentOnly = {if $content_only}true{else}false{/if} {foreach from=$features item=feature}
    {if isset($feature.value)} - + {/if} {/foreach} @@ -555,15 +555,15 @@ var contentOnly = {if $content_only}true{else}false{/if}
  • -
    {$accessory.name|truncate:20:'...':true|escape:'htmlall':'UTF-8'}
    +
    {$accessory.name|truncate:20:'...':true|escape:'html':'UTF-8'}
    {if $accessory.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} {if $priceDisplay != 1}{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}{/if}{/if} @@ -647,7 +647,7 @@ var contentOnly = {if $content_only}true{else}false{/if}

    {l s='Download'}

    {foreach from=$attachments item=attachment} - {$attachment.name|escape:'htmlall':'UTF-8'}
    {$attachment.description|escape:'htmlall':'UTF-8'} + {$attachment.name|escape:'html':'UTF-8'}
    {$attachment.description|escape:'html':'UTF-8'} {/foreach}
    diff --git a/themes/default-bootstrap/products-comparison.tpl b/themes/default-bootstrap/products-comparison.tpl index c54818429..3c3bff1ed 100644 --- a/themes/default-bootstrap/products-comparison.tpl +++ b/themes/default-bootstrap/products-comparison.tpl @@ -61,7 +61,7 @@ {/if} {/if}
    -
    {$product->name|truncate:45:'...'|escape:'htmlall':'UTF-8'}
    +
    {$product->name|truncate:45:'...'|escape:'html':'UTF-8'}
    {if isset($product->show_price) && $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} {convertPrice price=$product->getPrice($taxes_behavior)} @@ -83,7 +83,7 @@ {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} {math equation="pprice / punit_price" pprice=$product->getPrice($taxes_behavior) punit_price=$product->unit_price_ratio assign=unit_price} -  {convertPrice price=$unit_price} {l s='per %s' sprintf=$product->unity|escape:'htmlall':'UTF-8'} +  {convertPrice price=$unit_price} {l s='per %s' sprintf=$product->unity|escape:'html':'UTF-8'} {else} {/if} {/if} @@ -98,12 +98,12 @@ quantity <= 0} class="warning-inline"{/if}> {if $product->quantity <= 0} {if $allow_oosp} - {$product->available_later|escape:'htmlall':'UTF-8'} + {$product->available_later|escape:'html':'UTF-8'} {else} {l s='This product is no longer in stock.'} {/if} {else} - {$product->available_now|escape:'htmlall':'UTF-8'} + {$product->available_now|escape:'html':'UTF-8'} {/if} {/if} @@ -132,7 +132,7 @@
  • {cycle values='comparison_feature_odd,comparison_feature_even' assign='classname'} {foreach from=$products item=product name=for_products} @@ -140,7 +140,7 @@ {assign var='feature_id' value=$feature.id_feature} {if isset($product_features[$product_id])} {assign var='tab' value=$product_features[$product_id]} - + {else} {/if} diff --git a/themes/default-bootstrap/restricted-country.tpl b/themes/default-bootstrap/restricted-country.tpl index 80a395ca0..2df1c715c 100644 --- a/themes/default-bootstrap/restricted-country.tpl +++ b/themes/default-bootstrap/restricted-country.tpl @@ -26,13 +26,13 @@ - {$meta_title|escape:'htmlall':'UTF-8'} + {$meta_title|escape:'html':'UTF-8'} {if isset($meta_description)} - + {/if} {if isset($meta_keywords)} - + {/if} diff --git a/themes/default-bootstrap/scenes.tpl b/themes/default-bootstrap/scenes.tpl index 22a583c86..4a2e06945 100644 --- a/themes/default-bootstrap/scenes.tpl +++ b/themes/default-bootstrap/scenes.tpl @@ -40,7 +40,7 @@ $(function () {ldelim}
    {foreach $scene->products as $product_key=>$product} {assign var=imageIds value="`$product.id_product`-`$product.id_image`"} - +  
    - + @@ -261,7 +261,7 @@

    - +

    {/if} {/if} @@ -307,7 +307,7 @@

    {l s='Leave a message'}

    {l s='If you would like to add a comment about your order, please write it in the field below.'}

    -

    +

    {/if} diff --git a/themes/default/order-detail.tpl b/themes/default/order-detail.tpl index 67c002556..4cb99d28c 100644 --- a/themes/default/order-detail.tpl +++ b/themes/default/order-detail.tpl @@ -34,8 +34,8 @@
    -{if $carrier->id}

    {l s='Carrier'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}

    {/if} -

    {l s='Payment method'} {$order->payment|escape:'htmlall':'UTF-8'}

    +{if $carrier->id}

    {l s='Carrier'} {if $carrier->name == "0"}{$shop_name|escape:'html':'UTF-8'}{else}{$carrier->name|escape:'html':'UTF-8'}{/if}

    {/if} +

    {l s='Payment method'} {$order->payment|escape:'html':'UTF-8'}

    {if $invoice AND $invoiceAllowed}

    @@ -65,7 +65,7 @@ {foreach from=$order_history item=state name="orderStates"}

    - + {/foreach} @@ -75,7 +75,7 @@ {if isset($followup)}

    {l s='Click the following link to track the delivery of your order'}

    -{$followup|escape:'htmlall':'UTF-8'} +{$followup|escape:'html':'UTF-8'} {/if}
    @@ -83,12 +83,12 @@
    • {l s='Billing'}
    • {foreach from=$inv_adr_fields name=inv_loop item=field_item} - {if $field_item eq "company" && isset($address_invoice->company)}
    • {$address_invoice->company|escape:'htmlall':'UTF-8'}
    • - {elseif $field_item eq "address2" && $address_invoice->address2}
    • {$address_invoice->address2|escape:'htmlall':'UTF-8'}
    • - {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}
    • {$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}
    • + {if $field_item eq "company" && isset($address_invoice->company)}
    • {$address_invoice->company|escape:'html':'UTF-8'}
    • + {elseif $field_item eq "address2" && $address_invoice->address2}
    • {$address_invoice->address2|escape:'html':'UTF-8'}
    • + {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}
    • {$address_invoice->phone_mobile|escape:'html':'UTF-8'}
    • {else} {assign var=address_words value=" "|explode:$field_item} -
    • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$invoiceAddressFormatedValues[$word_item|replace:',':'']|escape:'htmlall':'UTF-8'}{/foreach}
    • +
    • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$invoiceAddressFormatedValues[$word_item|replace:',':'']|escape:'html':'UTF-8'}{/foreach}
    • {/if} {/foreach} @@ -96,12 +96,12 @@
        isVirtual()}style="display:none;"{/if}>
      • {l s='Delivery'}
      • {foreach from=$dlv_adr_fields name=dlv_loop item=field_item} - {if $field_item eq "company" && isset($address_delivery->company)}
      • {$address_delivery->company|escape:'htmlall':'UTF-8'}
      • - {elseif $field_item eq "address2" && $address_delivery->address2}
      • {$address_delivery->address2|escape:'htmlall':'UTF-8'}
      • - {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}
      • {$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}
      • + {if $field_item eq "company" && isset($address_delivery->company)}
      • {$address_delivery->company|escape:'html':'UTF-8'}
      • + {elseif $field_item eq "address2" && $address_delivery->address2}
      • {$address_delivery->address2|escape:'html':'UTF-8'}
      • + {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}
      • {$address_delivery->phone_mobile|escape:'html':'UTF-8'}
      • {else} {assign var=address_words value=" "|explode:$field_item} -
      • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$deliveryAddressFormatedValues[$word_item|replace:',':'']|escape:'htmlall':'UTF-8'}{/foreach}
      • +
      • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$deliveryAddressFormatedValues[$word_item|replace:',':'']|escape:'html':'UTF-8'}{/foreach}
      • {/if} {/foreach}
      @@ -175,9 +175,9 @@ {if isset($product.customizedDatas)}
    {if $return_allowed}{/if} - + {if $order->hasProductReturned()} @@ -246,24 +246,24 @@ {if $product.product_quantity > $product.customizationQuantityTotal} {if $return_allowed}{/if} - + @@ -297,8 +297,8 @@ {/foreach} {foreach from=$discounts item=discount} - - + + @@ -370,16 +370,16 @@ - + {/foreach} diff --git a/themes/default/order-opc-new-account.tpl b/themes/default/order-opc-new-account.tpl index 7d452cb38..2d754633d 100644 --- a/themes/default/order-opc-new-account.tpl +++ b/themes/default/order-opc-new-account.tpl @@ -19,7 +19,7 @@ {l s='Forgot your password?'}

    - {if isset($back)}{/if} + {if isset($back)}{/if}

    @@ -59,7 +59,7 @@ {if isset($country.states) && $country.contains_states} countries[{$country.id_country|intval}] = new Array(); {foreach from=$country.states item='state' name='states'} - countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'htmlall':'UTF-8'}'{rdelim}); + countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'html':'UTF-8'}'{rdelim}); {/foreach} {/if} {if $country.need_identification_number} @@ -139,7 +139,7 @@ {* @@ -159,13 +159,13 @@

    @@ -239,7 +239,7 @@

    @@ -358,7 +358,7 @@

    diff --git a/themes/default/product.tpl b/themes/default/product.tpl index 9c3c0e6da..41cd394ba 100644 --- a/themes/default/product.tpl +++ b/themes/default/product.tpl @@ -65,7 +65,7 @@ var currentDate = '{$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'}'; var maxQuantityToAllowDisplayOfLastQuantityMessage = {$last_qties}; var noTaxForThisProduct = {if $no_tax == 1}true{else}false{/if}; var displayPrice = {$priceDisplay}; -var productReference = '{$product->reference|escape:'htmlall':'UTF-8'}'; +var productReference = '{$product->reference|escape:'html':'UTF-8'}'; var productAvailableForOrder = {if (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE}'0'{else}'{$product->available_for_order}'{/if}; var productShowPrice = '{if !$PS_CATALOG_MODE}{$product->show_price}{else}0{/if}'; var productUnitPriceRatio = '{$product->unit_price_ratio}'; @@ -163,8 +163,8 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving

    {l s='This product is not visible to your customers.'} - - + +

    @@ -183,12 +183,12 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving
    {if $have_image} - {if !empty($cover.legend)}{$cover.legend|escape:'htmlall':'UTF-8'}{else}{$product->name|escape:'htmlall':'UTF-8'}{/if} + {if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if} {l s='Maximize'} {else} - + {l s='Maximize'} {/if} @@ -203,9 +203,9 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving {foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"} {if !empty($image.legend)} - {assign var=imageTitlte value=$image.legend|escape:'htmlall':'UTF-8'} + {assign var=imageTitlte value=$image.legend|escape:'html':'UTF-8'} {else} - {assign var=imageTitlte value=$product->name|escape:'htmlall':'UTF-8'} + {assign var=imageTitlte value=$product->name|escape:'html':'UTF-8'} {/if}
  • @@ -231,7 +231,7 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving
    -

    {$product->name|escape:'htmlall':'UTF-8'}

    +

    {$product->name|escape:'html':'UTF-8'}

    {if $product->description_short OR $packItems|@count > 0}
    @@ -246,7 +246,7 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving

    {l s='Pack content'}

    {foreach from=$packItems item=packItem}
    {/foreach} @@ -289,13 +289,13 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving {foreach from=$groups key=id_attribute_group item=group} {if $group.attributes|@count}
    - + {assign var="groupName" value="group_$id_attribute_group"}
    {if ($group.group_type == 'select')} {elseif ($group.group_type == 'color')} @@ -320,7 +320,7 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving {foreach from=$group.attributes key=id_attribute item=group_attribute}
  • - {$group_attribute|escape:'htmlall':'UTF-8'} + {$group_attribute|escape:'html':'UTF-8'}
  • {/foreach} @@ -333,7 +333,7 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving {/if}

    reference}style="display: none;"{/if}> - {$product->reference|escape:'htmlall':'UTF-8'} + {$product->reference|escape:'html':'UTF-8'}

    @@ -434,7 +434,7 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving {/if} {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} {math equation="pprice / punit_price" pprice=$productPrice punit_price=$product->unit_price_ratio assign=unit_price} -

    {convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}

    +

    {convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'html':'UTF-8'}

    {/if} {*close if for show price*} {/if} @@ -521,7 +521,7 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving
      {foreach from=$features item=feature} {if isset($feature.value)} -
    • {$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'}
    • +
    • {$feature.name|escape:'html':'UTF-8'} {$feature.value|escape:'html':'UTF-8'}
    • {/if} {/foreach}
    @@ -529,7 +529,7 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving {if isset($attachments) && $attachments} {/if} @@ -544,19 +544,19 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving {assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)}
  • - {$accessory.name|escape:'htmlall':'UTF-8'} + {$accessory.name|escape:'html':'UTF-8'} {if $accessory.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} - {if $priceDisplay != 1}{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}{/if}{/if}

    - {l s='View'} + {l s='View'} {if !$PS_CATALOG_MODE && ($accessory.allow_oosp || $accessory.quantity > 0)} {l s='Add to cart'} {/if} diff --git a/themes/live_edit.tpl b/themes/live_edit.tpl index db7585645..56fa8508f 100644 --- a/themes/live_edit.tpl +++ b/themes/live_edit.tpl @@ -42,7 +42,7 @@
    - + {foreach from=$hook_list key=hook_id item=hook_name}

  • - {$shop_address|escape:'htmlall':'UTF-8'}
    + {$shop_address|escape:'html':'UTF-8'}
    {if !empty($shop_phone) OR !empty($shop_fax)} {l s='For more assistance, contact Support:' pdf='true'}
    {if !empty($shop_phone)} - Tel: {$shop_phone|escape:'htmlall':'UTF-8'} + Tel: {$shop_phone|escape:'html':'UTF-8'} {/if} {if !empty($shop_fax)} - Fax: {$shop_fax|escape:'htmlall':'UTF-8'} + Fax: {$shop_fax|escape:'html':'UTF-8'} {/if}
    {/if} {if isset($shop_details)} - {$shop_details|escape:'htmlall':'UTF-8'}
    + {$shop_details|escape:'html':'UTF-8'}
    {/if} {if isset($free_text)} {foreach $free_text as $text} - {$text|escape:'htmlall':'UTF-8'}
    + {$text|escape:'html':'UTF-8'}
    {/foreach} {/if}
    - + - + - + - +
    {$shop_name|escape:'htmlall':'UTF-8'}{$shop_name|escape:'html':'UTF-8'}
    {$date|escape:'htmlall':'UTF-8'}{$date|escape:'html':'UTF-8'}
    {$title|escape:'htmlall':'UTF-8'}{$title|escape:'html':'UTF-8'}
    {$reference|escape:'htmlall':'UTF-8'}{$reference|escape:'html':'UTF-8'}
    {$discountDetail.quantity_for_user} {if $discountDetail.id_discount_type == 1} - {$discountDetail.value|escape:'htmlall':'UTF-8'}% + {$discountDetail.value|escape:'html':'UTF-8'}% {elseif $discountDetail.id_discount_type == 2} {convertPrice price=$discountDetail.value} ({if $discountDetail.reduction_tax == 1}{l s='Tax included'}{else}{l s='Tax excluded'}{/if}) {elseif $discountDetail.id_discount_type == 3} diff --git a/themes/default-bootstrap/errors.tpl b/themes/default-bootstrap/errors.tpl index 94f52f479..8d0abf911 100644 --- a/themes/default-bootstrap/errors.tpl +++ b/themes/default-bootstrap/errors.tpl @@ -32,7 +32,7 @@ {/foreach} {if isset($smarty.server.HTTP_REFERER) && !strstr($request_uri, 'authentication') && preg_replace('#^https?://[^/]+/#', '/', $smarty.server.HTTP_REFERER) != $request_uri} -

    « {l s='Back'}

    +

    « {l s='Back'}

    {/if} {/if} \ No newline at end of file diff --git a/themes/default-bootstrap/guest-tracking.tpl b/themes/default-bootstrap/guest-tracking.tpl index f436f5e2a..25235feb1 100644 --- a/themes/default-bootstrap/guest-tracking.tpl +++ b/themes/default-bootstrap/guest-tracking.tpl @@ -67,7 +67,7 @@ {if isset($transformSuccess)}

    {l s='Your guest account has been successfully transformed into a customer account. You can now login as a registered shopper. '} {l s='page.'}

    {else} - +

    {l s='Transform your guest account into a customer account and enjoy:'}

    @@ -85,9 +85,9 @@ - - - + + +

    @@ -100,17 +100,17 @@ {if isset($show_login_link) && $show_login_link}

    {l s='Information'}{l s='Click here to login to your customer account.'}

    {/if} - +

    {l s='To track your order, please enter the following information:'}

    - + {l s='For example: QIIXJXNUI or QIIXJXNUI#1'}
    - +

    diff --git a/themes/default-bootstrap/header.tpl b/themes/default-bootstrap/header.tpl index 7017fce5a..6a24da8fb 100644 --- a/themes/default-bootstrap/header.tpl +++ b/themes/default-bootstrap/header.tpl @@ -93,7 +93,7 @@ {$HOOK_HEADER} - + {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode}

    @@ -192,8 +192,8 @@
    -
    {$HOOK_TOP} diff --git a/themes/default-bootstrap/history.tpl b/themes/default-bootstrap/history.tpl index c293cd4b0..0fccacc58 100644 --- a/themes/default-bootstrap/history.tpl +++ b/themes/default-bootstrap/history.tpl @@ -54,8 +54,8 @@
    {dateFormat date=$order.date_add full=0} {displayPrice price=$order.total_paid currency=$order.id_currency no_utf8=false convert=false}{$order.payment|escape:'htmlall':'UTF-8'}{if isset($order.order_state)}{$order.order_state|escape:'htmlall':'UTF-8'}{/if}{$order.payment|escape:'html':'UTF-8'}{if isset($order.order_state)}{$order.order_state|escape:'html':'UTF-8'}{/if} {if (isset($order.invoice) && $order.invoice && isset($order.invoice_number) && $order.invoice_number) && isset($invoiceAllowed) && $invoiceAllowed == true} {l s='PDF'} diff --git a/themes/default-bootstrap/maintenance.tpl b/themes/default-bootstrap/maintenance.tpl index 5b5939345..8a8e0fc41 100644 --- a/themes/default-bootstrap/maintenance.tpl +++ b/themes/default-bootstrap/maintenance.tpl @@ -26,13 +26,13 @@ - {$meta_title|escape:'htmlall':'UTF-8'} + {$meta_title|escape:'html':'UTF-8'} {if isset($meta_description)} - + {/if} {if isset($meta_keywords)} - + {/if} diff --git a/themes/default-bootstrap/manufacturer-list.tpl b/themes/default-bootstrap/manufacturer-list.tpl index 5b669e8a9..240940682 100644 --- a/themes/default-bootstrap/manufacturer-list.tpl +++ b/themes/default-bootstrap/manufacturer-list.tpl @@ -73,16 +73,16 @@

    - {if $manufacturer.nb_products > 0}{/if} - {$manufacturer.name|truncate:60:'...'|escape:'htmlall':'UTF-8'} + {if $manufacturer.nb_products > 0}{/if} + {$manufacturer.name|truncate:60:'...'|escape:'html':'UTF-8'} {if $manufacturer.nb_products > 0}{/if}

    @@ -92,12 +92,12 @@ diff --git a/themes/default-bootstrap/manufacturer.tpl b/themes/default-bootstrap/manufacturer.tpl index 49db1edcf..eaa213c74 100644 --- a/themes/default-bootstrap/manufacturer.tpl +++ b/themes/default-bootstrap/manufacturer.tpl @@ -27,7 +27,7 @@ {include file="$tpl_dir./errors.tpl"} {if !isset($errors) OR !sizeof($errors)} -

    {l s='List of products by manufacturer'} {$manufacturer->name|escape:'htmlall':'UTF-8'}

    +

    {l s='List of products by manufacturer'} {$manufacturer->name|escape:'html':'UTF-8'}

    {if !empty($manufacturer->description) || !empty($manufacturer->short_description)}
    {if !empty($manufacturer->short_description)} diff --git a/themes/default-bootstrap/mobile/address.tpl b/themes/default-bootstrap/mobile/address.tpl index 2fa091719..cc658b9c2 100644 --- a/themes/default-bootstrap/mobile/address.tpl +++ b/themes/default-bootstrap/mobile/address.tpl @@ -38,7 +38,7 @@ countriesNeedZipCode = new Array(); {if isset($country.states) && $country.contains_states} countries[{$country.id_country|intval}] = new Array(); {foreach from=$country.states item='state' name='states'} - countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'htmlall':'UTF-8'}'{rdelim}); + countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'html':'UTF-8'}'{rdelim}); {/foreach} {/if} {if $country.need_identification_number} @@ -49,7 +49,7 @@ countriesNeedZipCode = new Array(); {/if} {/foreach} $(function(){ldelim} - $('.id_state option[value={if isset($smarty.post.id_state)}{$smarty.post.id_state}{else}{if isset($address->id_state)}{$address->id_state|escape:'htmlall':'UTF-8'}{/if}{/if}]').attr('selected', 'selected'); + $('.id_state option[value={if isset($smarty.post.id_state)}{$smarty.post.id_state}{else}{if isset($address->id_state)}{$address->id_state|escape:'html':'UTF-8'}{/if}{/if}]').attr('selected', 'selected'); {rdelim}); {literal} $(document).ready(function() { @@ -77,7 +77,7 @@ $(document).ready(function() { {if isset($smarty.post.alias)} "{$smarty.post.alias}" {else} - {if isset($address->alias)}"{$address->alias|escape:'htmlall':'UTF-8'}"{/if} + {if isset($address->alias)}"{$address->alias|escape:'html':'UTF-8'}"{/if} {/if} {else} {l s='To add a new address, please fill out the form below.'} @@ -88,7 +88,7 @@ $(document).ready(function() {

    {if isset($id_address) && $id_address != 0}{l s='Your address'}{else}{l s='New address'}{/if}

    - +

    {l s='DNI / NIF / NIE'} *

    {if $vat_display == 2} @@ -101,7 +101,7 @@ $(document).ready(function() {

    - +

    @@ -112,44 +112,44 @@ $(document).ready(function() {
    - +
    {/if} {if $field_name eq 'firstname'}
    - +
    {/if} {if $field_name eq 'lastname'}
    - +
    {/if} {if $field_name eq 'address1'}
    - +
    {/if} {if $field_name eq 'address2'}
    - +
    {/if} {if $field_name eq 'postcode'} {assign var="postCodeExist" value="true"}
    - +
    {/if} {if $field_name eq 'city'}
    - +
    {/if} {if $field_name eq 'Country:name' || $field_name eq 'country'} @@ -197,7 +197,7 @@ $(document).ready(function() { {if $postCodeExist eq "false"} {/if} {if $stateExist eq "false"} @@ -210,21 +210,21 @@ $(document).ready(function() { {/if}
    - +

    {l s='You must register at least one phone number.'} *

    - +
    - +

    - +

    {if isset($id_address)}{/if} diff --git a/themes/default-bootstrap/mobile/addresses.tpl b/themes/default-bootstrap/mobile/addresses.tpl index c40082ad1..8d385d71a 100644 --- a/themes/default-bootstrap/mobile/addresses.tpl +++ b/themes/default-bootstrap/mobile/addresses.tpl @@ -43,7 +43,7 @@ {foreach from=$address.ordered name=adr_loop item=pattern} {assign var=addressKey value=" "|explode:$pattern} {foreach from=$addressKey item=key name="word_loop"} - {$address.formated[$key|replace:',':'']|escape:'htmlall':'UTF-8'} + {$address.formated[$key|replace:',':'']|escape:'html':'UTF-8'} {/foreach}
    {/foreach} diff --git a/themes/default-bootstrap/mobile/authentication-choice.tpl b/themes/default-bootstrap/mobile/authentication-choice.tpl index 2c01fbfd7..2f667c4c4 100644 --- a/themes/default-bootstrap/mobile/authentication-choice.tpl +++ b/themes/default-bootstrap/mobile/authentication-choice.tpl @@ -5,9 +5,9 @@

    {l s='Enter your email address to create an account'}.

    - +
    - {if isset($back)}{/if} + {if isset($back)}{/if}
    @@ -18,11 +18,11 @@

    {l s='Already registered?'}

    - +
    - +

    {l s='Forgot your password?'}

    diff --git a/themes/default-bootstrap/mobile/authentication-create-account.tpl b/themes/default-bootstrap/mobile/authentication-create-account.tpl index ade6331bc..baf67b973 100644 --- a/themes/default-bootstrap/mobile/authentication-create-account.tpl +++ b/themes/default-bootstrap/mobile/authentication-create-account.tpl @@ -31,7 +31,7 @@ {* @@ -51,13 +51,13 @@

    @@ -152,7 +152,7 @@

    @@ -211,7 +211,7 @@

    - {if isset($back)}{/if} + {if isset($back)}{/if} *{l s='Required field'}

    diff --git a/themes/default-bootstrap/mobile/authentication.tpl b/themes/default-bootstrap/mobile/authentication.tpl index aa89099ae..f63baec15 100644 --- a/themes/default-bootstrap/mobile/authentication.tpl +++ b/themes/default-bootstrap/mobile/authentication.tpl @@ -38,7 +38,7 @@ countriesNeedZipCode = new Array(); {if isset($country.states) && $country.contains_states} countries[{$country.id_country|intval}] = new Array(); {foreach from=$country.states item='state' name='states'} - countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'htmlall':'UTF-8'}'{rdelim}); + countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'html':'UTF-8'}'{rdelim}); {/foreach} {/if} {if $country.need_identification_number} @@ -50,7 +50,7 @@ countriesNeedZipCode = new Array(); {/foreach} {/if} $(function(){ldelim} - $('.id_state option[value={if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{else}{if isset($address)}{$address->id_state|escape:'htmlall':'UTF-8'}{/if}{/if}]').attr('selected', 'selected'); + $('.id_state option[value={if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{else}{if isset($address)}{$address->id_state|escape:'html':'UTF-8'}{/if}{/if}]').attr('selected', 'selected'); {rdelim}); //]]> {literal} diff --git a/themes/default-bootstrap/mobile/category-cms-tree-branch.tpl b/themes/default-bootstrap/mobile/category-cms-tree-branch.tpl index f7f27809a..46a308d48 100644 --- a/themes/default-bootstrap/mobile/category-cms-tree-branch.tpl +++ b/themes/default-bootstrap/mobile/category-cms-tree-branch.tpl @@ -25,7 +25,7 @@
  • 0 || isset($node.cms) && $node.cms|@count > 0}data-icon="more"{/if}> - {$node.name|escape:'htmlall':'UTF-8'} + {$node.name|escape:'html':'UTF-8'} {if isset($node.children) && $node.children|@count > 0} {elseif isset($node.cms) && $node.cms|@count > 0} {/if} diff --git a/themes/default-bootstrap/mobile/category-product-list.tpl b/themes/default-bootstrap/mobile/category-product-list.tpl index 8eff694b1..23d349e67 100644 --- a/themes/default-bootstrap/mobile/category-product-list.tpl +++ b/themes/default-bootstrap/mobile/category-product-list.tpl @@ -27,9 +27,9 @@
  • {$discountDetail.quantity_for_user} {if $discountDetail.id_discount_type == 1} - {$discountDetail.value|escape:'htmlall':'UTF-8'}% + {$discountDetail.value|escape:'html':'UTF-8'}% {elseif $discountDetail.id_discount_type == 2} {convertPrice price=$discountDetail.value} {else} diff --git a/themes/default-bootstrap/mobile/header.tpl b/themes/default-bootstrap/mobile/header.tpl index ae6fb32d5..19e12e67c 100644 --- a/themes/default-bootstrap/mobile/header.tpl +++ b/themes/default-bootstrap/mobile/header.tpl @@ -25,7 +25,7 @@ - {$meta_title|escape:'htmlall':'UTF-8'} + {$meta_title|escape:'html':'UTF-8'} {**} {if isset($meta_description) AND $meta_description} @@ -59,12 +59,12 @@ {/if} {$HOOK_MOBILE_HEADER} - +
    {if isset($message.ename) && $message.ename} - {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'} + {$message.efirstname|escape:'html':'UTF-8'} {$message.elastname|escape:'html':'UTF-8'} {elseif $message.clastname} - {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'} + {$message.cfirstname|escape:'html':'UTF-8'} {$message.clastname|escape:'html':'UTF-8'} {else} - {$shop_name|escape:'htmlall':'UTF-8'} + {$shop_name|escape:'html':'UTF-8'} {/if}
    {dateFormat date=$message.date_add full=1} diff --git a/themes/default-bootstrap/mobile/order-follow.tpl b/themes/default-bootstrap/mobile/order-follow.tpl index 1db27abbd..c369b99b6 100644 --- a/themes/default-bootstrap/mobile/order-follow.tpl +++ b/themes/default-bootstrap/mobile/order-follow.tpl @@ -53,7 +53,7 @@
    {l s='#'}{$return.id_order_return|string_format:"%06d"} {l s='#'}{$return.id_order|string_format:"%06d"}{$return.state_name|escape:'htmlall':'UTF-8'}{$return.state_name|escape:'html':'UTF-8'} {dateFormat date=$return.date_add full=0} {if $return.state == 2} diff --git a/themes/default-bootstrap/mobile/order-opc-address.tpl b/themes/default-bootstrap/mobile/order-opc-address.tpl index 64b28cdd0..cb1649c65 100644 --- a/themes/default-bootstrap/mobile/order-opc-address.tpl +++ b/themes/default-bootstrap/mobile/order-opc-address.tpl @@ -32,16 +32,16 @@

    {l s='Delivery address'}

    {if isset($delivery)}
      -
    • {$delivery->firstname|escape:'htmlall':'UTF-8'} {$delivery->lastname|escape:'htmlall':'UTF-8'}
    • +
    • {$delivery->firstname|escape:'html':'UTF-8'} {$delivery->lastname|escape:'html':'UTF-8'}
    • {if $delivery->company} -
    • {$delivery->company|escape:'htmlall':'UTF-8'}
    • +
    • {$delivery->company|escape:'html':'UTF-8'}
    • {/if} -
    • {$delivery->address1|escape:'htmlall':'UTF-8'}
    • +
    • {$delivery->address1|escape:'html':'UTF-8'}
    • {if $delivery->address2} -
    • {$delivery->address2|escape:'htmlall':'UTF-8'}
    • +
    • {$delivery->address2|escape:'html':'UTF-8'}
    • {/if} -
    • {$delivery->postcode|escape:'htmlall':'UTF-8'} {$delivery->city|escape:'htmlall':'UTF-8'}
    • -
    • {$delivery->country|escape:'htmlall':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'htmlall':'UTF-8'}){/if}
    • +
    • {$delivery->postcode|escape:'html':'UTF-8'} {$delivery->city|escape:'html':'UTF-8'}
    • +
    • {$delivery->country|escape:'html':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'html':'UTF-8'}){/if}
    {/if} @@ -61,16 +61,16 @@

    {l s='Invoice address'}

    {if isset($invoice)}
      -
    • {$invoice->firstname|escape:'htmlall':'UTF-8'} {$invoice->lastname|escape:'htmlall':'UTF-8'}
    • +
    • {$invoice->firstname|escape:'html':'UTF-8'} {$invoice->lastname|escape:'html':'UTF-8'}
    • {if $invoice->company} -
    • {$invoice->company|escape:'htmlall':'UTF-8'}
    • +
    • {$invoice->company|escape:'html':'UTF-8'}
    • {/if} -
    • {$invoice->address1|escape:'htmlall':'UTF-8'}
    • +
    • {$invoice->address1|escape:'html':'UTF-8'}
    • {if $invoice->address2} -
    • {$invoice->address2|escape:'htmlall':'UTF-8'}
    • +
    • {$invoice->address2|escape:'html':'UTF-8'}
    • {/if} -
    • {$invoice->postcode|escape:'htmlall':'UTF-8'} {$invoice->city|escape:'htmlall':'UTF-8'}
    • -
    • {$invoice->country|escape:'htmlall':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'htmlall':'UTF-8'}){/if}
    • +
    • {$invoice->postcode|escape:'html':'UTF-8'} {$invoice->city|escape:'html':'UTF-8'}
    • +
    • {$invoice->country|escape:'html':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'html':'UTF-8'}){/if}
    {else}

    {l s='You must specify your delivery and invoice address'}

    diff --git a/themes/default-bootstrap/mobile/order-opc-carrier.tpl b/themes/default-bootstrap/mobile/order-opc-carrier.tpl index a2d2073d0..007dac0cc 100644 --- a/themes/default-bootstrap/mobile/order-opc-carrier.tpl +++ b/themes/default-bootstrap/mobile/order-opc-carrier.tpl @@ -158,7 +158,7 @@

    - +

    {/if} diff --git a/themes/default-bootstrap/mobile/order-payment.tpl b/themes/default-bootstrap/mobile/order-payment.tpl index 8e4e02c15..20da5b826 100644 --- a/themes/default-bootstrap/mobile/order-payment.tpl +++ b/themes/default-bootstrap/mobile/order-payment.tpl @@ -156,7 +156,7 @@ {if isset($errors_discount) && $errors_discount}
      {foreach from=$errors_discount key=k item=error} -
    • {$error|escape:'htmlall':'UTF-8'}
    • +
    • {$error|escape:'html':'UTF-8'}
    • {/foreach}
    {/if} @@ -175,7 +175,7 @@ {if isset($errors_discount) && $errors_discount}
      {foreach from=$errors_discount key=k item=error} -
    • {$error|escape:'htmlall':'UTF-8'}
    • +
    • {$error|escape:'html':'UTF-8'}
    • {/foreach}
    {/if} diff --git a/themes/default-bootstrap/mobile/page-title.tpl b/themes/default-bootstrap/mobile/page-title.tpl index d336258b4..02f5ac9ef 100644 --- a/themes/default-bootstrap/mobile/page-title.tpl +++ b/themes/default-bootstrap/mobile/page-title.tpl @@ -1,5 +1,5 @@ {if !isset($page_title) && isset($meta_title) && $meta_title != $shop_name} - {assign var='page_title' value=$meta_title|escape:'htmlall':'UTF-8'} + {assign var='page_title' value=$meta_title|escape:'html':'UTF-8'} {/if} {if isset($page_title)}
    - {$product.name|escape:'htmlall':'UTF-8'} + {$product.name|escape:'html':'UTF-8'} - {$product.name|escape:'htmlall':'UTF-8'} - {if isset($product.attributes) && $product.attributes}

    {$product.attributes|escape:'htmlall':'UTF-8'}

    {/if} + {$product.name|escape:'html':'UTF-8'} + {if isset($product.attributes) && $product.attributes}

    {$product.attributes|escape:'html':'UTF-8'}

    {/if}
    {if $product.reference}{$product.reference|escape:'htmlall':'UTF-8'}{else}--{/if}{if $product.reference}{$product.reference|escape:'html':'UTF-8'}{else}--{/if} {if !empty($product.gift)} diff --git a/themes/default-bootstrap/mobile/sitemap.tpl b/themes/default-bootstrap/mobile/sitemap.tpl index ba82ea339..d7b0707e2 100644 --- a/themes/default-bootstrap/mobile/sitemap.tpl +++ b/themes/default-bootstrap/mobile/sitemap.tpl @@ -36,8 +36,8 @@ {include file="./category-tree-branch.tpl" node=$categoriesTree.children.$i} {else}
  • - - {$categoriesTree.children.$i.name|escape:'htmlall':'UTF-8'} + + {$categoriesTree.children.$i.name|escape:'html':'UTF-8'}
  • {/if} @@ -88,7 +88,7 @@ {/foreach} {/if} {foreach from=$categoriescmsTree.cms item=cms name=cmsTree} -
  • {$cms.meta_title|escape:'htmlall':'UTF-8'}
  • +
  • {$cms.meta_title|escape:'html':'UTF-8'}
  • {/foreach}
  • {l s='Contact'}
  • {if $display_store}
  • {l s='Our stores'}
  • {/if} diff --git a/themes/default-bootstrap/mobile/supplier-list.tpl b/themes/default-bootstrap/mobile/supplier-list.tpl index 74e28d5bb..3fa0e52c5 100644 --- a/themes/default-bootstrap/mobile/supplier-list.tpl +++ b/themes/default-bootstrap/mobile/supplier-list.tpl @@ -50,12 +50,12 @@ {foreach $suppliers_list as $supplier}
  • {if $supplier.nb_products > 0} - + {/if} - + -

    {$supplier.name|truncate:60:'...'|escape:'htmlall':'UTF-8'}

    +

    {$supplier.name|truncate:60:'...'|escape:'html':'UTF-8'}

    {if $supplier.nb_products == 1} {l s='%d product' sprintf=$supplier.nb_products|intval} diff --git a/themes/default-bootstrap/mobile/supplier.tpl b/themes/default-bootstrap/mobile/supplier.tpl index a05b755bc..d13ab4687 100644 --- a/themes/default-bootstrap/mobile/supplier.tpl +++ b/themes/default-bootstrap/mobile/supplier.tpl @@ -23,7 +23,7 @@ * International Registered Trademark & Property of PrestaShop SA *} -{capture assign='page_title'}{$supplier->name|escape:'htmlall':'UTF-8'}{/capture} +{capture assign='page_title'}{$supplier->name|escape:'html':'UTF-8'}{/capture} {include file='./page-title.tpl'} {include file="$tpl_dir./errors.tpl"} diff --git a/themes/default-bootstrap/modules/blockcart/blockcart-json.tpl b/themes/default-bootstrap/modules/blockcart/blockcart-json.tpl index 1dddcd510..267bdfee9 100644 --- a/themes/default-bootstrap/modules/blockcart/blockcart-json.tpl +++ b/themes/default-bootstrap/modules/blockcart/blockcart-json.tpl @@ -35,7 +35,7 @@ "image": "{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|addslashes|replace:'\\\'':'\''}", "image_cart": "{$link->getImageLink($product.link_rewrite, $product.id_image, 'cart_default')|addslashes|replace:'\\\'':'\''}", "priceByLine": "{if $priceDisplay == $smarty.const.PS_TAX_EXC}{displayWtPrice|html_entity_decode:2:'UTF-8' p=$product.total}{else}{displayWtPrice|html_entity_decode:2:'UTF-8' p=$product.total_wt}{/if}", - "name": "{$product.name|html_entity_decode:2:'UTF-8'|truncate:15:'...':true|escape:'htmlall'}", + "name": "{$product.name|html_entity_decode:2:'UTF-8'|truncate:15:'...':true|escape:'html'}", "price": "{if $priceDisplay == $smarty.const.PS_TAX_EXC}{displayWtPrice|html_entity_decode:2:'UTF-8' p=$product.total}{else}{displayWtPrice|html_entity_decode:2:'UTF-8' p=$product.total_wt}{/if}", "price_float": "{$product.total}", "idCombination": {if isset($product.attributes_small)}{$productAttributeId}{else}0{/if}, diff --git a/themes/default-bootstrap/modules/blockcart/blockcart.tpl b/themes/default-bootstrap/modules/blockcart/blockcart.tpl index 6cd7f5ec8..af543f92f 100644 --- a/themes/default-bootstrap/modules/blockcart/blockcart.tpl +++ b/themes/default-bootstrap/modules/blockcart/blockcart.tpl @@ -133,7 +133,7 @@ var generated_date = {$smarty.now|intval}; {if $discount.value_real > 0}

  • 1x{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'}{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'html':'UTF-8'} -{if $priceDisplay == 1}{convertPrice price=$discount.value_tax_exc}{else}{convertPrice price=$discount.value_real}{/if} {if strlen($discount.code)} diff --git a/themes/default-bootstrap/modules/blockcart/crossselling.tpl b/themes/default-bootstrap/modules/blockcart/crossselling.tpl index 94d1c97fd..4253aa65f 100644 --- a/themes/default-bootstrap/modules/blockcart/crossselling.tpl +++ b/themes/default-bootstrap/modules/blockcart/crossselling.tpl @@ -36,7 +36,7 @@ {$orderProduct.name|htmlspecialchars} -

    {$orderProduct.name|truncate:15:'...'|escape:'htmlall':'UTF-8'}

    +

    {$orderProduct.name|truncate:15:'...'|escape:'html':'UTF-8'}

    {if $orderProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} {convertPrice price=$orderProduct.displayed_price} diff --git a/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl b/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl index 21d3e976e..ce97048b6 100644 --- a/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl +++ b/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl @@ -24,8 +24,8 @@ *}
  • -

    {$node.name|escape:'htmlall':'UTF-8'}

    +

    {$node.name|escape:'html':'UTF-8'}

    {if $node.children|@count > 0}
      diff --git a/themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl b/themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl index 63bbcb73e..5718b22d0 100644 --- a/themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl +++ b/themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl @@ -24,8 +24,8 @@ *}
    • - {$node.name|escape:'htmlall':'UTF-8'} + {$node.name|escape:'html':'UTF-8'} {if $node.children|@count > 0}
        {foreach from=$node.children item=child name=categoryTreeBranch} diff --git a/themes/default-bootstrap/modules/blockcms/blockcms.tpl b/themes/default-bootstrap/modules/blockcms/blockcms.tpl index cbd79dbbc..8be161d1a 100644 --- a/themes/default-bootstrap/modules/blockcms/blockcms.tpl +++ b/themes/default-bootstrap/modules/blockcms/blockcms.tpl @@ -56,7 +56,7 @@
      • {l s='Contact us' mod='blockcms'}
      • {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} -
      • {$cmslink.meta_title|escape:'htmlall':'UTF-8'}
      • +
      • {$cmslink.meta_title|escape:'html':'UTF-8'}
      • {/if} {/foreach}
      • {l s='Sitemap' mod='blockcms'}
      • diff --git a/themes/default-bootstrap/modules/blockcontact/blockcontact.tpl b/themes/default-bootstrap/modules/blockcontact/blockcontact.tpl index c8efbaaf9..30be7cff7 100644 --- a/themes/default-bootstrap/modules/blockcontact/blockcontact.tpl +++ b/themes/default-bootstrap/modules/blockcontact/blockcontact.tpl @@ -27,7 +27,7 @@

        {l s='Contact us' mod='blockcontact'}

        {l s='Our support hotline is available 24/7' mod='blockcontact'}

        - {if $telnumber != ''}

        {l s='Phone:' mod='blockcontact'}{$telnumber|escape:'htmlall':'UTF-8'}

        {/if} - {if $email != ''}{l s='Contact our expert support team!' mod='blockcontact'}{/if} + {if $telnumber != ''}

        {l s='Phone:' mod='blockcontact'}{$telnumber|escape:'html':'UTF-8'}

        {/if} + {if $email != ''}{l s='Contact our expert support team!' mod='blockcontact'}{/if}
        diff --git a/themes/default-bootstrap/modules/blockcontactinfos/blockcontactinfos.tpl b/themes/default-bootstrap/modules/blockcontactinfos/blockcontactinfos.tpl index 695536c39..bb133d599 100644 --- a/themes/default-bootstrap/modules/blockcontactinfos/blockcontactinfos.tpl +++ b/themes/default-bootstrap/modules/blockcontactinfos/blockcontactinfos.tpl @@ -29,9 +29,9 @@

        {l s='Store Information' mod='blockcontactinfos'}

        diff --git a/themes/default-bootstrap/modules/blockmanufacturer/blockmanufacturer.tpl b/themes/default-bootstrap/modules/blockmanufacturer/blockmanufacturer.tpl index 0c9c70df4..01d77bfe2 100644 --- a/themes/default-bootstrap/modules/blockmanufacturer/blockmanufacturer.tpl +++ b/themes/default-bootstrap/modules/blockmanufacturer/blockmanufacturer.tpl @@ -32,18 +32,18 @@ {/if} {if $form_list} -
        +
        diff --git a/themes/default-bootstrap/modules/blocksupplier/blocksupplier.tpl b/themes/default-bootstrap/modules/blocksupplier/blocksupplier.tpl index 7207cdf9a..e86944826 100644 --- a/themes/default-bootstrap/modules/blocksupplier/blocksupplier.tpl +++ b/themes/default-bootstrap/modules/blocksupplier/blocksupplier.tpl @@ -33,19 +33,19 @@ {foreach from=$suppliers item=supplier name=supplier_list} {if $smarty.foreach.supplier_list.iteration <= $text_list_nb}
      • - {$supplier.name|escape:'htmlall':'UTF-8'} + {$supplier.name|escape:'html':'UTF-8'}
      • {/if} {/foreach}
      {/if} {if $form_list} - +
      diff --git a/themes/default-bootstrap/modules/blocktopmenu/blocktopmenu.tpl b/themes/default-bootstrap/modules/blocktopmenu/blocktopmenu.tpl index 2257fe616..1a79edf02 100644 --- a/themes/default-bootstrap/modules/blocktopmenu/blocktopmenu.tpl +++ b/themes/default-bootstrap/modules/blocktopmenu/blocktopmenu.tpl @@ -12,7 +12,7 @@ - +

    • diff --git a/themes/default-bootstrap/modules/blockwishlist/blockwishlist-ajax.tpl b/themes/default-bootstrap/modules/blockwishlist/blockwishlist-ajax.tpl index daef7882f..f811d6899 100644 --- a/themes/default-bootstrap/modules/blockwishlist/blockwishlist-ajax.tpl +++ b/themes/default-bootstrap/modules/blockwishlist/blockwishlist-ajax.tpl @@ -27,12 +27,12 @@ {foreach from=$products item=product name=i}
      {$product.quantity|intval}x - {$product.name|truncate:13:'...'|escape:'htmlall':'UTF-8'} + {$product.name|truncate:13:'...'|escape:'html':'UTF-8'}
      {if isset($product.attributes_small)}
      - {$product.attributes_small|escape:'htmlall':'UTF-8'} + {$product.attributes_small|escape:'html':'UTF-8'}
      {/if} {/foreach} diff --git a/themes/default-bootstrap/modules/blockwishlist/blockwishlist.tpl b/themes/default-bootstrap/modules/blockwishlist/blockwishlist.tpl index 855aaf987..4ff77cc23 100644 --- a/themes/default-bootstrap/modules/blockwishlist/blockwishlist.tpl +++ b/themes/default-bootstrap/modules/blockwishlist/blockwishlist.tpl @@ -34,12 +34,12 @@
      {$product.quantity|intval}x {$product.name|truncate:30:'...'|escape:'htmlall':'UTF-8'} + href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{$product.name|escape:'html':'UTF-8'}">{$product.name|truncate:30:'...'|escape:'html':'UTF-8'}
      {if isset($product.attributes_small)}
      - {$product.attributes_small|escape:'htmlall':'UTF-8'} + {$product.attributes_small|escape:'html':'UTF-8'}
      {/if} {/foreach} @@ -55,7 +55,7 @@
      diff --git a/themes/default-bootstrap/modules/blockwishlist/managewishlist.tpl b/themes/default-bootstrap/modules/blockwishlist/managewishlist.tpl index 29bed3d59..dd096e410 100644 --- a/themes/default-bootstrap/modules/blockwishlist/managewishlist.tpl +++ b/themes/default-bootstrap/modules/blockwishlist/managewishlist.tpl @@ -41,7 +41,7 @@

    -

    +

    {l s='Send this wishlist' mod='blockwishlist'}

    @@ -63,7 +63,7 @@ @@ -71,9 +71,9 @@

    - {$product.name|truncate:30:'...'|escape:'htmlall':'UTF-8'} + {$product.name|truncate:30:'...'|escape:'html':'UTF-8'} {if isset($product.attributes_small)} - {$product.attributes_small|escape:'htmlall':'UTF-8'} + {$product.attributes_small|escape:'html':'UTF-8'} {/if}

    @@ -137,11 +137,11 @@ {if $bought.quantity > 0}
  • - {$product.name|escape:'htmlall':'UTF-8'} + {$product.name|escape:'html':'UTF-8'} - {$product.name|truncate:40:'...'|escape:'htmlall':'UTF-8'} + {$product.name|truncate:40:'...'|escape:'html':'UTF-8'} {if isset($product.attributes_small)} -
    {$product.attributes_small|escape:'htmlall':'UTF-8'} +
    {$product.attributes_small|escape:'html':'UTF-8'} {/if}
    - {$wishlists[i].name|truncate:30:'...'|escape:'htmlall':'UTF-8'} + {$wishlists[i].name|truncate:30:'...'|escape:'html':'UTF-8'} {assign var=n value=0} diff --git a/themes/default-bootstrap/modules/carriercompare/template/carriercompare.tpl b/themes/default-bootstrap/modules/carriercompare/template/carriercompare.tpl index ec91ac3bd..a0a4cbac4 100644 --- a/themes/default-bootstrap/modules/carriercompare/template/carriercompare.tpl +++ b/themes/default-bootstrap/modules/carriercompare/template/carriercompare.tpl @@ -49,7 +49,7 @@ PS_SE_HandleEvent(); @@ -61,7 +61,7 @@ PS_SE_HandleEvent();
    - ({l s='Needed for certain carriers.' mod='carriercompare'}) + ({l s='Needed for certain carriers.' mod='carriercompare'})
    {dateFormat date=$order.date full=1} {$order.points|intval}{$order.state|escape:'htmlall':'UTF-8'}{$order.state|escape:'html':'UTF-8'}
    {$smarty.section.friends.iteration}
    - {$product.name|escape:'htmlall':'UTF-8'} + {$product.name|escape:'html':'UTF-8'} -

    {$product.name|escape:'htmlall':'UTF-8'}

    - {if isset($product.attributes) && $product.attributes}{$product.attributes|escape:'htmlall':'UTF-8'}{/if} +

    {$product.name|escape:'html':'UTF-8'}

    + {if isset($product.attributes) && $product.attributes}{$product.attributes|escape:'html':'UTF-8'}{/if}
    {if $product.reference}{$product.reference|escape:'htmlall':'UTF-8'}{else}--{/if}{if $product.reference}{$product.reference|escape:'html':'UTF-8'}{else}--{/if} {if $product.stock_quantity > 0}{l s='In Stock'}{else}{l s='Out of Stock'}{/if} {if isset($cannotModify) AND $cannotModify == 1} diff --git a/themes/default-bootstrap/order-address.tpl b/themes/default-bootstrap/order-address.tpl index d8b26f660..aafc8908d 100644 --- a/themes/default-bootstrap/order-address.tpl +++ b/themes/default-bootstrap/order-address.tpl @@ -213,7 +213,7 @@ @@ -230,7 +230,7 @@ {else} diff --git a/themes/default-bootstrap/order-carrier.tpl b/themes/default-bootstrap/order-carrier.tpl index d82eea6ac..9c9025326 100644 --- a/themes/default-bootstrap/order-carrier.tpl +++ b/themes/default-bootstrap/order-carrier.tpl @@ -256,7 +256,7 @@

    - +

    {/if} {/if} @@ -285,7 +285,7 @@

    {l s='Leave a message'}

    {l s='If you would like to add a comment about your order, please write it in the field below.'}

    - +

    @@ -309,7 +309,7 @@

    {l s='Leave a message'}

    {l s='If you would like to add a comment about your order, please write it in the field below.'}

    - +
    {/if} diff --git a/themes/default-bootstrap/order-detail.tpl b/themes/default-bootstrap/order-detail.tpl index 2e5bcebd4..2c60f3680 100644 --- a/themes/default-bootstrap/order-detail.tpl +++ b/themes/default-bootstrap/order-detail.tpl @@ -34,8 +34,8 @@
    - {if $carrier->id}

    {l s='Carrier'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}

    {/if} -

    {l s='Payment method'} {$order->payment|escape:'htmlall':'UTF-8'}

    + {if $carrier->id}

    {l s='Carrier'} {if $carrier->name == "0"}{$shop_name|escape:'html':'UTF-8'}{else}{$carrier->name|escape:'html':'UTF-8'}{/if}

    {/if} +

    {l s='Payment method'} {$order->payment|escape:'html':'UTF-8'}

    {if $invoice AND $invoiceAllowed}

    @@ -65,7 +65,7 @@ {foreach from=$order_history item=state name="orderStates"}

    {dateFormat date=$state.date_add full=0}{$state.ostate_name|escape:'htmlall':'UTF-8'}{$state.ostate_name|escape:'html':'UTF-8'}
    - + @@ -280,24 +280,24 @@ {if $product.product_quantity > $product.customizationQuantityTotal}
    {$discount.name|escape:'htmlall':'UTF-8'}{l s='Voucher'} {$discount.name|escape:'htmlall':'UTF-8'}{$discount.name|escape:'html':'UTF-8'}{l s='Voucher'} {$discount.name|escape:'html':'UTF-8'} 1   {if $discount.value != 0.00}-{/if}{convertPriceWithCurrency price=$discount.value currency=$currency} {if isset($message.elastname) && $message.elastname} - {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'} + {$message.efirstname|escape:'html':'UTF-8'} {$message.elastname|escape:'html':'UTF-8'} {elseif $message.clastname} - {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'} + {$message.cfirstname|escape:'html':'UTF-8'} {$message.clastname|escape:'html':'UTF-8'} {else} - {$shop_name|escape:'htmlall':'UTF-8'} + {$shop_name|escape:'html':'UTF-8'} {/if}
    {dateFormat date=$message.date_add full=1}
    {$message.message|escape:'htmlall':'UTF-8'|nl2br}{$message.message|escape:'html':'UTF-8'|nl2br}
    {l s='#'}{$return.id_order_return|string_format:"%06d"} {l s='#'}{$return.id_order|string_format:"%06d"}{$return.state_name|escape:'htmlall':'UTF-8'}{$return.state_name|escape:'html':'UTF-8'} {dateFormat date=$return.date_add full=0} {if $return.state == 2} diff --git a/themes/default-bootstrap/order-opc-new-account.tpl b/themes/default-bootstrap/order-opc-new-account.tpl index dceb6fa88..20be9587c 100644 --- a/themes/default-bootstrap/order-opc-new-account.tpl +++ b/themes/default-bootstrap/order-opc-new-account.tpl @@ -19,7 +19,7 @@

    {l s='Forgot your password?'}

    - {if isset($back)}{/if} + {if isset($back)}{/if}

    @@ -59,7 +59,7 @@ {if isset($country.states) && $country.contains_states} countries[{$country.id_country|intval}] = new Array(); {foreach from=$country.states item='state' name='states'} - countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'htmlall':'UTF-8'}'{rdelim}); + countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'html':'UTF-8'}'{rdelim}); {/foreach} {/if} {if $country.need_identification_number} @@ -140,7 +140,7 @@ {* @@ -162,7 +162,7 @@ @@ -170,7 +170,7 @@ @@ -233,7 +233,7 @@ @@ -355,7 +355,7 @@ diff --git a/themes/default-bootstrap/order-payment.tpl b/themes/default-bootstrap/order-payment.tpl index 328a254a5..75a8c1bd2 100644 --- a/themes/default-bootstrap/order-payment.tpl +++ b/themes/default-bootstrap/order-payment.tpl @@ -181,7 +181,7 @@ {if isset($errors_discount) && $errors_discount}
      {foreach from=$errors_discount key=k item=error} -
    • {$error|escape:'htmlall':'UTF-8'}
    • +
    • {$error|escape:'html':'UTF-8'}
    • {/foreach}
    {/if} diff --git a/themes/default-bootstrap/order-return.tpl b/themes/default-bootstrap/order-return.tpl index 6c883cac8..71172c8ac 100644 --- a/themes/default-bootstrap/order-return.tpl +++ b/themes/default-bootstrap/order-return.tpl @@ -28,7 +28,7 @@

    {l s='RE#'}{$orderRet->id|string_format:"%06d"} {l s='on'} {dateFormat date=$order->date_add full=0}

    {l s='We have logged your return request.'}

    {l s='Your package must be returned to us within'} {$nbdaysreturn} {l s='days of receiving your order.'}

    -

    {l s='The current status of your merchandise return is:'} {$state_name|escape:'htmlall':'UTF-8'}

    +

    {l s='The current status of your merchandise return is:'} {$state_name|escape:'html':'UTF-8'}

    {l s='List of items to be returned:'}

    @@ -47,8 +47,8 @@ {foreach from=$returnedCustomizations item='customization' name=products} {if $customization.product_id == $product.product_id}
    {if $customization.reference}{$customization.reference|escape:'htmlall':'UTF-8'}{else}--{/if}{$customization.name|escape:'htmlall':'UTF-8'}{if $customization.reference}{$customization.reference|escape:'html':'UTF-8'}{else}--{/if}{$customization.name|escape:'html':'UTF-8'} {$customization.product_quantity|intval}
    {if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}{$product.product_name|escape:'htmlall':'UTF-8'}{if $product.product_reference}{$product.product_reference|escape:'html':'UTF-8'}{else}--{/if}{$product.product_name|escape:'html':'UTF-8'} {$product.product_quantity|intval}
    {$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'}{$feature.name|escape:'html':'UTF-8'} {$feature.value|escape:'html':'UTF-8'}
    - {$feature.name|escape:'htmlall':'UTF-8'} + {$feature.name|escape:'html':'UTF-8'} {if (isset($tab[$feature_id]))}{$tab[$feature_id]|escape:'htmlall':'UTF-8'}{/if}{if (isset($tab[$feature_id]))}{$tab[$feature_id]|escape:'html':'UTF-8'}{/if}
    - {$product.name|escape:'htmlall':'UTF-8'} + {$product.name|escape:'html':'UTF-8'} -

    {$product.name|escape:'htmlall':'UTF-8'}

    - {l s='SKU'} : {if $product.reference}{$product.reference|escape:'htmlall':'UTF-8'}{else}--{/if} - {if isset($product.attributes) && $product.attributes}{$product.attributes|escape:'htmlall':'UTF-8'}{/if} +

    {$product.name|escape:'html':'UTF-8'}

    + {l s='SKU'} : {if $product.reference}{$product.reference|escape:'html':'UTF-8'}{else}--{/if} + {if isset($product.attributes) && $product.attributes}{$product.attributes|escape:'html':'UTF-8'}{/if}
    {if $product.quantity_available > 0}{l s='In Stock'}{else}{l s='Out of Stock'}{/if} diff --git a/themes/default-bootstrap/shopping-cart.tpl b/themes/default-bootstrap/shopping-cart.tpl index 9f0cf4e3c..99b5e5e37 100644 --- a/themes/default-bootstrap/shopping-cart.tpl +++ b/themes/default-bootstrap/shopping-cart.tpl @@ -60,10 +60,10 @@
    {l s='Last product added'}
    - {$lastProductAdded.name|escape:'htmlall':'UTF-8'} + {$lastProductAdded.name|escape:'html':'UTF-8'}
    -

    {$lastProductAdded.name|escape:'htmlall':'UTF-8'}

    - {if isset($lastProductAdded.attributes) && $lastProductAdded.attributes}{$lastProductAdded.attributes|escape:'htmlall':'UTF-8'}{/if} +

    {$lastProductAdded.name|escape:'html':'UTF-8'}

    + {if isset($lastProductAdded.attributes) && $lastProductAdded.attributes}{$lastProductAdded.attributes|escape:'html':'UTF-8'}{/if}
    {/if} @@ -92,7 +92,7 @@ {if isset($errors_discount) && $errors_discount}
      {foreach $errors_discount as $k=>$error} -
    • {$error|escape:'htmlall':'UTF-8'}
    • +
    • {$error|escape:'html':'UTF-8'}
    • {/foreach}
    {/if} @@ -124,7 +124,7 @@ {if isset($errors_discount) && $errors_discount}
      {foreach $errors_discount as $k=>$error} -
    • {$error|escape:'htmlall':'UTF-8'}
    • +
    • {$error|escape:'html':'UTF-8'}
    • {/foreach}
    {/if} @@ -157,7 +157,7 @@ {if isset($errors_discount) && $errors_discount}
      {foreach $errors_discount as $k=>$error} -
    • {$error|escape:'htmlall':'UTF-8'}
    • +
    • {$error|escape:'html':'UTF-8'}
    • {/foreach}
    {/if} @@ -422,12 +422,12 @@
    • {l s='Delivery address'} ({$delivery->alias})

    • - {if $delivery->company}
    • {$delivery->company|escape:'htmlall':'UTF-8'}
    • {/if} -
    • {$delivery->firstname|escape:'htmlall':'UTF-8'} {$delivery->lastname|escape:'htmlall':'UTF-8'}
    • -
    • {$delivery->address1|escape:'htmlall':'UTF-8'}
    • - {if $delivery->address2}
    • {$delivery->address2|escape:'htmlall':'UTF-8'}
    • {/if} -
    • {$delivery->postcode|escape:'htmlall':'UTF-8'} {$delivery->city|escape:'htmlall':'UTF-8'}
    • -
    • {$delivery->country|escape:'htmlall':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'htmlall':'UTF-8'}){/if}
    • + {if $delivery->company}
    • {$delivery->company|escape:'html':'UTF-8'}
    • {/if} +
    • {$delivery->firstname|escape:'html':'UTF-8'} {$delivery->lastname|escape:'html':'UTF-8'}
    • +
    • {$delivery->address1|escape:'html':'UTF-8'}
    • + {if $delivery->address2}
    • {$delivery->address2|escape:'html':'UTF-8'}
    • {/if} +
    • {$delivery->postcode|escape:'html':'UTF-8'} {$delivery->city|escape:'html':'UTF-8'}
    • +
    • {$delivery->country|escape:'html':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'html':'UTF-8'}){/if}
    {/if} @@ -435,12 +435,12 @@
    • {l s='Invoice address'} ({$invoice->alias})

    • - {if $invoice->company}
    • {$invoice->company|escape:'htmlall':'UTF-8'}
    • {/if} -
    • {$invoice->firstname|escape:'htmlall':'UTF-8'} {$invoice->lastname|escape:'htmlall':'UTF-8'}
    • -
    • {$invoice->address1|escape:'htmlall':'UTF-8'}
    • - {if $invoice->address2}
    • {$invoice->address2|escape:'htmlall':'UTF-8'}
    • {/if} -
    • {$invoice->postcode|escape:'htmlall':'UTF-8'} {$invoice->city|escape:'htmlall':'UTF-8'}
    • -
    • {$invoice->country|escape:'htmlall':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'htmlall':'UTF-8'}){/if}
    • + {if $invoice->company}
    • {$invoice->company|escape:'html':'UTF-8'}
    • {/if} +
    • {$invoice->firstname|escape:'html':'UTF-8'} {$invoice->lastname|escape:'html':'UTF-8'}
    • +
    • {$invoice->address1|escape:'html':'UTF-8'}
    • + {if $invoice->address2}
    • {$invoice->address2|escape:'html':'UTF-8'}
    • {/if} +
    • {$invoice->postcode|escape:'html':'UTF-8'} {$invoice->city|escape:'html':'UTF-8'}
    • +
    • {$invoice->country|escape:'html':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'html':'UTF-8'}){/if}
    {/if} @@ -455,7 +455,7 @@ {foreach $addressKey as $key} {if isset($address.formated[$key])} - {$address.formated[$key]|escape:'htmlall':'UTF-8'} + {$address.formated[$key]|escape:'html':'UTF-8'} {/if} {/foreach} @@ -475,7 +475,7 @@ {l s='Proceed to checkout'} {/if} {/if} - {l s='Continue shopping'} + {l s='Continue shopping'}

    {if !empty($HOOK_SHOPPING_CART_EXTRA)}
    diff --git a/themes/default-bootstrap/sitemap.tpl b/themes/default-bootstrap/sitemap.tpl index 34ba30ea4..eed753a60 100644 --- a/themes/default-bootstrap/sitemap.tpl +++ b/themes/default-bootstrap/sitemap.tpl @@ -66,7 +66,7 @@

    {l s='Categories'}

    -
    +
    {$store.name|escape:'htmlall':'UTF-8'}{$store.name|escape:'html':'UTF-8'} - {$store.address1|escape:'htmlall':'UTF-8'} - {if $store.address2}{$store.address2|escape:'htmlall':'UTF-8'}{/if} - {$store.postcode} {$store.city|escape:'htmlall':'UTF-8'}{if $store.state}, {$store.state}{/if} - {$store.country|escape:'htmlall':'UTF-8'} + {$store.address1|escape:'html':'UTF-8'} + {if $store.address2}{$store.address2|escape:'html':'UTF-8'}{/if} + {$store.postcode} {$store.city|escape:'html':'UTF-8'}{if $store.state}, {$store.state}{/if} + {$store.country|escape:'html':'UTF-8'} {if $store.phone}{l s='Phone:' js=0} {$store.phone}{/if} diff --git a/themes/default-bootstrap/supplier-list.tpl b/themes/default-bootstrap/supplier-list.tpl index fe0796a73..2b384c397 100644 --- a/themes/default-bootstrap/supplier-list.tpl +++ b/themes/default-bootstrap/supplier-list.tpl @@ -73,9 +73,9 @@ diff --git a/themes/default-bootstrap/supplier.tpl b/themes/default-bootstrap/supplier.tpl index d00554826..b8e97353e 100644 --- a/themes/default-bootstrap/supplier.tpl +++ b/themes/default-bootstrap/supplier.tpl @@ -26,7 +26,7 @@ {include file="$tpl_dir./errors.tpl"} {if !isset($errors) OR !sizeof($errors)} -

    {l s='List of products by supplier:'} {$supplier->name|escape:'htmlall':'UTF-8'}

    +

    {l s='List of products by supplier:'} {$supplier->name|escape:'html':'UTF-8'}

    {if !empty($supplier->description)}

    {$supplier->description}

    diff --git a/themes/default/authentication.tpl b/themes/default/authentication.tpl index 545000879..27d2d40a5 100644 --- a/themes/default/authentication.tpl +++ b/themes/default/authentication.tpl @@ -223,7 +223,7 @@ $(document).ready(function() {

    {l s='Forgot your password?'}

    - {if isset($back)}{/if} + {if isset($back)}{/if}

    @@ -450,7 +450,7 @@ $(document).ready(function() {

    @@ -733,7 +733,7 @@ $(document).ready(function() {

    - {if isset($back)}{/if} + {if isset($back)}{/if} *{l s='Required field'}

    diff --git a/themes/default/category.tpl b/themes/default/category.tpl index 415e79f64..a08e78b6a 100644 --- a/themes/default/category.tpl +++ b/themes/default/category.tpl @@ -30,9 +30,9 @@ {if $category->id AND $category->active}

    {strip} - {$category->name|escape:'htmlall':'UTF-8'} + {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} - {$categoryNameComplement|escape:'htmlall':'UTF-8'} + {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip}

    @@ -50,7 +50,7 @@ {if $category->id_image}
    - {$category->name|escape:'htmlall':'UTF-8'} + {$category->name|escape:'html':'UTF-8'}
    {/if} {/if} @@ -75,14 +75,14 @@
      {foreach from=$subcategories item=subcategory}
    • - + {if $subcategory.id_image} {else} {/if} - {$subcategory.name|escape:'htmlall':'UTF-8'} + {$subcategory.name|escape:'html':'UTF-8'} {if $subcategory.description}

      {$subcategory.description}

      {/if} diff --git a/themes/default/contact-form.tpl b/themes/default/contact-form.tpl index 6fb91cf25..3173269c3 100644 --- a/themes/default/contact-form.tpl +++ b/themes/default/contact-form.tpl @@ -41,7 +41,7 @@ {else}

      {l s='For questions about an order or for more information about our products'}.

      {include file="$tpl_dir./errors.tpl"} - +

      {l s='send a message'}

      @@ -49,7 +49,7 @@ {if isset($customerThread.id_contact)} {foreach from=$contacts item=contact} {if $contact.id_contact == $customerThread.id_contact} - + {/if} {/foreach} @@ -58,23 +58,23 @@

       

      {foreach from=$contacts item=contact} {/foreach} {/if}

      {if isset($customerThread.email)} - + {else} - + {/if}

      {if !$PS_CATALOG_MODE} @@ -85,7 +85,7 @@ {elseif !isset($customerThread.id_order) && empty($isLogged)} @@ -103,7 +103,7 @@ {/foreach} @@ -122,7 +122,7 @@ {/if}

      - +

      diff --git a/themes/default/header.tpl b/themes/default/header.tpl index 19c6a248c..db8b2c8eb 100644 --- a/themes/default/header.tpl +++ b/themes/default/header.tpl @@ -29,7 +29,7 @@ - {$meta_title|escape:'htmlall':'UTF-8'} + {$meta_title|escape:'html':'UTF-8'} {if isset($meta_description) AND $meta_description} {/if} @@ -64,7 +64,7 @@ {$HOOK_HEADER} - + {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode}

      @@ -75,8 +75,8 @@
    {if isset($message.ename) && $message.ename} - {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'} + {$message.efirstname|escape:'html':'UTF-8'} {$message.elastname|escape:'html':'UTF-8'} {elseif $message.clastname} - {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'} + {$message.cfirstname|escape:'html':'UTF-8'} {$message.clastname|escape:'html':'UTF-8'} {else} - {$shop_name|escape:'htmlall':'UTF-8'} + {$shop_name|escape:'html':'UTF-8'} {/if}
    {dateFormat date=$message.date_add full=1} diff --git a/themes/default/modules/blocksearch/blocksearch.tpl b/themes/default/modules/blocksearch/blocksearch.tpl index e4d2cc745..32f9fd2aa 100644 --- a/themes/default/modules/blocksearch/blocksearch.tpl +++ b/themes/default/modules/blocksearch/blocksearch.tpl @@ -32,7 +32,7 @@ - +

    diff --git a/themes/default/order-carrier.tpl b/themes/default/order-carrier.tpl index af59cfe69..7a69ff825 100644 --- a/themes/default/order-carrier.tpl +++ b/themes/default/order-carrier.tpl @@ -212,7 +212,7 @@ {/if} {* This foreach is on one line, to avoid tabulation in the title attribute of the acronym *} {foreach $carrier.product_list as $product} - {if $product@index == 4}...){/if}{else}{$product.name}{if isset($product.attributes) && $product.attributes} {$product.attributes|escape:'htmlall':'UTF-8'}{/if}{if !$product@last}, {else}){/if}{/if}{/foreach} + {if $product@index == 4}...){/if}{else}{$product.name}{if isset($product.attributes) && $product.attributes} {$product.attributes|escape:'html':'UTF-8'}{/if}{if !$product@last}, {else}){/if}{/if}{/foreach} {/if}
    {dateFormat date=$state.date_add full=1}{$state.ostate_name|escape:'htmlall':'UTF-8'}{$state.ostate_name|escape:'html':'UTF-8'}
    - +
    {$discount.name|escape:'htmlall':'UTF-8'}{l s='Voucher'} {$discount.name|escape:'htmlall':'UTF-8'}{$discount.name|escape:'html':'UTF-8'}{l s='Voucher'} {$discount.name|escape:'html':'UTF-8'} 1   {if $discount.value != 0.00}-{/if}{convertPriceWithCurrency price=$discount.value currency=$currency}
    {if isset($message.elastname) && $message.elastname} - {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'} + {$message.efirstname|escape:'html':'UTF-8'} {$message.elastname|escape:'html':'UTF-8'} {elseif $message.clastname} - {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'} + {$message.cfirstname|escape:'html':'UTF-8'} {$message.clastname|escape:'html':'UTF-8'} {else} - {$shop_name|escape:'htmlall':'UTF-8'} + {$shop_name|escape:'html':'UTF-8'} {/if}
    {dateFormat date=$message.date_add full=1}
    {$message.message|escape:'htmlall':'UTF-8'|nl2br}{$message.message|escape:'html':'UTF-8'|nl2br}