[-] Core : fixed smarty escape htmlall > html
This commit is contained in:
@@ -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() {
|
||||
<legend><h3>{if isset($id_address) && $id_address != 0}{l s='Your address'}{else}{l s='New address'}{/if}</h3></legend>
|
||||
<div class="required text dni">
|
||||
<label for="dni">{l s='Identification number'}</label>
|
||||
<input type="text" class="text" name="dni" id="dni" value="{if isset($smarty.post.dni)}{$smarty.post.dni}{else}{if isset($address->dni)}{$address->dni|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="text" class="text" name="dni" id="dni" value="{if isset($smarty.post.dni)}{$smarty.post.dni}{else}{if isset($address->dni)}{$address->dni|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
<p>{l s='DNI / NIF / NIE'} <sup>*</sup></p>
|
||||
</div>
|
||||
{if $vat_display == 2}
|
||||
@@ -101,7 +101,7 @@ $(document).ready(function() {
|
||||
<div id="vat_number">
|
||||
<p class="text">
|
||||
<label for="vat_number">{l s='VAT number'}</label>
|
||||
<input type="text" class="text" name="vat_number" value="{if isset($smarty.post.vat_number)}{$smarty.post.vat_number}{else}{if isset($address->vat_number)}{$address->vat_number|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="text" class="text" name="vat_number" value="{if isset($smarty.post.vat_number)}{$smarty.post.vat_number}{else}{if isset($address->vat_number)}{$address->vat_number|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -112,44 +112,44 @@ $(document).ready(function() {
|
||||
<div class="text">
|
||||
<input type="hidden" name="token" value="{$token}" />
|
||||
<label for="company">{l s='Company'}</label>
|
||||
<input type="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{else}{if isset($address->company)}{$address->company|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{else}{if isset($address->company)}{$address->company|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</div>
|
||||
{/if}
|
||||
{if $field_name eq 'firstname'}
|
||||
<div class="required text">
|
||||
<label for="firstname">{l s='First name'} <sup>*</sup></label>
|
||||
<input type="text" name="firstname" id="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{else}{if isset($address->firstname)}{$address->firstname|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="text" name="firstname" id="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{else}{if isset($address->firstname)}{$address->firstname|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</div>
|
||||
{/if}
|
||||
{if $field_name eq 'lastname'}
|
||||
<div class="required text">
|
||||
<label for="lastname">{l s='Last name'} <sup>*</sup></label>
|
||||
<input type="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{else}{if isset($address->lastname)}{$address->lastname|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{else}{if isset($address->lastname)}{$address->lastname|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</div>
|
||||
{/if}
|
||||
{if $field_name eq 'address1'}
|
||||
<div class="required text">
|
||||
<label for="address1">{l s='Address'} <sup>*</sup></label>
|
||||
<input type="text" id="address1" name="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{else}{if isset($address->address1)}{$address->address1|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="text" id="address1" name="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{else}{if isset($address->address1)}{$address->address1|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</div>
|
||||
{/if}
|
||||
{if $field_name eq 'address2'}
|
||||
<div class="required text">
|
||||
<label for="address2">{l s='Address (Line 2)'}</label>
|
||||
<input type="text" id="address2" name="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{else}{if isset($address->address2)}{$address->address2|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="text" id="address2" name="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{else}{if isset($address->address2)}{$address->address2|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</div>
|
||||
{/if}
|
||||
{if $field_name eq 'postcode'}
|
||||
{assign var="postCodeExist" value="true"}
|
||||
<div class="required postcode text">
|
||||
<label for="postcode">{l s='Zip / Postal Code'} <sup>*</sup></label>
|
||||
<input type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'htmlall':'UTF-8'}{/if}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
<input type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'html':'UTF-8'}{/if}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
</div>
|
||||
{/if}
|
||||
{if $field_name eq 'city'}
|
||||
<div class="required text">
|
||||
<label for="city">{l s='City'} <sup>*</sup></label>
|
||||
<input type="text" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{else}{if isset($address->city)}{$address->city|escape:'htmlall':'UTF-8'}{/if}{/if}" maxlength="64" />
|
||||
<input type="text" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{else}{if isset($address->city)}{$address->city|escape:'html':'UTF-8'}{/if}{/if}" maxlength="64" />
|
||||
</div>
|
||||
{/if}
|
||||
{if $field_name eq 'Country:name' || $field_name eq 'country'}
|
||||
@@ -197,7 +197,7 @@ $(document).ready(function() {
|
||||
{if $postCodeExist eq "false"}
|
||||
<div class="required postcode text hidden">
|
||||
<label for="postcode">{l s='Zip / Postal Code'} <sup>*</sup></label>
|
||||
<input type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'htmlall':'UTF-8'}{/if}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
<input type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'html':'UTF-8'}{/if}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
</div>
|
||||
{/if}
|
||||
{if $stateExist eq "false"}
|
||||
@@ -210,21 +210,21 @@ $(document).ready(function() {
|
||||
{/if}
|
||||
<div class="textarea">
|
||||
<label for="other">{l s='Additional information'}</label>
|
||||
<textarea id="other" name="other" cols="26" rows="3">{if isset($smarty.post.other)}{$smarty.post.other}{else}{if isset($address->other)}{$address->other|escape:'htmlall':'UTF-8'}{/if}{/if}</textarea>
|
||||
<textarea id="other" name="other" cols="26" rows="3">{if isset($smarty.post.other)}{$smarty.post.other}{else}{if isset($address->other)}{$address->other|escape:'html':'UTF-8'}{/if}{/if}</textarea>
|
||||
</div>
|
||||
|
||||
<p>{l s='You must register at least one phone number.'} <sup class="required">*</sup></p>
|
||||
<div class="text">
|
||||
<label for="phone">{l s='Home phone'}</label>
|
||||
<input type="text" id="phone" name="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{else}{if isset($address->phone)}{$address->phone|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="text" id="phone" name="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{else}{if isset($address->phone)}{$address->phone|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</div>
|
||||
<div class="text">
|
||||
<label for="phone_mobile">{l s='Mobile phone'}</label>
|
||||
<input type="text" id="phone_mobile" name="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{else}{if isset($address->phone_mobile)}{$address->phone_mobile|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="text" id="phone_mobile" name="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{else}{if isset($address->phone_mobile)}{$address->phone_mobile|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</div>
|
||||
<p class="required text" id="adress_alias">
|
||||
<label for="alias">{l s='Please assign an address title for future reference.'} <sup>*</sup></label>
|
||||
<input type="text" id="alias" name="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else if isset($address->alias)}{$address->alias|escape:'htmlall':'UTF-8'}{else if isset($select_address)}{l s='My address'}{/if}" />
|
||||
<input type="text" id="alias" name="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else if isset($address->alias)}{$address->alias|escape:'html':'UTF-8'}{else if isset($select_address)}{l s='My address'}{/if}" />
|
||||
</p>
|
||||
<div>
|
||||
{if isset($id_address)}<input type="hidden" name="id_address" value="{$id_address|intval}" />{/if}
|
||||
|
||||
@@ -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}
|
||||
<br />
|
||||
{/foreach}
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
<div class="form_content clearfix">
|
||||
<p class="title_block">{l s='Enter your email address to create an account'}.</p>
|
||||
<fieldset>
|
||||
<span><input type="email" id="email_create" placeholder="{l s='Email address'}" name="email_create" value="{if isset($smarty.post.email_create)}{$smarty.post.email_create|escape:'htmlall':'UTF-8'|stripslashes}{/if}" class="account_input" /></span>
|
||||
<span><input type="email" id="email_create" placeholder="{l s='Email address'}" name="email_create" value="{if isset($smarty.post.email_create)}{$smarty.post.email_create|escape:'html':'UTF-8'|stripslashes}{/if}" class="account_input" /></span>
|
||||
</fieldset>
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if}
|
||||
<button type="submit" id="SubmitCreate" name="SubmitCreate" class="ui-btn-hidden submit_button" aria-disabled="false" data-theme="a">{l s='Create an account'}</button>
|
||||
<input type="hidden" class="hidden" name="SubmitCreate" value="{l s='Create an account'}" />
|
||||
</div>
|
||||
@@ -18,11 +18,11 @@
|
||||
<form action="{$link->getPageLink('authentication', true)|escape:'html'}" method="post" class="login_form">
|
||||
<h2>{l s='Already registered?'}</h2>
|
||||
<fieldset>
|
||||
<input type="email" id="email" name="email" placeholder="{l s='Email address'}" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'|stripslashes}{/if}" class="account_input" />
|
||||
<input type="email" id="email" name="email" placeholder="{l s='Email address'}" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'html':'UTF-8'|stripslashes}{/if}" class="account_input" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<input type="password" id="passwd" name="passwd" placeholder="{l s='Password'}" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|escape:'htmlall':'UTF-8'|stripslashes}{/if}" class="account_input" />
|
||||
<input type="password" id="passwd" name="passwd" placeholder="{l s='Password'}" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|escape:'html':'UTF-8'|stripslashes}{/if}" class="account_input" />
|
||||
<p class="forget_pwd"><a href="{$link->getPageLink('password')|escape:'html'}" data-ajax="false">{l s='Forgot your password?'}</a></p>
|
||||
</fieldset>
|
||||
<button type="submit" class="ui-btn-hidden submit_button" id="SubmitLogin" name="SubmitLogin" aria-disabled="false" data-theme="a">{l s='Login'}</button>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<select id="days" name="days">
|
||||
<option value="">-</option>
|
||||
{foreach from=$days item=day}
|
||||
<option value="{$day|escape:'htmlall':'UTF-8'}" {if ($sl_day == $day)} selected="selected"{/if}>{$day|escape:'htmlall':'UTF-8'} </option>
|
||||
<option value="{$day|escape:'html':'UTF-8'}" {if ($sl_day == $day)} selected="selected"{/if}>{$day|escape:'html':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{*
|
||||
@@ -51,13 +51,13 @@
|
||||
<select id="months" name="months">
|
||||
<option value="">-</option>
|
||||
{foreach from=$months key=k item=month}
|
||||
<option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)} selected="selected"{/if}>{l s=$month} </option>
|
||||
<option value="{$k|escape:'html':'UTF-8'}" {if ($sl_month == $k)} selected="selected"{/if}>{l s=$month} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<select id="years" name="years">
|
||||
<option value="">-</option>
|
||||
{foreach from=$years item=year}
|
||||
<option value="{$year|escape:'htmlall':'UTF-8'}" {if ($sl_year == $year)} selected="selected"{/if}>{$year|escape:'htmlall':'UTF-8'} </option>
|
||||
<option value="{$year|escape:'html':'UTF-8'}" {if ($sl_year == $year)} selected="selected"{/if}>{$year|escape:'html':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
@@ -152,7 +152,7 @@
|
||||
<select name="id_country" id="id_country">
|
||||
<option value="">-</option>
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}" {if ($sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$v.id_country}" {if ($sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
@@ -211,7 +211,7 @@
|
||||
<p class="cart_navigation required submit">
|
||||
<input type="hidden" name="email_create" value="1" />
|
||||
<input type="hidden" name="is_new_customer" value="1" />
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if}
|
||||
<input type="submit" name="submitAccount" id="submitAccount" value="{l s='Register'}" class="exclusive btn btn-default" />
|
||||
<span><sup>*</sup>{l s='Required field'}</span>
|
||||
</p>
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
<li {if isset($node.children) && $node.children|@count > 0 || isset($node.cms) && $node.cms|@count > 0}data-icon="more"{/if}>
|
||||
<a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.name|escape:'htmlall':'UTF-8'}" data-ajax="false">{$node.name|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$node.link|escape:'html':'UTF-8'}" title="{$node.name|escape:'html':'UTF-8'}" data-ajax="false">{$node.name|escape:'html':'UTF-8'}</a>
|
||||
{if isset($node.children) && $node.children|@count > 0}
|
||||
<ul data-inset="true">
|
||||
{foreach from=$node.children item=child name=categoryCmsTreeBranch}
|
||||
@@ -35,14 +35,14 @@
|
||||
{/foreach}
|
||||
{if isset($node.cms) && $node.cms|@count > 0}
|
||||
{foreach from=$node.cms item=cms name=cmsTreeBranch}
|
||||
<li><a href="{$cms.link|escape:'htmlall':'UTF-8'}" title="{$cms.meta_title|escape:'htmlall':'UTF-8'}" data-ajax="false">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<li><a href="{$cms.link|escape:'html':'UTF-8'}" title="{$cms.meta_title|escape:'html':'UTF-8'}" data-ajax="false">{$cms.meta_title|escape:'html':'UTF-8'}</a></li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</ul>
|
||||
{elseif isset($node.cms) && $node.cms|@count > 0}
|
||||
<ul data-inset="true">
|
||||
{foreach from=$node.cms item=cms name=cmsTreeBranch}
|
||||
<li><a href="{$cms.link|escape:'htmlall':'UTF-8'}" title="{$cms.meta_title|escape:'htmlall':'UTF-8'}" data-ajax="false">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<li><a href="{$cms.link|escape:'html':'UTF-8'}" title="{$cms.meta_title|escape:'html':'UTF-8'}" data-ajax="false">{$cms.meta_title|escape:'html':'UTF-8'}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
<ul data-role="listview" id="category-list" class="ui-listview ui-grid-a">
|
||||
{foreach from=$products item=product name=products}
|
||||
<li class="ui-block-{if $smarty.foreach.products.index % 2}b{else}a{/if} product-list-row">
|
||||
<a href="{$product.link|escape:'htmlall':'UTF-8'}" data-ajax="false">
|
||||
<div class="product_img_wrapper"><img class="ui-li-thumb" src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html'}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" /></div>
|
||||
<h3 class="ui-li-heading">{$product.name|escape:'htmlall':'UTF-8'}</h3>
|
||||
<a href="{$product.link|escape:'html':'UTF-8'}" data-ajax="false">
|
||||
<div class="product_img_wrapper"><img class="ui-li-thumb" src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html'}" alt="{$product.legend|escape:'html':'UTF-8'}" /></div>
|
||||
<h3 class="ui-li-heading">{$product.name|escape:'html':'UTF-8'}</h3>
|
||||
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
|
||||
<p class="ui-li-price">
|
||||
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}
|
||||
|
||||
@@ -52,9 +52,9 @@
|
||||
{/if}
|
||||
|
||||
<div class="{$container_class}">
|
||||
<form id="productsSortForm" action="{$request|escape:'htmlall':'UTF-8'}">
|
||||
<form id="productsSortForm" action="{$request|escape:'html':'UTF-8'}">
|
||||
<select class="selectPrductSort">
|
||||
<option value="{$orderbydefault|escape:'htmlall':'UTF-8'}:{$orderwaydefault|escape:'htmlall':'UTF-8'}" {if $orderby eq $orderbydefault}selected="selected"{/if}>{l s='Sort by'}</option>
|
||||
<option value="{$orderbydefault|escape:'html':'UTF-8'}:{$orderwaydefault|escape:'html':'UTF-8'}" {if $orderby eq $orderbydefault}selected="selected"{/if}>{l s='Sort by'}</option>
|
||||
{if !$PS_CATALOG_MODE}
|
||||
<option value="price:asc" {if $orderby eq 'price' AND $orderway eq 'asc'}selected="selected"{/if}>{l s='Price: Lowest first'}</option>
|
||||
<option value="price:desc" {if $orderby eq 'price' AND $orderway eq 'desc'}selected="selected"{/if}>{l s='Price: Highest first'}</option>
|
||||
|
||||
@@ -25,10 +25,10 @@
|
||||
|
||||
<li {if $node.children|@count > 0}data-icon="more"{/if}>
|
||||
{if $node.children|@count > 0}
|
||||
{$node.name|escape:'htmlall':'UTF-8'}
|
||||
{$node.name|escape:'html':'UTF-8'}
|
||||
<ul data-inset="true">
|
||||
<li>
|
||||
<a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.desc|escape:'htmlall':'UTF-8'}" data-ajax="false">
|
||||
<a href="{$node.link|escape:'html':'UTF-8'}" title="{$node.desc|escape:'html':'UTF-8'}" data-ajax="false">
|
||||
{l s='See products'}
|
||||
</a>
|
||||
</li>
|
||||
@@ -37,8 +37,8 @@
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.desc|escape:'htmlall':'UTF-8'}" data-ajax="false">
|
||||
{$node.name|escape:'htmlall':'UTF-8'}
|
||||
<a href="{$node.link|escape:'html':'UTF-8'}" title="{$node.desc|escape:'html':'UTF-8'}" data-ajax="false">
|
||||
{$node.name|escape:'html':'UTF-8'}
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
{if $category->id AND $category->active}
|
||||
{capture assign='page_title'}
|
||||
{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}
|
||||
{/capture}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{if isset($cms) && !isset($category)}
|
||||
{$cms->meta_title}
|
||||
{elseif isset($category)}
|
||||
{$category->name|escape:'htmlall':'UTF-8'}
|
||||
{$category->name|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
{/capture}
|
||||
{include file='./page-title.tpl'}
|
||||
@@ -43,7 +43,7 @@
|
||||
<ul data-role="listview" data-inset="true">
|
||||
{foreach from=$sub_category item=subcategory}
|
||||
<li>
|
||||
<a href="{$link->getCMSCategoryLink($subcategory.id_cms_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" data-ajax="false">{$subcategory.name|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$link->getCMSCategoryLink($subcategory.id_cms_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" data-ajax="false">{$subcategory.name|escape:'html':'UTF-8'}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
@@ -53,7 +53,7 @@
|
||||
<ul data-role="listview" data-inset="true">
|
||||
{foreach from=$cms_pages item=cmspages}
|
||||
<li>
|
||||
<a href="{$link->getCMSLink($cmspages.id_cms, $cmspages.link_rewrite)|escape:'htmlall':'UTF-8'}" data-ajax="false">{$cmspages.meta_title|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$link->getCMSLink($cmspages.id_cms, $cmspages.link_rewrite)|escape:'html':'UTF-8'}" data-ajax="false">{$cmspages.meta_title|escape:'html':'UTF-8'}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
@@ -29,11 +29,11 @@
|
||||
<div data-role="content" id="content">
|
||||
<p class="bold">{l s='For questions about an order or for more information about our products'}.</p>
|
||||
{include file="./errors.tpl"}
|
||||
<form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" enctype="multipart/form-data">
|
||||
<form action="{$request_uri|escape:'html':'UTF-8'}" method="post" class="std" enctype="multipart/form-data">
|
||||
{if isset($customerThread.id_contact)}
|
||||
{foreach from=$contacts item=contact}
|
||||
{if $contact.id_contact == $customerThread.id_contact}
|
||||
<input type="text" id="contact_name" name="contact_name" value="{$contact.name|escape:'htmlall':'UTF-8'}" readonly="readonly" />
|
||||
<input type="text" id="contact_name" name="contact_name" value="{$contact.name|escape:'html':'UTF-8'}" readonly="readonly" />
|
||||
<input type="hidden" name="id_contact" value="{$contact.id_contact}" />
|
||||
{/if}
|
||||
{/foreach}
|
||||
@@ -41,14 +41,14 @@
|
||||
<select id="id_contact" name="id_contact" onchange="showElemFromSelect('id_contact', 'desc_contact')">
|
||||
<option value="0">-- {l s='Subject Heading'} --</option>
|
||||
{foreach from=$contacts item=contact}
|
||||
<option value="{$contact.id_contact|intval}" {if isset($smarty.post.id_contact) && $smarty.post.id_contact == $contact.id_contact}selected="selected"{/if}>{$contact.name|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$contact.id_contact|intval}" {if isset($smarty.post.id_contact) && $smarty.post.id_contact == $contact.id_contact}selected="selected"{/if}>{$contact.name|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
<p id="desc_contact0" class="desc_contact"> </p>
|
||||
{foreach from=$contacts item=contact}
|
||||
<p id="desc_contact{$contact.id_contact|intval}" class="desc_contact" style="display:none;">
|
||||
<label> </label>{$contact.description|escape:'htmlall':'UTF-8'}
|
||||
<label> </label>{$contact.description|escape:'html':'UTF-8'}
|
||||
</p>
|
||||
{/foreach}
|
||||
{/if}
|
||||
@@ -67,7 +67,7 @@
|
||||
{if !isset($customerThread.id_order) && isset($isLogged) && $isLogged == 1}
|
||||
<select name="id_order" ><option value="0">-- {l s='Order ID'} --</option>
|
||||
{foreach from=$orderList item=order}
|
||||
<option value="{$order.value|intval}" {if $order.selected|intval}selected="selected"{/if}>{$order.label|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$order.value|intval}" {if $order.selected|intval}selected="selected"{/if}>{$order.label|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{elseif !isset($customerThread.id_order) && !isset($isLogged)}
|
||||
@@ -84,7 +84,7 @@
|
||||
{foreach from=$orderedProductList key=id_order item=products name=products}
|
||||
<select name="id_product"><option value="0">-- {l s='Product'} --</option>
|
||||
{foreach from=$products item=product}
|
||||
<option value="{$product.value|intval}">{$product.label|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$product.value|intval}">{$product.label|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{/foreach}
|
||||
@@ -96,7 +96,7 @@
|
||||
{/if}
|
||||
|
||||
<fieldset>
|
||||
<textarea id="message" name="message" placeholder="{l s='Your message'}" rows="15" cols="10">{if isset($message) && $message != ''}{$message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea>
|
||||
<textarea id="message" name="message" placeholder="{l s='Your message'}" rows="15" cols="10">{if isset($message) && $message != ''}{$message|escape:'html':'UTF-8'|stripslashes}{/if}</textarea>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<td class="discount_quantity">{$discountDetail.quantity_for_user}</td>
|
||||
<td class="discount_value">
|
||||
{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}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{$lang_iso}">
|
||||
<head>
|
||||
<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
|
||||
<title>{$meta_title|escape:'html':'UTF-8'}</title>
|
||||
{*<meta name="viewport" content="width=device-width, initial-scale=1">*}
|
||||
<meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
|
||||
{if isset($meta_description) AND $meta_description}
|
||||
@@ -59,12 +59,12 @@
|
||||
{/if}
|
||||
{$HOOK_MOBILE_HEADER}
|
||||
</head>
|
||||
<body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
|
||||
<body {if isset($page_name)}id="{$page_name|escape:'html':'UTF-8'}"{/if}>
|
||||
<div data-role="page" {if isset($wrapper_id)}id="{$wrapper_id}"{/if} class="type-interior prestashop-page">
|
||||
<div data-role="header" id="header" class="ui-body-c">
|
||||
<div class="ui-grid-a">
|
||||
<div class="ui-block-a">
|
||||
<a href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}" data-ajax="false"><img src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /></a>
|
||||
<a href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}" data-ajax="false"><img src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /></a>
|
||||
</div>
|
||||
<div class="ui-block-b">
|
||||
<div id="block_cart" class="clearfix">
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
{if isset($order.invoice) && $order.invoice && isset($order.virtual) && $order.virtual}<img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Products to download'}" title="{l s='Products to download'}" />{/if}
|
||||
<h3>{l s='#'}{$order.id_order|string_format:"%06d"}</h3>
|
||||
<p><strong>{l s='Total price'}</strong> {displayPrice price=$order.total_paid currency=$order.id_currency no_utf8=false convert=false}</p>
|
||||
<p><strong>{l s='Payment: '}</strong> {$order.payment|escape:'htmlall':'UTF-8'}</p>
|
||||
<p><strong>{l s='Status'}</strong> {if isset($order.order_state)}{$order.order_state|escape:'htmlall':'UTF-8'}{/if}</p>
|
||||
<p><strong>{l s='Payment: '}</strong> {$order.payment|escape:'html':'UTF-8'}</p>
|
||||
<p><strong>{l s='Status'}</strong> {if isset($order.order_state)}{$order.order_state|escape:'html':'UTF-8'}{/if}</p>
|
||||
<span class="ui-li-aside">{dateFormat date=$order.date_add full=0}</span>
|
||||
</a>
|
||||
{if (isset($order.invoice) && $order.invoice && isset($order.invoice_number) && $order.invoice_number) && isset($invoiceAllowed) && $invoiceAllowed == true}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
{if isset($confirmation) && $confirmation}
|
||||
<p class="success">
|
||||
{l s='Your personal information has been successfully updated.'}
|
||||
{if isset($pwd_changed)}<br />{l s='Your password has been sent to your email:'} {$email|escape:'htmlall':'UTF-8'}{/if}
|
||||
{if isset($pwd_changed)}<br />{l s='Your password has been sent to your email:'} {$email|escape:'html':'UTF-8'}{/if}
|
||||
</p>
|
||||
{else}
|
||||
<h3>{l s='Please be sure to update your personal information if it has changed.'}</h3>
|
||||
@@ -76,19 +76,19 @@
|
||||
<select name="days" id="days">
|
||||
<option value="">-</option>
|
||||
{foreach from=$days item=v}
|
||||
<option value="{$v|escape:'htmlall':'UTF-8'}" {if ($sl_day == $v)}selected="selected"{/if}>{$v|escape:'htmlall':'UTF-8'} </option>
|
||||
<option value="{$v|escape:'html':'UTF-8'}" {if ($sl_day == $v)}selected="selected"{/if}>{$v|escape:'html':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<select id="months" name="months">
|
||||
<option value="">-</option>
|
||||
{foreach from=$months key=k item=v}
|
||||
<option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)}selected="selected"{/if}>{l s=$v} </option>
|
||||
<option value="{$k|escape:'html':'UTF-8'}" {if ($sl_month == $k)}selected="selected"{/if}>{l s=$v} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<select id="years" name="years">
|
||||
<option value="">-</option>
|
||||
{foreach from=$years item=v}
|
||||
<option value="{$v|escape:'htmlall':'UTF-8'}" {if ($sl_year == $v)}selected="selected"{/if}>{$v|escape:'htmlall':'UTF-8'} </option>
|
||||
<option value="{$v|escape:'html':'UTF-8'}" {if ($sl_year == $v)}selected="selected"{/if}>{$v|escape:'html':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</fieldset>
|
||||
|
||||
@@ -26,15 +26,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}" lang="{$lang_iso}">
|
||||
<head>
|
||||
<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
|
||||
<title>{$meta_title|escape:'html':'UTF-8'}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
{if isset($meta_description)}
|
||||
<meta name="description" content="{$meta_description|escape:'htmlall':'UTF-8'}" />
|
||||
<meta name="description" content="{$meta_description|escape:'html':'UTF-8'}" />
|
||||
{/if}
|
||||
|
||||
{if isset($meta_keywords)}
|
||||
<meta name="keywords" content="{$meta_keywords|escape:'htmlall':'UTF-8'}" />
|
||||
<meta name="keywords" content="{$meta_keywords|escape:'html':'UTF-8'}" />
|
||||
{/if}
|
||||
|
||||
<meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />
|
||||
|
||||
@@ -48,9 +48,9 @@
|
||||
<ul id="manufacturers_list" data-role="listview">
|
||||
{foreach from=$manufacturers item=manufacturer name=manufacturers}
|
||||
<li data-corners="false" data-shadow="false" data-iconshadow="true" data-inline="false" data-wrapperels="div" data-icon="arrow-r" data-iconpos="right" data-theme="c" class="clearfix {if $smarty.foreach.manufacturers.first}first_item{elseif $smarty.foreach.manufacturers.last}last_item{else}item{/if}">
|
||||
{if $manufacturer.nb_products > 0}<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$manufacturer.name|escape:'htmlall':'UTF-8'}" class="lnk_img" data-ajax="false">{/if}
|
||||
<img src="{$img_manu_dir}{$manufacturer.image|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt="" width="80" />
|
||||
<h3>{$manufacturer.name|truncate:60:'...'|escape:'htmlall':'UTF-8'}</h3>
|
||||
{if $manufacturer.nb_products > 0}<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}" title="{$manufacturer.name|escape:'html':'UTF-8'}" class="lnk_img" data-ajax="false">{/if}
|
||||
<img src="{$img_manu_dir}{$manufacturer.image|escape:'html':'UTF-8'}-medium_default.jpg" alt="" width="80" />
|
||||
<h3>{$manufacturer.name|truncate:60:'...'|escape:'html':'UTF-8'}</h3>
|
||||
<p>
|
||||
{if $manufacturer.nb_products == 1}
|
||||
{l s='%d product' sprintf=$manufacturer.nb_products|intval}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{capture assign='page_title'}{$manufacturer->name|escape:'htmlall':'UTF-8'}{/capture}
|
||||
{capture assign='page_title'}{$manufacturer->name|escape:'html':'UTF-8'}{/capture}
|
||||
{include file='./page-title.tpl'}
|
||||
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
<select name="id_address_delivery" id="id_address_delivery" class="address_select" onchange="updateAddressesDisplay();{if $opc}updateAddressSelection();{/if}">
|
||||
|
||||
{foreach from=$addresses key=k item=address}
|
||||
<option value="{$address.id_address|intval}" {if $address.id_address == $cart->id_address_delivery}selected="selected"{/if}>{$address.alias|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$address.id_address|intval}" {if $address.id_address == $cart->id_address_delivery}selected="selected"{/if}>{$address.alias|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
|
||||
</select>
|
||||
@@ -174,7 +174,7 @@
|
||||
<label for="id_address_invoice" class="strong">{l s='Choose a billing address:'}</label>
|
||||
<select name="id_address_invoice" id="id_address_invoice" class="address_select" onchange="updateAddressesDisplay();{if $opc}updateAddressSelection();{/if}">
|
||||
{section loop=$addresses step=-1 name=address}
|
||||
<option value="{$addresses[address].id_address|intval}" {if $addresses[address].id_address == $cart->id_address_invoice && $cart->id_address_delivery != $cart->id_address_invoice}selected="selected"{/if}>{$addresses[address].alias|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$addresses[address].id_address|intval}" {if $addresses[address].id_address == $cart->id_address_invoice && $cart->id_address_delivery != $cart->id_address_invoice}selected="selected"{/if}>{$addresses[address].alias|escape:'html':'UTF-8'}</option>
|
||||
{/section}
|
||||
</select>
|
||||
{else}
|
||||
|
||||
@@ -216,7 +216,7 @@
|
||||
</p>
|
||||
<p id="gift_div" class="textarea">
|
||||
<label for="gift_message">{l s='If you\'d like, you can add a note to the gift:'}</label>
|
||||
<textarea rows="5" cols="35" id="gift_message" name="gift_message">{$cart->gift_message|escape:'htmlall':'UTF-8'}</textarea>
|
||||
<textarea rows="5" cols="35" id="gift_message" name="gift_message">{$cart->gift_message|escape:'html':'UTF-8'}</textarea>
|
||||
</p>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
{*if isset($product.customizedDatas)}
|
||||
<li class="item">
|
||||
{if $return_allowed}<span class="order_cb"></span>{/if}
|
||||
<h3>{$product.product_name|escape:'htmlall':'UTF-8'}</h3>
|
||||
<p><strong>{l s='Reference'}</strong> {if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</p>
|
||||
<h3>{$product.product_name|escape:'html':'UTF-8'}</h3>
|
||||
<p><strong>{l s='Reference'}</strong> {if $product.product_reference}{$product.product_reference|escape:'html':'UTF-8'}{else}--{/if}</p>
|
||||
<p><strong>{l s='Quantity'}</strong></p>
|
||||
<fieldset><input class="order_qte_input" name="order_qte_input[{$smarty.foreach.products.index}]" type="text" size="2" value="{$product.customizationQuantityTotal|intval}" /><span class="order_qte_span editable">{$product.customizationQuantityTotal|intval}</span></fieldset>
|
||||
<p><strong>{l s='Unit price'}</strong>
|
||||
@@ -89,18 +89,18 @@
|
||||
<h3>
|
||||
{if $product.download_hash && $invoice && $product.display_filename != ''}
|
||||
{if isset($is_guest) && $is_guest}
|
||||
<a href="{$link->getPageLink('get-file', true, NULL, "key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}&id_order={$order->id}&secure_key={$order->secure_key}")|escape:'html'}" title="{l s='Download this product'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('get-file', true, NULL, "key={$product.filename|escape:'html':'UTF-8'}-{$product.download_hash|escape:'html':'UTF-8'}&id_order={$order->id}&secure_key={$order->secure_key}")|escape:'html'}" title="{l s='Download this product'}" data-ajax="false">
|
||||
{else}
|
||||
<a href="{$link->getPageLink('get-file', true, NULL, "key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}")|escape:'html'}" title="{l s='Download this product'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('get-file', true, NULL, "key={$product.filename|escape:'html':'UTF-8'}-{$product.download_hash|escape:'html':'UTF-8'}")|escape:'html'}" title="{l s='Download this product'}" data-ajax="false">
|
||||
{/if}
|
||||
<img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Download product'}" />
|
||||
{$product.product_name|escape:'htmlall':'UTF-8'}
|
||||
{$product.product_name|escape:'html':'UTF-8'}
|
||||
</a>
|
||||
{else}
|
||||
{$product.product_name|escape:'htmlall':'UTF-8'}
|
||||
{$product.product_name|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</h3>
|
||||
<p><strong>{l s='Reference'}</strong> {if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</p>
|
||||
<p><strong>{l s='Reference'}</strong> {if $product.product_reference}{$product.product_reference|escape:'html':'UTF-8'}{else}--{/if}</p>
|
||||
<p><strong>{l s='Quantity'}</strong></p>
|
||||
<fieldset><input class="order_qte_input" data-mini="true" name="order_qte_input[{$product.id_order_detail|intval}]" type="text" size="2" value="{$productQuantity|intval}" /><span class="order_qte_span editable">{$productQuantity|intval}</span></fieldset>
|
||||
<p><strong>{l s='Unit price'}</strong>
|
||||
|
||||
@@ -46,8 +46,8 @@
|
||||
|
||||
|
||||
<ul class="info-order" data-role="listview">
|
||||
{if $carrier->id}<li><strong>{l s='Carrier'}</strong> {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}</li>{/if}
|
||||
<li><strong>{l s='Payment method'}</strong> <span class="color-myaccount">{$order->payment|escape:'htmlall':'UTF-8'}</span></li>
|
||||
{if $carrier->id}<li><strong>{l s='Carrier'}</strong> {if $carrier->name == "0"}{$shop_name|escape:'html':'UTF-8'}{else}{$carrier->name|escape:'html':'UTF-8'}{/if}</li>{/if}
|
||||
<li><strong>{l s='Payment method'}</strong> <span class="color-myaccount">{$order->payment|escape:'html':'UTF-8'}</span></li>
|
||||
{if $invoice AND $invoiceAllowed}
|
||||
<li>
|
||||
<img src="{$img_dir}icon/pdf.gif" alt="" class="icon" />
|
||||
@@ -68,7 +68,7 @@
|
||||
<ul data-role="listview" >
|
||||
{foreach from=$order_history item=state name="orderStates"}
|
||||
<li>
|
||||
{$state.ostate_name|escape:'htmlall':'UTF-8'}
|
||||
{$state.ostate_name|escape:'html':'UTF-8'}
|
||||
<span class="ui-li-aside">{dateFormat date=$state.date_add full=1}</span>
|
||||
</li>
|
||||
{/foreach}
|
||||
@@ -79,7 +79,7 @@
|
||||
{* > TO CHECK ==========================*}
|
||||
{if isset($followup)}
|
||||
<p class="bold">{l s='Click the following link to track the delivery of your order'}</p>
|
||||
<a href="{$followup|escape:'htmlall':'UTF-8'}" data-ajax="false">{$followup|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$followup|escape:'html':'UTF-8'}" data-ajax="false">{$followup|escape:'html':'UTF-8'}</a>
|
||||
{/if}
|
||||
{* / TO CHECK ==========================*}
|
||||
|
||||
@@ -112,12 +112,12 @@
|
||||
<li data-role="list-divider">{l s='Invoice'}</li>
|
||||
<li>
|
||||
{foreach from=$inv_adr_fields name=inv_loop item=field_item}
|
||||
{if $field_item eq "company" && isset($address_invoice->company)}<p class="address_company">{$address_invoice->company|escape:'htmlall':'UTF-8'}</p>
|
||||
{elseif $field_item eq "address2" && $address_invoice->address2}<p class="address_address2">{$address_invoice->address2|escape:'htmlall':'UTF-8'}</p>
|
||||
{elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}<p class="address_phone_mobile">{$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}</p>
|
||||
{if $field_item eq "company" && isset($address_invoice->company)}<p class="address_company">{$address_invoice->company|escape:'html':'UTF-8'}</p>
|
||||
{elseif $field_item eq "address2" && $address_invoice->address2}<p class="address_address2">{$address_invoice->address2|escape:'html':'UTF-8'}</p>
|
||||
{elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}<p class="address_phone_mobile">{$address_invoice->phone_mobile|escape:'html':'UTF-8'}</p>
|
||||
{else}
|
||||
{assign var=address_words value=" "|explode:$field_item}
|
||||
<p>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item|replace:',':''}">{$invoiceAddressFormatedValues[$word_item|replace:',':'']|escape:'htmlall':'UTF-8'}</span>{/foreach}</p>
|
||||
<p>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item|replace:',':''}">{$invoiceAddressFormatedValues[$word_item|replace:',':'']|escape:'html':'UTF-8'}</span>{/foreach}</p>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</li>
|
||||
@@ -125,12 +125,12 @@
|
||||
<li data-role="list-divider" >{l s='Delivery'}</li>
|
||||
<li>
|
||||
{foreach from=$dlv_adr_fields name=dlv_loop item=field_item}
|
||||
{if $field_item eq "company" && isset($address_delivery->company)}<p class="address_company">{$address_delivery->company|escape:'htmlall':'UTF-8'}</p>
|
||||
{elseif $field_item eq "address2" && $address_delivery->address2}<p class="address_address2">{$address_delivery->address2|escape:'htmlall':'UTF-8'}</p>
|
||||
{elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}<p class="address_phone_mobile">{$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}</p>
|
||||
{if $field_item eq "company" && isset($address_delivery->company)}<p class="address_company">{$address_delivery->company|escape:'html':'UTF-8'}</p>
|
||||
{elseif $field_item eq "address2" && $address_delivery->address2}<p class="address_address2">{$address_delivery->address2|escape:'html':'UTF-8'}</p>
|
||||
{elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}<p class="address_phone_mobile">{$address_delivery->phone_mobile|escape:'html':'UTF-8'}</p>
|
||||
{else}
|
||||
{assign var=address_words value=" "|explode:$field_item}
|
||||
<p>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item|replace:',':''}">{$deliveryAddressFormatedValues[$word_item|replace:',':'']|escape:'htmlall':'UTF-8'}</span>{/foreach}</p>
|
||||
<p>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item|replace:',':''}">{$deliveryAddressFormatedValues[$word_item|replace:',':'']|escape:'html':'UTF-8'}</span>{/foreach}</p>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</li>
|
||||
@@ -160,8 +160,8 @@
|
||||
{* > TO CHECK ==========================*}
|
||||
{foreach from=$discounts item=discount}
|
||||
<li class="item">
|
||||
<h3>{$discount.name|escape:'htmlall':'UTF-8'}</h3>
|
||||
<p>{l s='Voucher'} {$discount.name|escape:'htmlall':'UTF-8'}</p>
|
||||
<h3>{$discount.name|escape:'html':'UTF-8'}</h3>
|
||||
<p>{l s='Voucher'} {$discount.name|escape:'html':'UTF-8'}</p>
|
||||
<p><span class="order_qte_span editable">1</span></p>
|
||||
<p> </p>
|
||||
<p>{if $discount.value != 0.00}{l s='-'}{/if}{convertPriceWithCurrency price=$discount.value currency=$currency}</p>
|
||||
@@ -246,11 +246,11 @@
|
||||
<tr class="{if $smarty.foreach.messageList.first}first_item{elseif $smarty.foreach.messageList.last}last_item{/if} {if $smarty.foreach.messageList.index % 2}alternate_item{else}item{/if}">
|
||||
<td>
|
||||
{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}
|
||||
<b>{$shop_name|escape:'htmlall':'UTF-8'}</b>
|
||||
<b>{$shop_name|escape:'html':'UTF-8'}</b>
|
||||
{/if}
|
||||
<br />
|
||||
{dateFormat date=$message.date_add full=1}
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<tr class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if} {if $smarty.foreach.myLoop.index % 2}alternate_item{/if}">
|
||||
<td class="bold"><a class="color-myaccount" href="javascript:showOrder(0, {$return.id_order_return|intval}, '{$link->getPageLink('order-return')|escape:'html'}');" data-ajax="false">{l s='#'}{$return.id_order_return|string_format:"%06d"}</a></td>
|
||||
<td class="history_method"><a class="color-myaccount" href="javascript:showOrder(1, {$return.id_order|intval}, '{$link->getPageLink('order-detail')|escape:'html'}');" data-ajax="false">{l s='#'}{$return.id_order|string_format:"%06d"}</a></td>
|
||||
<td class="history_method"><span class="bold">{$return.state_name|escape:'htmlall':'UTF-8'}</span></td>
|
||||
<td class="history_method"><span class="bold">{$return.state_name|escape:'html':'UTF-8'}</span></td>
|
||||
<td class="bold">{dateFormat date=$return.date_add full=0}</td>
|
||||
<td class="history_invoice">
|
||||
{if $return.state == 2}
|
||||
|
||||
@@ -32,16 +32,16 @@
|
||||
<h3 class="bg">{l s='Delivery address'}</h3>
|
||||
{if isset($delivery)}
|
||||
<ul class="adress">
|
||||
<li class="address_name">{$delivery->firstname|escape:'htmlall':'UTF-8'} {$delivery->lastname|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_name">{$delivery->firstname|escape:'html':'UTF-8'} {$delivery->lastname|escape:'html':'UTF-8'}</li>
|
||||
{if $delivery->company}
|
||||
<li class="address_company">{$delivery->company|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_company">{$delivery->company|escape:'html':'UTF-8'}</li>
|
||||
{/if}
|
||||
<li class="address_address1">{$delivery->address1|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_address1">{$delivery->address1|escape:'html':'UTF-8'}</li>
|
||||
{if $delivery->address2}
|
||||
<li class="address_address2">{$delivery->address2|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_address2">{$delivery->address2|escape:'html':'UTF-8'}</li>
|
||||
{/if}
|
||||
<li class="address_city">{$delivery->postcode|escape:'htmlall':'UTF-8'} {$delivery->city|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_country">{$delivery->country|escape:'htmlall':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'htmlall':'UTF-8'}){/if}</li>
|
||||
<li class="address_city">{$delivery->postcode|escape:'html':'UTF-8'} {$delivery->city|escape:'html':'UTF-8'}</li>
|
||||
<li class="address_country">{$delivery->country|escape:'html':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'html':'UTF-8'}){/if}</li>
|
||||
</ul>
|
||||
{/if}
|
||||
<label for="delivery-address-choice" class="select">{l s='Change address:'}</label>
|
||||
@@ -61,16 +61,16 @@
|
||||
<h3 class="bg">{l s='Invoice address'}</h3>
|
||||
{if isset($invoice)}
|
||||
<ul class="adress">
|
||||
<li class="address_name">{$invoice->firstname|escape:'htmlall':'UTF-8'} {$invoice->lastname|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_name">{$invoice->firstname|escape:'html':'UTF-8'} {$invoice->lastname|escape:'html':'UTF-8'}</li>
|
||||
{if $invoice->company}
|
||||
<li class="address_company">{$invoice->company|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_company">{$invoice->company|escape:'html':'UTF-8'}</li>
|
||||
{/if}
|
||||
<li class="address_address1">{$invoice->address1|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_address1">{$invoice->address1|escape:'html':'UTF-8'}</li>
|
||||
{if $invoice->address2}
|
||||
<li class="address_address2">{$invoice->address2|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_address2">{$invoice->address2|escape:'html':'UTF-8'}</li>
|
||||
{/if}
|
||||
<li class="address_city">{$invoice->postcode|escape:'htmlall':'UTF-8'} {$invoice->city|escape:'htmlall':'UTF-8'}</li>
|
||||
<li class="address_country">{$invoice->country|escape:'htmlall':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'htmlall':'UTF-8'}){/if}</li>
|
||||
<li class="address_city">{$invoice->postcode|escape:'html':'UTF-8'} {$invoice->city|escape:'html':'UTF-8'}</li>
|
||||
<li class="address_country">{$invoice->country|escape:'html':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'html':'UTF-8'}){/if}</li>
|
||||
</ul>
|
||||
{else}
|
||||
<p class="warning">{l s='You must specify your delivery and invoice address'}</p>
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
</p>
|
||||
<p id="gift_div" class="textarea">
|
||||
<label for="gift_message">{l s='If you\'d like, you can add a note to the gift:'}</label>
|
||||
<textarea rows="5" cols="35" id="gift_message" name="gift_message">{$cart->gift_message|escape:'htmlall':'UTF-8'}</textarea>
|
||||
<textarea rows="5" cols="35" id="gift_message" name="gift_message">{$cart->gift_message|escape:'html':'UTF-8'}</textarea>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
{if isset($errors_discount) && $errors_discount}
|
||||
<ul class="error">
|
||||
{foreach from=$errors_discount key=k item=error}
|
||||
<li>{$error|escape:'htmlall':'UTF-8'}</li>
|
||||
<li>{$error|escape:'html':'UTF-8'}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
@@ -175,7 +175,7 @@
|
||||
{if isset($errors_discount) && $errors_discount}
|
||||
<ul class="error">
|
||||
{foreach from=$errors_discount key=k item=error}
|
||||
<li>{$error|escape:'htmlall':'UTF-8'}</li>
|
||||
<li>{$error|escape:'html':'UTF-8'}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
@@ -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)}
|
||||
<div data-role="header" class="clearfix navbartop" data-position="inline">
|
||||
|
||||
@@ -64,9 +64,9 @@
|
||||
{/if}
|
||||
{section name=pagination start=$start loop=$stop+1 step=1}
|
||||
{if $p == $smarty.section.pagination.index}
|
||||
<li class="current"><a href="#" data-role="button" class="ui-btn-active" data-ajax="false">{$p|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<li class="current"><a href="#" data-role="button" class="ui-btn-active" data-ajax="false">{$p|escape:'html':'UTF-8'}</a></li>
|
||||
{else}
|
||||
<li><a data-role="button" {$no_follow_text} href="{$link->goPage($requestPage, $smarty.section.pagination.index)|escape:'html'}" data-ajax="false">{$smarty.section.pagination.index|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<li><a data-role="button" {$no_follow_text} href="{$link->goPage($requestPage, $smarty.section.pagination.index)|escape:'html'}" data-ajax="false">{$smarty.section.pagination.index|escape:'html':'UTF-8'}</a></li>
|
||||
{/if}
|
||||
{/section}
|
||||
{if $pages_nb>$stop+2}
|
||||
|
||||
@@ -28,15 +28,15 @@
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
<div data-role="content" id="content">
|
||||
{if isset($confirmation) && $confirmation == 1}
|
||||
<p class="success">{l s='Your password has been successfully reset and a confirmation has been sent to your email address:'} {$email|escape:'htmlall':'UTF-8'}</p>
|
||||
<p class="success">{l s='Your password has been successfully reset and a confirmation has been sent to your email address:'} {$email|escape:'html':'UTF-8'}</p>
|
||||
{elseif isset($confirmation) && $confirmation == 2}
|
||||
<p class="success">{l s='A confirmation email has been sent to your address:'} {$email|escape:'htmlall':'UTF-8'}</p>
|
||||
<p class="success">{l s='A confirmation email has been sent to your address:'} {$email|escape:'html':'UTF-8'}</p>
|
||||
{else}
|
||||
<p>{l s='Please enter the email address you used to register. We will then send you a new password. '}</p>
|
||||
<form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" id="form_forgotpassword">
|
||||
<form action="{$request_uri|escape:'html':'UTF-8'}" method="post" class="std" id="form_forgotpassword">
|
||||
<fieldset>
|
||||
<label for="email">{l s='Email'}</label>
|
||||
<input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'|stripslashes}{/if}" />
|
||||
<input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'html':'UTF-8'|stripslashes}{/if}" />
|
||||
<input type="submit" class="button" data-theme="a" value="{l s='Retrieve Password'}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@@ -30,18 +30,18 @@
|
||||
{if $group.attributes|@count}
|
||||
<div class="attributes_group">
|
||||
{capture assign='groupName'}group_{$id_attribute_group|intval}{/capture}
|
||||
<label class="attribute_label" for="{$groupName}">{$group.name|escape:'htmlall':'UTF-8'} :</label>
|
||||
<label class="attribute_label" for="{$groupName}">{$group.name|escape:'html':'UTF-8'} :</label>
|
||||
{if ($group.group_type == 'select' || $group.group_type == 'color')}
|
||||
<select name="{$groupName}" id="{$groupName}" class="attribute_select{if ($group.group_type == 'color')} select_color{/if}">
|
||||
{foreach from=$group.attributes key=id_attribute item=group_attribute}
|
||||
<option value="{$id_attribute|intval}" title="{$group_attribute|escape:'htmlall':'UTF-8'}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if}>{$group_attribute|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$id_attribute|intval}" title="{$group_attribute|escape:'html':'UTF-8'}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if}>{$group_attribute|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{elseif ($group.group_type == 'radio')}
|
||||
<fieldset data-role="controlgroup">
|
||||
{foreach from=$group.attributes key=id_attribute item=group_attribute}
|
||||
<input type="radio" class="attribute_radio" name="{$groupName}" id="{$groupName}_{$id_attribute}" value="{$id_attribute}" {if ($group.default == $id_attribute)} checked="checked"{/if}>
|
||||
<label for="{$groupName}_{$id_attribute}">{$group_attribute|escape:'htmlall':'UTF-8'}</label>
|
||||
<label for="{$groupName}_{$id_attribute}">{$group_attribute|escape:'html':'UTF-8'}</label>
|
||||
{/foreach}
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<ul>
|
||||
{foreach from=$features item=feature}
|
||||
{if isset($feature.value)}
|
||||
<li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li>
|
||||
<li><span>{$feature.name|escape:'html':'UTF-8'}</span> {$feature.value|escape:'html':'UTF-8'}</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
@@ -29,7 +29,7 @@
|
||||
<h3>{l s='Download'}</h3>
|
||||
<ul>
|
||||
{foreach from=$attachments item=attachment}
|
||||
<li><a href="{$link->getPageLink('attachment', true, NULL, "id_attachment={$attachment.id_attachment}")|escape:'html'}" data-ajax="false">{$attachment.name|escape:'htmlall':'UTF-8'}</a><br />{$attachment.description|escape:'htmlall':'UTF-8'}</li>
|
||||
<li><a href="{$link->getPageLink('attachment', true, NULL, "id_attachment={$attachment.id_attachment}")|escape:'html'}" data-ajax="false">{$attachment.name|escape:'html':'UTF-8'}</a><br />{$attachment.description|escape:'html':'UTF-8'}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -43,14 +43,14 @@
|
||||
{foreach from=$accessories item=accessory name=accessories_list}
|
||||
{assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)}
|
||||
<li class="ajax_block_product {if $smarty.foreach.accessories_list.last}last_item{else}item{/if} product_accessories_description clearfix">
|
||||
<a href="{$accessoryLink|escape:'htmlall':'UTF-8'}" data-ajax="false">
|
||||
<a href="{$accessoryLink|escape:'html':'UTF-8'}" data-ajax="false">
|
||||
<div class="clearfix" >
|
||||
<div class="col-left" style="width:{$mediumSize.width+10}px;">
|
||||
<img src="{$link->getImageLink($accessory.link_rewrite, $accessory.id_image, 'medium_default')|escape:'html'}" alt="{$accessory.legend|escape:'htmlall':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" />
|
||||
<img src="{$link->getImageLink($accessory.link_rewrite, $accessory.id_image, 'medium_default')|escape:'html'}" alt="{$accessory.legend|escape:'html':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" />
|
||||
</div><!-- .col-left -->
|
||||
<div class="col-right">
|
||||
<div class="inner">
|
||||
<p class="s_title_block">{$accessory.name|escape:'htmlall':'UTF-8'}</p>
|
||||
<p class="s_title_block">{$accessory.name|escape:'html':'UTF-8'}</p>
|
||||
<p>{$accessory.description_short|strip_tags|truncate:70:'...'}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -62,7 +62,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
<div class="btn-row">
|
||||
<a class="" data-theme="a" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-r" href="{$accessoryLink|escape:'htmlall':'UTF-8'}" title="{l s='View'}" data-ajax="false">{l s='View'}</a>
|
||||
<a class="" data-theme="a" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-r" href="{$accessoryLink|escape:'html':'UTF-8'}" title="{l s='View'}" data-ajax="false">{l s='View'}</a>
|
||||
{assign var="btn_more" value=""}
|
||||
{assign var="btn_href" value=""}
|
||||
{assign var="btn_class" value=""}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<div data-role="header" class="ui-bar-a list_view">
|
||||
{assign var=image_cover value=$product->getCover($product->id)}
|
||||
{assign var=imageIds value="`$product->id`-`$image_cover.id_image`"}
|
||||
<img id="bigpic" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'large_default')|escape:'html'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" />
|
||||
<img id="bigpic" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'large_default')|escape:'html'}" alt="{$product->name|escape:'html':'UTF-8'}" />
|
||||
<div class="thumbs_list">
|
||||
<ul id="gallery" class="thumbs_list_frame clearfix">
|
||||
{foreach from=$images item=image name=thumbnails}
|
||||
|
||||
@@ -66,7 +66,7 @@ function initProductPage()
|
||||
ProductFn.maxQuantityToAllowDisplayOfLastQuantityMessage = {$last_qties};
|
||||
{if $no_tax == 1}ProductFn.noTaxForThisProduct = true;{/if}
|
||||
ProductFn.displayPrice = {$priceDisplay};
|
||||
ProductFn.productReference = '{$product->reference|escape:'htmlall':'UTF-8'}';
|
||||
ProductFn.productReference = '{$product->reference|escape:'html':'UTF-8'}';
|
||||
ProductFn.productAvailableForOrder = {if (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE}'0'{else}'{$product->available_for_order}'{/if};
|
||||
{if !$PS_CATALOG_MODE}ProductFn.productShowPrice = '{$product->show_price}';{/if}
|
||||
ProductFn.productUnitPriceRatio = '{$product->unit_price_ratio}';
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
{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}
|
||||
<p class="unit-price"><span id="unit_price_display">{convertPrice price=$unit_price}</span> {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}</p>
|
||||
<p class="unit-price"><span id="unit_price_display">{convertPrice price=$unit_price}</span> {l s='per'} {$product->unity|escape:'html':'UTF-8'}</p>
|
||||
{/if}
|
||||
</div><!-- .price -->
|
||||
</div><!-- .content_prices -->
|
||||
@@ -23,7 +23,7 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{capture assign='page_title'}{$product->name|escape:'htmlall':'UTF-8'}{/capture}
|
||||
{capture assign='page_title'}{$product->name|escape:'html':'UTF-8'}{/capture}
|
||||
{include file='./page-title.tpl'}
|
||||
|
||||
{include file='./product-js.tpl'}
|
||||
@@ -49,7 +49,7 @@
|
||||
<h3>{l s='Pack content'}</h3>
|
||||
{foreach from=$packItems item=packItem}
|
||||
<div class="pack_content">
|
||||
{$packItem.pack_quantity} x <a href="{$link->getProductLink($packItem.id_product, $packItem.link_rewrite, $packItem.category)|escape:'html'}" data-ajax="false">{$packItem.name|escape:'htmlall':'UTF-8'}</a>
|
||||
{$packItem.pack_quantity} x <a href="{$link->getProductLink($packItem.id_product, $packItem.link_rewrite, $packItem.category)|escape:'html'}" data-ajax="false">{$packItem.name|escape:'html':'UTF-8'}</a>
|
||||
<p>{$packItem.description_short}</p>
|
||||
</div>
|
||||
{/foreach}
|
||||
@@ -73,7 +73,7 @@
|
||||
<div id="product_reference" {if isset($groups) OR !$product->reference}style="display: none;"{/if}>
|
||||
<br />
|
||||
<label>{l s='Reference:'} </label>
|
||||
<span class="editable">{$product->reference|escape:'htmlall':'UTF-8'}</span>
|
||||
<span class="editable">{$product->reference|escape:'html':'UTF-8'}</span>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
{capture assign='page_title'}
|
||||
{l s='Search'}
|
||||
{if $nbProducts > 0}
|
||||
"{if isset($search_query) && $search_query}{$search_query|escape:'htmlall':'UTF-8'}{elseif $search_tag}{$search_tag|escape:'htmlall':'UTF-8'}{elseif $ref}{$ref|escape:'htmlall':'UTF-8'}{/if}"
|
||||
"{if isset($search_query) && $search_query}{$search_query|escape:'html':'UTF-8'}{elseif $search_tag}{$search_tag|escape:'html':'UTF-8'}{elseif $ref}{$ref|escape:'html':'UTF-8'}{/if}"
|
||||
{/if}
|
||||
{/capture}
|
||||
{include file='./page-title.tpl'}
|
||||
@@ -57,9 +57,9 @@
|
||||
{else}
|
||||
<p class="warning">
|
||||
{if isset($search_query) && $search_query}
|
||||
{l s='No results were found for your search'} "{if isset($search_query)}{$search_query|escape:'htmlall':'UTF-8'}{/if}"
|
||||
{l s='No results were found for your search'} "{if isset($search_query)}{$search_query|escape:'html':'UTF-8'}{/if}"
|
||||
{elseif isset($search_tag) && $search_tag}
|
||||
{l s='No results were found for your search'} "{$search_tag|escape:'htmlall':'UTF-8'}"
|
||||
{l s='No results were found for your search'} "{$search_tag|escape:'html':'UTF-8'}"
|
||||
{else}
|
||||
{l s='Please enter a search keyword'}
|
||||
{/if}
|
||||
|
||||
@@ -25,13 +25,13 @@
|
||||
|
||||
<tr id="product_{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}{if !empty($product.gift)}_gift{/if}" class="{if isset($productLast) && $productLast && (!isset($ignoreProductLast) || !$ignoreProductLast)}last_item{elseif isset($productFirst) && $productFirst}first_item{/if} {if isset($customizedDatas.$productId.$productAttributeId) AND $quantityDisplayed == 0}alternate_item{/if} cart_item address_{$product.id_address_delivery|intval} {if $odd}odd{else}even{/if}">
|
||||
<td class="cart_product">
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small_default')|escape:'html'}" alt="{$product.name|escape:'htmlall':'UTF-8'}" {if isset($smallSize)}width="{$smallSize.width}" height="{$smallSize.height}" {/if} /></a>
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|escape:'html':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small_default')|escape:'html'}" alt="{$product.name|escape:'html':'UTF-8'}" {if isset($smallSize)}width="{$smallSize.width}" height="{$smallSize.height}" {/if} /></a>
|
||||
</td>
|
||||
<td class="cart_description">
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'}</a>
|
||||
{if isset($product.attributes) && $product.attributes}<p style="font-size:.9em"><a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|escape:'htmlall':'UTF-8'}">{$product.attributes|escape:'htmlall':'UTF-8'}</a></p>{/if}
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|escape:'html':'UTF-8'}">{$product.name|escape:'html':'UTF-8'}</a>
|
||||
{if isset($product.attributes) && $product.attributes}<p style="font-size:.9em"><a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|escape:'html':'UTF-8'}">{$product.attributes|escape:'html':'UTF-8'}</a></p>{/if}
|
||||
</td>
|
||||
<td class="cart_ref">{if $product.reference}{$product.reference|escape:'htmlall':'UTF-8'}{else}--{/if}</td>
|
||||
<td class="cart_ref">{if $product.reference}{$product.reference|escape:'html':'UTF-8'}{else}--{/if}</td>
|
||||
<td class="cart_unit">
|
||||
<span class="price" id="product_price_{$product.id_product}_{$product.id_product_attribute}_{$product.id_address_delivery|intval}{if !empty($product.gift)}_gift{/if}">
|
||||
{if !empty($product.gift)}
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
{include file="./category-tree-branch.tpl" node=$categoriesTree.children.$i}
|
||||
{else}
|
||||
<li data-icon="arrow-d">
|
||||
<a href="{$categoriesTree.children.$i.link|escape:'htmlall':'UTF-8'}" title="{$categoriesTree.children.$i.desc|escape:'htmlall':'UTF-8'}">
|
||||
{$categoriesTree.children.$i.name|escape:'htmlall':'UTF-8'}
|
||||
<a href="{$categoriesTree.children.$i.link|escape:'html':'UTF-8'}" title="{$categoriesTree.children.$i.desc|escape:'html':'UTF-8'}">
|
||||
{$categoriesTree.children.$i.name|escape:'html':'UTF-8'}
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
@@ -88,7 +88,7 @@
|
||||
{/foreach}
|
||||
{/if}
|
||||
{foreach from=$categoriescmsTree.cms item=cms name=cmsTree}
|
||||
<li><a href="{$cms.link|escape:'htmlall':'UTF-8'}" title="{$cms.meta_title|escape:'htmlall':'UTF-8'}">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<li><a href="{$cms.link|escape:'html':'UTF-8'}" title="{$cms.meta_title|escape:'html':'UTF-8'}">{$cms.meta_title|escape:'html':'UTF-8'}</a></li>
|
||||
{/foreach}
|
||||
<li><a href="{$link->getPageLink('contact', true)|escape:'html'}" title="{l s='Contact'}">{l s='Contact'}</a></li>
|
||||
{if $display_store}<li><a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='Our stores'}">{l s='Our stores'}</a></li>{/if}
|
||||
|
||||
@@ -50,12 +50,12 @@
|
||||
{foreach $suppliers_list as $supplier}
|
||||
<li data-corners="false" data-shadow="false" data-iconshadow="true" data-inline="false" data-wrapperels="div" data-icon="arrow-r" data-iconpos="right" data-theme="c" class="clearfix {if $supplier@first}first_item{elseif $supplier@last}last_item{else}item{/if}">
|
||||
{if $supplier.nb_products > 0}
|
||||
<a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$supplier.name|escape:'htmlall':'UTF-8'}" data-ajax="false">
|
||||
<a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'html':'UTF-8'}" title="{$supplier.name|escape:'html':'UTF-8'}" data-ajax="false">
|
||||
{/if}
|
||||
<!-- logo -->
|
||||
<img src="{$img_sup_dir}{$supplier.image|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt="" width="80" />
|
||||
<img src="{$img_sup_dir}{$supplier.image|escape:'html':'UTF-8'}-medium_default.jpg" alt="" width="80" />
|
||||
<!-- name -->
|
||||
<h3>{$supplier.name|truncate:60:'...'|escape:'htmlall':'UTF-8'}</h3>
|
||||
<h3>{$supplier.name|truncate:60:'...'|escape:'html':'UTF-8'}</h3>
|
||||
<p>
|
||||
{if $supplier.nb_products == 1}
|
||||
{l s='%d product' sprintf=$supplier.nb_products|intval}
|
||||
|
||||
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user