diff --git a/modules/blocklayered/blocklayered.php b/modules/blocklayered/blocklayered.php
index 3ad83464f..7346ca95c 100644
--- a/modules/blocklayered/blocklayered.php
+++ b/modules/blocklayered/blocklayered.php
@@ -1458,7 +1458,10 @@ class BlockLayered extends Module
Configuration::updateValue('PS_LAYERED_FILTER_INDEX_MNF', (int)Tools::getValue('ps_layered_filter_index_manufacturer'));
Configuration::updateValue('PS_LAYERED_FILTER_INDEX_CAT', (int)Tools::getValue('ps_layered_filter_index_category'));
- $message = '
'.$this->l('Settings saved successfully').'
';
+ if (version_compare(_PS_VERSION_, '1.6.0', '>=') === TRUE)
+ $message = ''.$this->l('Settings saved successfully').'
';
+ else
+ $message = ''.$this->l('Settings saved successfully').'
';
}
else if (Tools::getValue('deleteFilterTemplate'))
{
diff --git a/themes/default-bootstrap/modules/blocklayered/blocklayered.tpl b/themes/default-bootstrap/modules/blocklayered/blocklayered.tpl
index 484b3b1ea..493e3000f 100644
--- a/themes/default-bootstrap/modules/blocklayered/blocklayered.tpl
+++ b/themes/default-bootstrap/modules/blocklayered/blocklayered.tpl
@@ -51,9 +51,9 @@ param_product_url = '';
{if $filter.format == 1}
- {l s='%1$s: %2$s - %3$s'|sprintf:$filter.name:{displayPrice price=$filter.values[0]}:{displayPrice price=$filter.values[1]}|escape:html:'UTF-8' mod='blocklayered'}
+ {l s='%1$s: %2$s - %3$s'|sprintf:$filter.name:{displayPrice price=$filter.values[0]}:{displayPrice price=$filter.values[1]}|escape:'html':'UTF-8' mod='blocklayered'}
{else}
- {l s='%1$s: %2$s %4$s - %3$s %4$s'|sprintf:$filter.name:$filter.values[0]:$filter.values[1]:$filter.unit|escape:html:'UTF-8' mod='blocklayered'}
+ {l s='%1$s: %2$s %4$s - %3$s %4$s'|sprintf:$filter.name:$filter.values[0]:$filter.values[1]:$filter.unit|escape:'html':'UTF-8' mod='blocklayered'}
{/if}
{/if}
@@ -62,7 +62,7 @@ param_product_url = '';
{if $id_value == $filter_key && !is_numeric($filter_value) && ($filter.type eq 'id_attribute_group' || $filter.type eq 'id_feature') || $id_value == $filter_value && $filter.type neq 'id_attribute_group' && $filter.type neq 'id_feature'}
- {$filter.name|escape:html:'UTF-8'}{l s=':' mod='blocklayered'} {$value.name|escape:html:'UTF-8'}
+ {$filter.name|escape:'html':'UTF-8'}{l s=':' mod='blocklayered'} {$value.name|escape:'html':'UTF-8'}
{/if}
{/foreach}
@@ -82,7 +82,7 @@ param_product_url = '';
{/if}
-
{$filter.name|escape:html:'UTF-8'}
+
{$filter.name|escape:'html':'UTF-8'}