[-] Core : fixed smarty escape htmlall > html
This commit is contained in:
@@ -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},
|
||||
|
||||
@@ -133,7 +133,7 @@ var generated_date = {$smarty.now|intval};
|
||||
{if $discount.value_real > 0}
|
||||
<tr class="bloc_cart_voucher" id="bloc_cart_voucher_{$discount.id_discount}">
|
||||
<td class="quantity">1x</td>
|
||||
<td class="name" title="{$discount.description}">{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'}</td>
|
||||
<td class="name" title="{$discount.description}">{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'html':'UTF-8'}</td>
|
||||
<td class="price">-{if $priceDisplay == 1}{convertPrice price=$discount.value_tax_exc}{else}{convertPrice price=$discount.value_real}{/if}</td>
|
||||
<td class="delete">
|
||||
{if strlen($discount.code)}
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<img class="img-responsive" src="{$orderProduct.image}" alt="{$orderProduct.name|htmlspecialchars}" />
|
||||
</a>
|
||||
</div>
|
||||
<p class="product-name"><a href="{$orderProduct.link}" title="{$orderProduct.name|htmlspecialchars}">{$orderProduct.name|truncate:15:'...'|escape:'htmlall':'UTF-8'}</a></p>
|
||||
<p class="product-name"><a href="{$orderProduct.link}" title="{$orderProduct.name|htmlspecialchars}">{$orderProduct.name|truncate:15:'...'|escape:'html':'UTF-8'}</a></p>
|
||||
{if $orderProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}
|
||||
<span class="price_display">
|
||||
<span class="price">{convertPrice price=$orderProduct.displayed_price}</span>
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
*}
|
||||
|
||||
<li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}">
|
||||
<h4><a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if}
|
||||
title="{$node.desc|strip_tags|trim|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a></h4>
|
||||
<h4><a href="{$node.link|escape:'html':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if}
|
||||
title="{$node.desc|strip_tags|trim|escape:'html':'UTF-8'}">{$node.name|escape:'html':'UTF-8'}</a></h4>
|
||||
|
||||
{if $node.children|@count > 0}
|
||||
<ul class="main-level-submenus">
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
*}
|
||||
|
||||
<li {if isset($last) && $last == 'true'}class="last"{/if}>
|
||||
<a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if}
|
||||
title="{$node.desc|strip_tags|trim|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$node.link|escape:'html':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if}
|
||||
title="{$node.desc|strip_tags|trim|escape:'html':'UTF-8'}">{$node.name|escape:'html':'UTF-8'}</a>
|
||||
{if $node.children|@count > 0}
|
||||
<ul>
|
||||
{foreach from=$node.children item=child name=categoryTreeBranch}
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<li class="item"><a href="{$link->getPageLink($contact_url, true)|escape:'html'}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}</a></li>
|
||||
{foreach from=$cmslinks item=cmslink}
|
||||
{if $cmslink.meta_title != ''}
|
||||
<li class="item"><a href="{$cmslink.link|addslashes|escape:'html'}" title="{$cmslink.meta_title|escape:'htmlall':'UTF-8'}">{$cmslink.meta_title|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<li class="item"><a href="{$cmslink.link|addslashes|escape:'html'}" title="{$cmslink.meta_title|escape:'html':'UTF-8'}">{$cmslink.meta_title|escape:'html':'UTF-8'}</a></li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<li><a href="{$link->getPageLink('sitemap')|escape:'html'}" title="{l s='sitemap' mod='blockcms'}">{l s='Sitemap' mod='blockcms'}</a></li>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<p class="title_block">{l s='Contact us' mod='blockcontact'}</p>
|
||||
<div class="block_content clearfix">
|
||||
<p><strong>{l s='Our support hotline is available 24/7' mod='blockcontact'}</strong></p>
|
||||
{if $telnumber != ''}<p class="tel"><span class="label">{l s='Phone:' mod='blockcontact'}</span><i class="icon-phone"></i>{$telnumber|escape:'htmlall':'UTF-8'}</p>{/if}
|
||||
{if $email != ''}<a class="btn btn-default button button-small" href="mailto:{$email|escape:'htmlall':'UTF-8'}"><span>{l s='Contact our expert support team!' mod='blockcontact'}</span></a>{/if}
|
||||
{if $telnumber != ''}<p class="tel"><span class="label">{l s='Phone:' mod='blockcontact'}</span><i class="icon-phone"></i>{$telnumber|escape:'html':'UTF-8'}</p>{/if}
|
||||
{if $email != ''}<a class="btn btn-default button button-small" href="mailto:{$email|escape:'html':'UTF-8'}"><span>{l s='Contact our expert support team!' mod='blockcontact'}</span></a>{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -29,9 +29,9 @@
|
||||
<div>
|
||||
<h4>{l s='Store Information' mod='blockcontactinfos'}</h4>
|
||||
<ul class="toggle-footer">
|
||||
{if $blockcontactinfos_company != ''}<li><i class="icon-map-marker"></i>{$blockcontactinfos_company|escape:'htmlall':'UTF-8'}{if $blockcontactinfos_address != ''}, {$blockcontactinfos_address|escape:'htmlall':'UTF-8'}{/if}</li>{/if}
|
||||
{if $blockcontactinfos_phone != ''}<li><i class="icon-phone"></i>{l s='Call us now toll free:' mod='blockcontactinfos'} <span>{$blockcontactinfos_phone|escape:'htmlall':'UTF-8'}</span></li>{/if}
|
||||
{if $blockcontactinfos_email != ''}<li><i class="icon-envelope-alt"></i>{l s='Email:' mod='blockcontactinfos'} <span>{mailto address=$blockcontactinfos_email|escape:'htmlall':'UTF-8' encode="hex"}</span></li>{/if}
|
||||
{if $blockcontactinfos_company != ''}<li><i class="icon-map-marker"></i>{$blockcontactinfos_company|escape:'html':'UTF-8'}{if $blockcontactinfos_address != ''}, {$blockcontactinfos_address|escape:'html':'UTF-8'}{/if}</li>{/if}
|
||||
{if $blockcontactinfos_phone != ''}<li><i class="icon-phone"></i>{l s='Call us now toll free:' mod='blockcontactinfos'} <span>{$blockcontactinfos_phone|escape:'html':'UTF-8'}</span></li>{/if}
|
||||
{if $blockcontactinfos_email != ''}<li><i class="icon-envelope-alt"></i>{l s='Email:' mod='blockcontactinfos'} <span>{mailto address=$blockcontactinfos_email|escape:'html':'UTF-8' encode="hex"}</span></li>{/if}
|
||||
<!--li><i class="icon-skype"></i>{l s='Skype:' mod='blockcontactinfos'} <span></span></li-->
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -32,18 +32,18 @@
|
||||
<ul>
|
||||
{foreach from=$manufacturers item=manufacturer name=manufacturer_list}
|
||||
{if $smarty.foreach.manufacturer_list.iteration <= $text_list_nb}
|
||||
<li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html'}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html'}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name|escape:'html':'UTF-8'}</a></li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{if $form_list}
|
||||
<form action="{$smarty.server.SCRIPT_NAME|escape:'htmlall':'UTF-8'}" method="get">
|
||||
<form action="{$smarty.server.SCRIPT_NAME|escape:'html':'UTF-8'}" method="get">
|
||||
<div class="form-group selector1">
|
||||
<select id="manufacturer_list" class="form-control" onchange="autoUrl('manufacturer_list', '');">
|
||||
<option value="0">{l s='All manufacturers' mod='blockmanufacturer'}</option>
|
||||
{foreach from=$manufacturers item=manufacturer}
|
||||
<option value="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html'}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html'}">{$manufacturer.name|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -33,19 +33,19 @@
|
||||
{foreach from=$suppliers item=supplier name=supplier_list}
|
||||
{if $smarty.foreach.supplier_list.iteration <= $text_list_nb}
|
||||
<li class="{if $smarty.foreach.supplier_list.last}last_item{elseif $smarty.foreach.supplier_list.first}first_item{else}item{/if}">
|
||||
<a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'html'}" title="{l s='More about' mod='blocksupplier'} {$supplier.name}">{$supplier.name|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'html'}" title="{l s='More about' mod='blocksupplier'} {$supplier.name}">{$supplier.name|escape:'html':'UTF-8'}</a>
|
||||
</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{if $form_list}
|
||||
<form action="{$smarty.server.SCRIPT_NAME|escape:'htmlall':'UTF-8'}" method="get">
|
||||
<form action="{$smarty.server.SCRIPT_NAME|escape:'html':'UTF-8'}" method="get">
|
||||
<div class="form-group selector1">
|
||||
<select id="supplier_list" class="form-control" onchange="autoUrl('supplier_list', '');">
|
||||
<option value="0">{l s='All suppliers' mod='blocksupplier'}</option>
|
||||
{foreach from=$suppliers item=supplier}
|
||||
<option value="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'html'}">{$supplier.name|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'html'}">{$supplier.name|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<input type="hidden" name="controller" value="search" />
|
||||
<input type="hidden" value="position" name="orderby"/>
|
||||
<input type="hidden" value="desc" name="orderway"/>
|
||||
<input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'htmlall':'UTF-8'}{/if}" />
|
||||
<input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'html':'UTF-8'}{/if}" />
|
||||
</p>
|
||||
</form>
|
||||
</li>
|
||||
|
||||
@@ -27,12 +27,12 @@
|
||||
{foreach from=$products item=product name=i}
|
||||
<dt class="{if $smarty.foreach.i.first}first_item{elseif $smarty.foreach.i.last}last_item{else}item{/if}">
|
||||
<span class="quantity-formated"><span class="quantity">{$product.quantity|intval}</span>x</span>
|
||||
<a class="cart_block_product_name" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{$product.name|escape:'htmlall':'UTF-8'}" >{$product.name|truncate:13:'...'|escape:'htmlall':'UTF-8'}</a>
|
||||
<a class="cart_block_product_name" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{$product.name|escape:'html':'UTF-8'}" >{$product.name|truncate:13:'...'|escape:'html':'UTF-8'}</a>
|
||||
<a class="ajax_cart_block_remove_link" href="javascript:;" onclick="javascript:WishlistCart('wishlist_block_list', 'delete', '{$product.id_product}', {$product.id_product_attribute}, '0');" title="{l s='remove this product from my wishlist' mod='blockwishlist'}" rel="nofollow"><i class="icon-remove-sign"></i></a>
|
||||
</dt>
|
||||
{if isset($product.attributes_small)}
|
||||
<dd class="{if $smarty.foreach.i.first}first_item{elseif $smarty.foreach.i.last}last_item{else}item{/if}">
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite)|escape:'html'}" title="{l s='Product detail'}">{$product.attributes_small|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite)|escape:'html'}" title="{l s='Product detail'}">{$product.attributes_small|escape:'html':'UTF-8'}</a>
|
||||
</dd>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
@@ -34,12 +34,12 @@
|
||||
<dt class="{if $smarty.foreach.i.first}first_item{elseif $smarty.foreach.i.last}last_item{else}item{/if}">
|
||||
<span class="quantity-formated"><span class="quantity">{$product.quantity|intval}</span>x</span>
|
||||
<a class="cart_block_product_name"
|
||||
href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|truncate:30:'...'|escape:'htmlall':'UTF-8'}</a>
|
||||
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'}</a>
|
||||
<a class="ajax_cart_block_remove_link" href="javascript:;" onclick="javascript:WishlistCart('wishlist_block_list', 'delete', '{$product.id_product}', {$product.id_product_attribute}, '0', '{if isset($token)}{$token}{/if}');" title="{l s='remove this product from my wishlist' mod='blockwishlist'}" rel="nofollow"><i class="icon-remove-sign "></i></a>
|
||||
</dt>
|
||||
{if isset($product.attributes_small)}
|
||||
<dd class="{if $smarty.foreach.i.first}first_item{elseif $smarty.foreach.i.last}last_item{else}item{/if}">
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{l s='Product detail'}">{$product.attributes_small|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{l s='Product detail'}">{$product.attributes_small|escape:'html':'UTF-8'}</a>
|
||||
</dd>
|
||||
{/if}
|
||||
{/foreach}
|
||||
@@ -55,7 +55,7 @@
|
||||
<div class="form-group selector1">
|
||||
<select name="wishlists" id="wishlists" class="form-control" onchange="WishlistChangeDefault('wishlist_block_list', $('#wishlists').val());">
|
||||
{foreach from=$wishlists item=wishlist name=i}
|
||||
<option value="{$wishlist.id_wishlist}"{if $id_wishlist eq $wishlist.id_wishlist or ($id_wishlist == false and $smarty.foreach.i.first)} selected="selected"{/if}>{$wishlist.name|truncate:22:'...'|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$wishlist.id_wishlist}"{if $id_wishlist eq $wishlist.id_wishlist or ($id_wishlist == false and $smarty.foreach.i.first)} selected="selected"{/if}>{$wishlist.name|truncate:22:'...'|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
</ul>
|
||||
<p class="wishlisturl form-group">
|
||||
<label>{l s='Permalink' mod='blockwishlist'}:</label>
|
||||
<input type="text" class="form-control" value="{$base_dir_ssl}modules/blockwishlist/view.php?token={$token_wish|escape:'htmlall':'UTF-8'}" readonly="readonly" /></p>
|
||||
<input type="text" class="form-control" value="{$base_dir_ssl}modules/blockwishlist/view.php?token={$token_wish|escape:'html':'UTF-8'}" readonly="readonly" /></p>
|
||||
<p class="submit">
|
||||
<a href="#" id="showSendWishlist" class="btn btn-default button button-small" onclick="WishlistVisibility('wl_send', 'SendWishlist'); return false;" title="{l s='Send this wishlist' mod='blockwishlist'}"><span>{l s='Send this wishlist' mod='blockwishlist'}</span></a>
|
||||
</p>
|
||||
@@ -63,7 +63,7 @@
|
||||
<div class="col-xs-6 col-sm-12">
|
||||
<div class="product_image">
|
||||
<a href="{$link->getProductlink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{l s='Product detail' mod='blockwishlist'}">
|
||||
<img class="replace-2x img-responsive" src="{$link->getImageLink($product.link_rewrite, $product.cover, 'home_default')|escape:'html'}" alt="{$product.name|escape:'htmlall':'UTF-8'}" />
|
||||
<img class="replace-2x img-responsive" src="{$link->getImageLink($product.link_rewrite, $product.cover, 'home_default')|escape:'html'}" alt="{$product.name|escape:'html':'UTF-8'}" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -71,9 +71,9 @@
|
||||
<div class="product_infos">
|
||||
<a href="javascript:;" class="lnkdel" onclick="WishlistProductManage('wlp_bought', 'delete', '{$id_wishlist}', '{$product.id_product}', '{$product.id_product_attribute}', $('#quantity_{$product.id_product}_{$product.id_product_attribute}').val(), $('#priority_{$product.id_product}_{$product.id_product_attribute}').val());" title="{l s='Delete' mod='blockwishlist'}"><i class="icon-remove-sign"></i></a>
|
||||
<p id="s_title" class="product-name">
|
||||
{$product.name|truncate:30:'...'|escape:'htmlall':'UTF-8'}
|
||||
{$product.name|truncate:30:'...'|escape:'html':'UTF-8'}
|
||||
{if isset($product.attributes_small)}
|
||||
<small><a href="{$link->getProductlink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{l s='Product detail' mod='blockwishlist'}">{$product.attributes_small|escape:'htmlall':'UTF-8'}</a></small>
|
||||
<small><a href="{$link->getProductlink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{l s='Product detail' mod='blockwishlist'}">{$product.attributes_small|escape:'html':'UTF-8'}</a></small>
|
||||
{/if}
|
||||
</p>
|
||||
<div class="wishlist_product_detail">
|
||||
@@ -137,11 +137,11 @@
|
||||
{if $bought.quantity > 0}
|
||||
<tr>
|
||||
<td class="first_item">
|
||||
<span style="float:left;"><img src="{$link->getImageLink($product.link_rewrite, $product.cover, 'small')|escape:'html'}" alt="{$product.name|escape:'htmlall':'UTF-8'}" /></span>
|
||||
<span style="float:left;"><img src="{$link->getImageLink($product.link_rewrite, $product.cover, 'small')|escape:'html'}" alt="{$product.name|escape:'html':'UTF-8'}" /></span>
|
||||
<span style="float:left;">
|
||||
{$product.name|truncate:40:'...'|escape:'htmlall':'UTF-8'}
|
||||
{$product.name|truncate:40:'...'|escape:'html':'UTF-8'}
|
||||
{if isset($product.attributes_small)}
|
||||
<br /><i>{$product.attributes_small|escape:'htmlall':'UTF-8'}</i>
|
||||
<br /><i>{$product.attributes_small|escape:'html':'UTF-8'}</i>
|
||||
{/if}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
@@ -55,16 +55,16 @@
|
||||
<div class="col-xs-6 col-sm-12">
|
||||
<div class="product_image">
|
||||
<a href="{$link->getProductlink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{l s='Product detail' mod='blockwishlist'}">
|
||||
<img class="replace-2x img-responsive" src="{$link->getImageLink($product.link_rewrite, $product.cover, 'home_default')|escape:'html'}" alt="{$product.name|escape:'htmlall':'UTF-8'}" />
|
||||
<img class="replace-2x img-responsive" src="{$link->getImageLink($product.link_rewrite, $product.cover, 'home_default')|escape:'html'}" alt="{$product.name|escape:'html':'UTF-8'}" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-12">
|
||||
<div class="product_infos">
|
||||
<p id="s_title" class="product-name">
|
||||
{$product.name|truncate:30:'...'|escape:'htmlall':'UTF-8'}
|
||||
{$product.name|truncate:30:'...'|escape:'html':'UTF-8'}
|
||||
{if isset($product.attributes_small)}
|
||||
<a href="{$link->getProductlink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{l s='Product detail' mod='blockwishlist'}"><small>{$product.attributes_small|escape:'htmlall':'UTF-8'}</small></a>
|
||||
<a href="{$link->getProductlink($product.id_product, $product.link_rewrite, $product.category_rewrite)|escape:'html'}" title="{l s='Product detail' mod='blockwishlist'}"><small>{$product.attributes_small|escape:'html':'UTF-8'}</small></a>
|
||||
{/if}
|
||||
</p>
|
||||
<div class="wishlist_product_detail">
|
||||
@@ -92,7 +92,7 @@
|
||||
</p>
|
||||
</form>
|
||||
{/if}
|
||||
<a href="javascript:;" class="button ajax_add_to_cart_button btn btn-default" onclick="WishlistBuyProduct('{$token|escape:'htmlall':'UTF-8'}', '{$product.id_product}', '{$product.id_product_attribute}', '{$product.id_product}_{$product.id_product_attribute}', this, {$ajax});" title="{l s='Add to cart' mod='homefeatured'}" rel="nofollow"><span>{l s='Add to cart' mod='blockwishlist'}</span></a>
|
||||
<a href="javascript:;" class="button ajax_add_to_cart_button btn btn-default" onclick="WishlistBuyProduct('{$token|escape:'html':'UTF-8'}', '{$product.id_product}', '{$product.id_product_attribute}', '{$product.id_product}_{$product.id_product_attribute}', this, {$ajax});" title="{l s='Add to cart' mod='homefeatured'}" rel="nofollow"><span>{l s='Add to cart' mod='blockwishlist'}</span></a>
|
||||
{else}
|
||||
<span class="button ajax_add_to_cart_button btn btn-default disabled"><span>{l s='Add to cart' mod='blockwishlist'}</span></span>
|
||||
{/if}
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
<fieldset>
|
||||
<h3 class="page-subheading">{l s='New wishlist' mod='blockwishlist'}</h3>
|
||||
<div class="form-group">
|
||||
<input type="hidden" name="token" value="{$token|escape:'htmlall':'UTF-8'}" />
|
||||
<input type="hidden" name="token" value="{$token|escape:'html':'UTF-8'}" />
|
||||
<label class="align_right" for="name">{l s='Name' mod='blockwishlist'}</label>
|
||||
<input type="text" id="name" name="name" class="inputTxt form-control" value="{if isset($smarty.post.name) and $errors|@count > 0}{$smarty.post.name|escape:'htmlall':'UTF-8'}{/if}" />
|
||||
<input type="text" id="name" name="name" class="inputTxt form-control" value="{if isset($smarty.post.name) and $errors|@count > 0}{$smarty.post.name|escape:'html':'UTF-8'}{/if}" />
|
||||
</div>
|
||||
<p class="submit">
|
||||
<button type="submit" name="submitWishlist" id="submitWishlist" class="btn btn-default button button-medium"><span>{l s='Save' mod='blockwishlist'}<i class="icon-chevron-right right"></i></span></button>
|
||||
@@ -61,7 +61,7 @@
|
||||
{section name=i loop=$wishlists}
|
||||
<tr id="wishlist_{$wishlists[i].id_wishlist|intval}">
|
||||
<td style="width:200px;">
|
||||
<a href="javascript:;" onclick="javascript:WishlistManage('block-order-detail', '{$wishlists[i].id_wishlist|intval}');">{$wishlists[i].name|truncate:30:'...'|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="javascript:;" onclick="javascript:WishlistManage('block-order-detail', '{$wishlists[i].id_wishlist|intval}');">{$wishlists[i].name|truncate:30:'...'|escape:'html':'UTF-8'}</a>
|
||||
</td>
|
||||
<td class="bold align_center">
|
||||
{assign var=n value=0}
|
||||
|
||||
@@ -49,7 +49,7 @@ PS_SE_HandleEvent();
|
||||
<label for="id_country">{l s='Country' mod='carriercompare'}</label>
|
||||
<select name="id_country" id="id_country" class="form-control">
|
||||
{foreach from=$countries item=country}
|
||||
<option value="{$country.id_country}" {if $id_country == $country.id_country}selected="selected"{/if}>{$country.name|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$country.id_country}" {if $id_country == $country.id_country}selected="selected"{/if}>{$country.name|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
@@ -61,7 +61,7 @@ PS_SE_HandleEvent();
|
||||
</div>
|
||||
<div class="form-group last">
|
||||
<label for="zipcode">{l s='Zip Code' mod='carriercompare'}</label>
|
||||
<input class="form-control" type="text" name="zipcode" id="zipcode" value="{$zipcode|escape:'htmlall':'UTF-8'}"/> ({l s='Needed for certain carriers.' mod='carriercompare'})
|
||||
<input class="form-control" type="text" name="zipcode" id="zipcode" value="{$zipcode|escape:'html':'UTF-8'}"/> ({l s='Needed for certain carriers.' mod='carriercompare'})
|
||||
</div>
|
||||
<div id="carriercompare_errors" style="display: none;">
|
||||
<ul id="carriercompare_errors_list"></ul><br />
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<form method="post" action="{$smarty.server.REQUEST_URI|escape:'htmlall':'UTF-8'}">
|
||||
<form method="post" action="{$smarty.server.REQUEST_URI|escape:'html':'UTF-8'}">
|
||||
<fieldset>
|
||||
<div class="warn">{l s='This module is only available during the standard five-step checkout process. The carrier list has already been defined for one-page checkout. ' mod='carriercompare'}.</div>
|
||||
<legend>{l s='Global Configuration' mod='carriercompare'}</legend>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
{foreach from=$orderProducts item='orderProduct' name=orderProduct}
|
||||
<li class="product-box item">
|
||||
<a href="{$orderProduct.link}" title="{$orderProduct.name|htmlspecialchars}" class="lnk_img product-image"><img src="{$orderProduct.image}" alt="{$orderProduct.name|htmlspecialchars}" /></a>
|
||||
<p class="product_name"><a href="{$orderProduct.link}" title="{$orderProduct.name|htmlspecialchars}">{$orderProduct.name|truncate:15:'...'|escape:'htmlall':'UTF-8'}</a></p>
|
||||
<p class="product_name"><a href="{$orderProduct.link}" title="{$orderProduct.name|htmlspecialchars}">{$orderProduct.name|truncate:15:'...'|escape:'html':'UTF-8'}</a></p>
|
||||
{if $crossDisplayPrice AND $orderProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}
|
||||
<p class="price_display">
|
||||
<span class="price">{convertPrice price=$orderProduct.displayed_price}</span>
|
||||
|
||||
+6
-6
@@ -54,7 +54,7 @@ $('document').ready(function()
|
||||
</script>
|
||||
|
||||
{capture name=path}
|
||||
<a href="{$link->getPageLink('my-account', true)|escape:'htmlall':'UTF-8'}">
|
||||
<a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}">
|
||||
{l s='My account' mod='favoriteproducts'}</a>
|
||||
<span class="navigation-pipe">{$navigationPipe}</span><span class="navigation_page">{l s='My favorite products' mod='favoriteproducts'}</span>
|
||||
{/capture}
|
||||
@@ -66,10 +66,10 @@ $('document').ready(function()
|
||||
{foreach from=$favoriteProducts item=favoriteProduct}
|
||||
<li class="col-xs-12">
|
||||
<div class="favoriteproduct clearfix inner-content">
|
||||
<a href="{$link->getProductLink($favoriteProduct.id_product, null, null, null, null, $favoriteProduct.id_shop)|escape:'htmlall':'UTF-8'}" class="product_img_link">
|
||||
<img src="{$link->getImageLink($favoriteProduct.link_rewrite, $favoriteProduct.image, 'medium_default')|escape:'htmlall':'UTF-8'}" alt=""/></a>
|
||||
<p class="s_title_block"><a href="{$link->getProductLink($favoriteProduct.id_product, null, null, null, null, $favoriteProduct.id_shop)|escape:'htmlall':'UTF-8'}">{$favoriteProduct.name|escape:'htmlall':'UTF-8'}</a></p>
|
||||
<div class="product_desc">{$favoriteProduct.description_short|strip_tags|escape:'htmlall':'UTF-8'}</div>
|
||||
<a href="{$link->getProductLink($favoriteProduct.id_product, null, null, null, null, $favoriteProduct.id_shop)|escape:'html':'UTF-8'}" class="product_img_link">
|
||||
<img src="{$link->getImageLink($favoriteProduct.link_rewrite, $favoriteProduct.image, 'medium_default')|escape:'html':'UTF-8'}" alt=""/></a>
|
||||
<p class="s_title_block"><a href="{$link->getProductLink($favoriteProduct.id_product, null, null, null, null, $favoriteProduct.id_shop)|escape:'html':'UTF-8'}">{$favoriteProduct.name|escape:'html':'UTF-8'}</a></p>
|
||||
<div class="product_desc">{$favoriteProduct.description_short|strip_tags|escape:'html':'UTF-8'}</div>
|
||||
<div class="remove">
|
||||
<a href="#" onclick="return false" rel="ajax_id_favoriteproduct_{$favoriteProduct.id_product}"><i class="icon-remove"></i></a>
|
||||
</div>
|
||||
@@ -83,6 +83,6 @@ $('document').ready(function()
|
||||
|
||||
<ul class="footer_links clearfix">
|
||||
<li>
|
||||
<a class="btn btn-default button button-small" href="{$link->getPageLink('my-account', true)|escape:'htmlall':'UTF-8'}"><span><i class="icon-chevron-left"></i>{l s='Back to your account' mod='favoriteproducts'}</span></a></li>
|
||||
<a class="btn btn-default button button-small" href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}"><span><i class="icon-chevron-left"></i>{l s='Back to your account' mod='favoriteproducts'}</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
+1
-1
@@ -24,5 +24,5 @@
|
||||
*}
|
||||
|
||||
<li class="favoriteproducts">
|
||||
<a href="{$link->getModuleLink('favoriteproducts', 'account')|escape:'htmlall':'UTF-8'}" title="{l s='My favorite products.' mod='favoriteproducts'}">{if !$in_footer}<i class="icon-heart-empty"></i><span>{l s='My favorite products' mod='favoriteproducts'}</span>{else}{l s='My favorite products' mod='favoriteproducts'}{/if}</a>
|
||||
<a href="{$link->getModuleLink('favoriteproducts', 'account')|escape:'html':'UTF-8'}" title="{l s='My favorite products.' mod='favoriteproducts'}">{if !$in_footer}<i class="icon-heart-empty"></i><span>{l s='My favorite products' mod='favoriteproducts'}</span>{else}{l s='My favorite products' mod='favoriteproducts'}{/if}</a>
|
||||
</li>
|
||||
|
||||
@@ -46,8 +46,8 @@ var homeslider_pause = {$homeslider.pause};
|
||||
{foreach from=$homeslider_slides item=slide}
|
||||
{if $slide.active}
|
||||
<li>
|
||||
<a href="{$slide.url|escape:'htmlall':'UTF-8'}" title="{$slide.description|escape:'htmlall':'UTF-8'}">
|
||||
<img src="{$smarty.const._MODULE_DIR_}homeslider/images/{$slide.image|escape:'htmlall':'UTF-8'}" alt="{$slide.legend|escape:'htmlall':'UTF-8'}" />
|
||||
<a href="{$slide.url|escape:'html':'UTF-8'}" title="{$slide.description|escape:'html':'UTF-8'}">
|
||||
<img src="{$smarty.const._MODULE_DIR_}homeslider/images/{$slide.image|escape:'html':'UTF-8'}" alt="{$slide.legend|escape:'html':'UTF-8'}" />
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<td class="history_link bold">{l s='#' mod='loyalty'}{$order.id|string_format:"%06d"}</td>
|
||||
<td class="history_date">{dateFormat date=$order.date full=1}</td>
|
||||
<td class="history_method">{$order.points|intval}</td>
|
||||
<td class="history_method">{$order.state|escape:'htmlall':'UTF-8'}</td>
|
||||
<td class="history_method">{$order.state|escape:'html':'UTF-8'}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
@@ -81,9 +81,9 @@
|
||||
{/if}
|
||||
{section name=pagination start=$page-1 loop=$page+2 step=1}
|
||||
{if $page == $smarty.section.pagination.index}
|
||||
<li class="current"><span>{$page|escape:'htmlall':'UTF-8'}</span></li>
|
||||
<li class="current"><span>{$page|escape:'html':'UTF-8'}</span></li>
|
||||
{elseif $smarty.section.pagination.index > 0 && $orders|@count+$nbpagination > ($smarty.section.pagination.index)*($nbpagination)}
|
||||
<li><a href="{summarypaginationlink p=$smarty.section.pagination.index n=$nbpagination}">{$smarty.section.pagination.index|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<li><a href="{summarypaginationlink p=$smarty.section.pagination.index n=$nbpagination}">{$smarty.section.pagination.index|escape:'html':'UTF-8'}</a></li>
|
||||
{/if}
|
||||
{/section}
|
||||
{if $max_page-$page > 1}
|
||||
@@ -108,7 +108,7 @@
|
||||
<select name="n" id="nb_item">
|
||||
{foreach from=$nArray item=nValue}
|
||||
{if $nValue <= $orders|@count}
|
||||
<option value="{$nValue|escape:'htmlall':'UTF-8'}" {if $nbpagination == $nValue}selected="selected"{/if}>{$nValue|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$nValue|escape:'html':'UTF-8'}" {if $nbpagination == $nValue}selected="selected"{/if}>{$nValue|escape:'html':'UTF-8'}</option>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</select>
|
||||
@@ -170,7 +170,7 @@
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
" 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'}</a>
|
||||
" 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'}</a>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)}" class="lnk_img product-image" title="{$categoryProduct.name|htmlspecialchars}"><img src="{$link->getImageLink($categoryProduct.link_rewrite, $categoryProduct.id_image, 'home_default')|escape:'html'}" alt="{$categoryProduct.name|htmlspecialchars}" /></a>
|
||||
|
||||
<h5 class="product-name">
|
||||
<a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)|escape:'html'}" title="{$categoryProduct.name|htmlspecialchars}">{$categoryProduct.name|truncate:14:'...'|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)|escape:'html'}" title="{$categoryProduct.name|htmlspecialchars}">{$categoryProduct.name|truncate:14:'...'|escape:'html':'UTF-8'}</a>
|
||||
</h5>
|
||||
{if $ProdDisplayPrice AND $categoryProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}
|
||||
<p class="price_display">
|
||||
|
||||
@@ -113,9 +113,9 @@
|
||||
{section name=friends start=0 loop=$nbFriends step=1}
|
||||
<tr class="{if $smarty.section.friends.index % 2}item{else}alternate_item{/if}">
|
||||
<td class="align_right">{$smarty.section.friends.iteration}</td>
|
||||
<td><input type="text" class="form-control" name="friendsLastName[{$smarty.section.friends.index}]" size="14" value="{if isset($smarty.post.friendsLastName[$smarty.section.friends.index])}{$smarty.post.friendsLastName[$smarty.section.friends.index]|escape:'htmlall':'UTF-8'}{/if}" /></td>
|
||||
<td><input type="text" class="form-control" name="friendsFirstName[{$smarty.section.friends.index}]" size="14" value="{if isset($smarty.post.friendsFirstName[$smarty.section.friends.index])}{$smarty.post.friendsFirstName[$smarty.section.friends.index]|escape:'htmlall':'UTF-8'}{/if}" /></td>
|
||||
<td><input type="text" class="form-control" name="friendsEmail[{$smarty.section.friends.index}]" size="20" value="{if isset($smarty.post.friendsEmail[$smarty.section.friends.index])}{$smarty.post.friendsEmail[$smarty.section.friends.index]|escape:'htmlall':'UTF-8'}{/if}" /></td>
|
||||
<td><input type="text" class="form-control" name="friendsLastName[{$smarty.section.friends.index}]" size="14" value="{if isset($smarty.post.friendsLastName[$smarty.section.friends.index])}{$smarty.post.friendsLastName[$smarty.section.friends.index]|escape:'html':'UTF-8'}{/if}" /></td>
|
||||
<td><input type="text" class="form-control" name="friendsFirstName[{$smarty.section.friends.index}]" size="14" value="{if isset($smarty.post.friendsFirstName[$smarty.section.friends.index])}{$smarty.post.friendsFirstName[$smarty.section.friends.index]|escape:'html':'UTF-8'}{/if}" /></td>
|
||||
<td><input type="text" class="form-control" name="friendsEmail[{$smarty.section.friends.index}]" size="20" value="{if isset($smarty.post.friendsEmail[$smarty.section.friends.index])}{$smarty.post.friendsEmail[$smarty.section.friends.index]|escape:'html':'UTF-8'}{/if}" /></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</tbody>
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
<h3 class="page-subheading">{l s='Referral program' mod='referralprogram'}</h3>
|
||||
<p class="form-group">
|
||||
<label for="referralprogram">{l s='E-mail address of your sponsor' mod='referralprogram'}</label>
|
||||
<input class="form-control" type="text" size="52" maxlength="128" id="referralprogram" name="referralprogram" value="{if isset($smarty.post.referralprogram)}{$smarty.post.referralprogram|escape:'htmlall':'UTF-8'}{/if}" />
|
||||
<input class="form-control" type="text" size="52" maxlength="128" id="referralprogram" name="referralprogram" value="{if isset($smarty.post.referralprogram)}{$smarty.post.referralprogram|escape:'html':'UTF-8'}{/if}" />
|
||||
</p>
|
||||
</fieldset>
|
||||
<!-- END : MODULE ReferralProgram -->
|
||||
Reference in New Issue
Block a user