// W3C
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<p>{l s='We\'re sorry, but the Web address you\'ve entered is no longer available.'}</p>
|
||||
<p>{l s='To find a product, please type its name in the field below.'}</p>
|
||||
<div data-role="fieldcontain" class="input_search_404">
|
||||
<form action="{$link->getPageLink('search')}" method="post" class="std">
|
||||
<form action="{$link->getPageLink('search')|escape:'html'}" method="post" class="std">
|
||||
<input type="search" name="search_query" id="search_query" value="{l s='Search'}" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -84,7 +84,7 @@ $(document).ready(function() {
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
<form action="{$link->getPageLink('address', true)}" method="post" id="add_address" data-ajax="false">
|
||||
<form action="{$link->getPageLink('address', true)|escape:'html'}" method="post" id="add_address" data-ajax="false">
|
||||
<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>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{include file='./page-title.tpl'}
|
||||
|
||||
<div data-role="content" id="content">
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)}" data-ajax="false">{l s='My account'}</a>
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)|escape:'html'}" data-ajax="false">{l s='My account'}</a>
|
||||
<p>{l s='Please configure your default billing and delivery addresses when placing an order. You may also add additional addresses, which can be useful for sending gifts or receiving an order at your office.'}</p>
|
||||
<div>
|
||||
{if isset($multipleAddresses) && $multipleAddresses}
|
||||
@@ -38,7 +38,7 @@
|
||||
<ul data-role="listview" data-theme="g">
|
||||
{foreach from=$multipleAddresses item=address name=myLoop}
|
||||
<li>
|
||||
<a href="{$link->getPageLink('address', true, null, "id_address={$address.object.id|intval}")}" title="{l s='Update'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('address', true, null, "id_address={$address.object.id|intval}")|escape:'html'}" title="{l s='Update'}" data-ajax="false">
|
||||
<p class="title_block">{$address.object.alias}</p>
|
||||
{foreach from=$address.ordered name=adr_loop item=pattern}
|
||||
{assign var=addressKey value=" "|explode:$pattern}
|
||||
@@ -55,7 +55,7 @@
|
||||
{else}
|
||||
<p class="warning">{l s='No addresses are available.'}</p>
|
||||
{/if}
|
||||
<a href="{$link->getPageLink('address', true)}" data-role="button" data-theme="a" data-ajax="false">{l s='Add a new address'}</a>
|
||||
<a href="{$link->getPageLink('address', true)|escape:'html'}" data-role="button" data-theme="a" data-ajax="false">{l s='Add a new address'}</a>
|
||||
</div>
|
||||
|
||||
{include file='./sitemap.tpl'}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div data-role="content" id="content">
|
||||
|
||||
<form action="{$link->getPageLink('authentication', true)}" method="post" id="create-account_form" class="std login_form" data-ajax="false">
|
||||
<form action="{$link->getPageLink('authentication', true)|escape:'html'}" method="post" id="create-account_form" class="std login_form" data-ajax="false">
|
||||
<h2>{l s='Create an account'}</h2>
|
||||
<div class="form_content clearfix">
|
||||
<p class="title_block">{l s='Enter your email address to create an account'}.</p>
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
<hr/>
|
||||
|
||||
<form action="{$link->getPageLink('authentication', true)}" method="post" class="login_form">
|
||||
<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" />
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<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" />
|
||||
<p class="forget_pwd"><a href="{$link->getPageLink('password')}" data-ajax="false">{l s='Forgot your password?'}</a></p>
|
||||
<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>
|
||||
</form>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<form action="{$link->getPageLink('authentication', true)}" method="post" id="account-creation_form" class="std">
|
||||
<form action="{$link->getPageLink('authentication', true)|escape:'html'}" method="post" id="account-creation_form" class="std">
|
||||
{$HOOK_CREATE_ACCOUNT_TOP}
|
||||
<fieldset class="account_creation">
|
||||
<h3>{l s='Your personal information'}</h3>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{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')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" /></div>
|
||||
<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>
|
||||
{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">
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{include file='./page-title.tpl'}
|
||||
|
||||
<div data-role="content" id="content">
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)}" data-ajax="false">{l s='My account'}</a>
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)|escape:'html'}" data-ajax="false">{l s='My account'}</a>
|
||||
|
||||
{if isset($discount) && count($discount) && $nbDiscounts}
|
||||
<table class="discount std table_block">
|
||||
|
||||
@@ -35,11 +35,11 @@
|
||||
<div data-role="footer" data-theme="a" id="bar_footer">
|
||||
<div id="link_bar_footer" class="ui-grid-a">
|
||||
<div class="ui-block-a">
|
||||
<a href="{$link->getPageLink('index', true)}" data-ajax="false">{$PS_SHOP_NAME}</a>
|
||||
<a href="{$link->getPageLink('index', true)|escape:'html'}" data-ajax="false">{$PS_SHOP_NAME}</a>
|
||||
</div>
|
||||
{if $conditions}
|
||||
<div class="ui-block-b">
|
||||
<a href="{$link->getCMSLink($id_cgv)}" data-ajax="false">{l s='Terms of service'}</a>
|
||||
<a href="{$link->getCMSLink($id_cgv)|escape:'html'}" data-ajax="false">{l s='Terms of service'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -69,12 +69,12 @@
|
||||
<div class="ui-block-b">
|
||||
<div id="block_cart" class="clearfix">
|
||||
{if !$PS_CATALOG_MODE}
|
||||
<a href="{$link->getPageLink('order-opc', true)}" class="link_cart" data-ajax="false">{l s='Cart'}</a>
|
||||
<a href="{$link->getPageLink('order-opc', true)|escape:'html'}" class="link_cart" data-ajax="false">{l s='Cart'}</a>
|
||||
{/if}
|
||||
{if $logged}
|
||||
<a href="{$link->getPageLink('my-account', true)}" class="link_account" data-ajax="false">{l s='My account'}</a>
|
||||
<a href="{$link->getPageLink('my-account', true)|escape:'html'}" class="link_account" data-ajax="false">{l s='My account'}</a>
|
||||
{else}
|
||||
<a href="{$link->getPageLink('authentication', true)}" class="link_account" data-ajax="false">{l s='Authentication'}</a>
|
||||
<a href="{$link->getPageLink('authentication', true)|escape:'html'}" class="link_account" data-ajax="false">{l s='Authentication'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
{hook h="displayMobileTop"}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{include file='./page-title.tpl'}
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
<div data-role="content" id="content">
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)}" data-ajax="false">{l s='My account'}</a>
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)|escape:'html'}" data-ajax="false">{l s='My account'}</a>
|
||||
|
||||
<p>{l s='Here are the orders you\'ve placed since your account was created.'}.</p>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
{foreach from=$orders item=order name=myLoop}
|
||||
<li>
|
||||
{assign var="id_order" value={$order.id_order|intval}}
|
||||
<a class="color-myaccount" id="order-{$id_order}" href="{$link->getPageLink('order-detail', true, null, "id_order=$id_order")}" data-ajax="false">
|
||||
<a class="color-myaccount" id="order-{$id_order}" href="{$link->getPageLink('order-detail', true, null, "id_order=$id_order")|escape:'html'}" data-ajax="false">
|
||||
{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>
|
||||
@@ -48,7 +48,7 @@
|
||||
<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}
|
||||
<a rel="external" data-iconshadow="false" href="{$link->getPageLink('pdf-invoice', true, NULL, "id_order={$order.id_order}")}" title="{l s='Invoice'}" data-ajax="false">
|
||||
<a rel="external" data-iconshadow="false" href="{$link->getPageLink('pdf-invoice', true, NULL, "id_order={$order.id_order}")|escape:'html'}" title="{l s='Invoice'}" data-ajax="false">
|
||||
{l s='PDF'}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{include file='./page-title.tpl'}
|
||||
|
||||
<div data-role="content" id="content">
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)}" data-ajax="false">{l s='My account'}</a>
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)|escape:'html'}" data-ajax="false">{l s='My account'}</a>
|
||||
|
||||
{include file="./errors.tpl"}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
{else}
|
||||
<h3>{l s='Please be sure to update your personal information if it has changed.'}</h3>
|
||||
<p class="required bold"><sup>*</sup>{l s='Required field'}</p>
|
||||
<form action="{$link->getPageLink('identity', true)}" method="post" class="std">
|
||||
<form action="{$link->getPageLink('identity', true)|escape:'html'}" method="post" class="std">
|
||||
<label>{l s='Title'}</label>
|
||||
<fieldset data-role="controlgroup">
|
||||
{foreach from=$genders key=k item=gender}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
{if !isset($errors) OR !sizeof($errors)}
|
||||
|
||||
<div data-role="content" id="content">
|
||||
<p><a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('manufacturer', true)}" data-ajax="false">{l s='Manufacturers:'}</a></p>
|
||||
<p><a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('manufacturer', true)|escape:'html'}" data-ajax="false">{l s='Manufacturers:'}</a></p>
|
||||
{if !empty($manufacturer->description) || !empty($manufacturer->short_description)}
|
||||
<div class="category_desc clearfix">
|
||||
{if !empty($manufacturer->short_description)}
|
||||
|
||||
@@ -32,47 +32,47 @@
|
||||
<ul data-role="listview" data-inset="true" id="list_myaccount">
|
||||
{if $has_customer_an_address}
|
||||
<li>
|
||||
<a href="{$link->getPageLink('address', true)}" title="{l s='Add my first address'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('address', true)|escape:'html'}" title="{l s='Add my first address'}" data-ajax="false">
|
||||
<img src="{$img_mobile_dir}icon/addrbook.png" alt="{l s='Addresses'}" class="ui-li-icon ui-li-thumb" />
|
||||
{l s='Add my first address'}
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
<a href="{$link->getPageLink('history', true)}" title="{l s='Orders'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('history', true)|escape:'html'}" title="{l s='Orders'}" data-ajax="false">
|
||||
<img src="{$img_mobile_dir}icon/order.png" alt="{l s='Orders'}" class="ui-li-icon ui-li-thumb" />
|
||||
{l s='Order history and details '}
|
||||
</a>
|
||||
</li>
|
||||
{if $returnAllowed}
|
||||
<li>
|
||||
<a href="{$link->getPageLink('order-follow', true)}" title="{l s='Merchandise returns'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('order-follow', true)|escape:'html'}" title="{l s='Merchandise returns'}" data-ajax="false">
|
||||
<img src="{$img_mobile_dir}icon/return.png" alt="{l s='Merchandise returns'}" class="ui-li-icon ui-li-thumb" />
|
||||
{l s='My merchandise returns'}
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
<a href="{$link->getPageLink('order-slip', true)}" title="{l s='Credit slips'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('order-slip', true)|escape:'html'}" title="{l s='Credit slips'}" data-ajax="false">
|
||||
<img src="{$img_mobile_dir}icon/slip.png" alt="{l s='Credit slips'}" class="ui-li-icon ui-li-thumb" />
|
||||
{l s='My credit slips'}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$link->getPageLink('addresses', true)}" title="{l s='Addresses'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('addresses', true)|escape:'html'}" title="{l s='Addresses'}" data-ajax="false">
|
||||
<img src="{$img_mobile_dir}icon/addrbook.png" alt="{l s='Addresses'}" class="ui-li-icon ui-li-thumb" />
|
||||
{l s='My addresses'}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$link->getPageLink('identity', true)}" title="{l s='Information'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('identity', true)|escape:'html'}" title="{l s='Information'}" data-ajax="false">
|
||||
<img src="{$img_mobile_dir}icon/userinfos.png" alt="{l s='Information'}" class="ui-li-icon ui-li-thumb" />
|
||||
{l s='My personal information'}
|
||||
</a>
|
||||
</li>
|
||||
{if $voucherAllowed}
|
||||
<li>
|
||||
<a href="{$link->getPageLink('discount', true)}" title="{l s='Vouchers'}" data-ajax="false">
|
||||
<a href="{$link->getPageLink('discount', true)|escape:'html'}" title="{l s='Vouchers'}" data-ajax="false">
|
||||
<img src="{$img_mobile_dir}icon/voucher.png" alt="{l s='Vouchers'}" class="ui-li-icon ui-li-thumb" />
|
||||
{l s='My vouchers'}
|
||||
</a>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
var txtProducts = "{l s='products' js=1}";
|
||||
{/if}
|
||||
|
||||
var addressMultishippingUrl = "{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1{'&multi-shipping=1'|urlencode}{if $back}&mod={$back|urlencode}{/if}")}";
|
||||
var addressUrl = "{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1{if $back}&mod={$back}{/if}")}";
|
||||
var addressMultishippingUrl = "{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1{'&multi-shipping=1'|urlencode}{if $back}&mod={$back|urlencode}{/if}")|escape:'html'}";
|
||||
var addressUrl = "{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1{if $back}&mod={$back}{/if}")|escape:'html'}";
|
||||
|
||||
var formatedAddressFieldsValuesList = new Array();
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
dest_comp.html('');
|
||||
|
||||
li_content['title'] = adr_titles_vals[address_type];
|
||||
li_content['update'] = '<a href="{$link->getPageLink('address', true, NULL, "id_address")}'+id_address+'&back={$back_order_page}?step=1{if $back}&mod={$back}{/if}" title="{l s='Update' js=1}" style="font-size:.9em;font-weight:normal;padding:8px 0;display:block;text-align:right">» {l s='Update' js=1}</a>';
|
||||
li_content['update'] = '<a href="{$link->getPageLink('address', true, NULL, "id_address")|escape:'html'}'+id_address+'&back={$back_order_page}?step=1{if $back}&mod={$back}{/if}" title="{l s='Update' js=1}" style="font-size:.9em;font-weight:normal;padding:8px 0;display:block;text-align:right">» {l s='Update' js=1}</a>';
|
||||
|
||||
appendAddressList(dest_comp, li_content, ordered_fields_name);
|
||||
}
|
||||
@@ -118,13 +118,13 @@
|
||||
<div class="button_multishipping_mode" id="multishipping_mode_box">
|
||||
<div class="title">{l s='Multi-shipping'}</div>
|
||||
<div class="description">
|
||||
<a href="{$link->getPageLink('order', true, NULL, 'step=1&multi-shipping=1')}"/>
|
||||
<a href="{$link->getPageLink('order', true, NULL, 'step=1&multi-shipping=1')|escape:'html'}"/>
|
||||
{l s='Specify a delivery address for each product ordered.'}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<form action="{$link->getPageLink($back_order_page, true)}" method="post" data-ajax="false">
|
||||
<form action="{$link->getPageLink($back_order_page, true)|escape:'html'}" method="post" data-ajax="false">
|
||||
{else}
|
||||
{if {Configuration::get('PS_ALLOW_MULTISHIPPING')} && !$cart->isVirtualCart()}
|
||||
<div class="address-form-multishipping">
|
||||
@@ -134,7 +134,7 @@
|
||||
<input type="checkbox" id="multishipping_mode_checkbox" onchange="multishippingMode(this); return false;"/><label for="multishipping_mode_checkbox">{l s='I\'d like to specify a delivery address for each product ordered.'}</label>
|
||||
</div>
|
||||
<div class="description_off">
|
||||
<a href="{$link->getPageLink('order-opc', true, NULL, 'ajax=1&multi-shipping=1&method=multishipping')}" id="link_multishipping_form" title="{l s='Choose the delivery address(es)'}">
|
||||
<a href="{$link->getPageLink('order-opc', true, NULL, 'ajax=1&multi-shipping=1&method=multishipping')|escape:'html'}" id="link_multishipping_form" title="{l s='Choose the delivery address(es)'}">
|
||||
{l s='Specify a delivery address for each product.'}
|
||||
</a>
|
||||
</div>
|
||||
@@ -178,7 +178,7 @@
|
||||
{/section}
|
||||
</select>
|
||||
{else}
|
||||
<a style="margin-left: 221px;" href="{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1&select_address=1{if $back}&mod={$back}{/if}")}" title="{l s='Add'}" class="button_large">{l s='Add a new address'}</a>
|
||||
<a style="margin-left: 221px;" href="{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1&select_address=1{if $back}&mod={$back}{/if}")|escape:'html'}" title="{l s='Add'}" class="button_large">{l s='Add a new address'}</a>
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
@@ -196,7 +196,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<p class="address_add submit">
|
||||
<a href="{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1{if $back}&mod={$back}{/if}")}" title="{l s='Add'}" class="button_large" data-role="button" data-icon="plus">{l s='Add a new address'}</a>
|
||||
<a href="{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1{if $back}&mod={$back}{/if}")|escape:'html'}" title="{l s='Add'}" class="button_large" data-role="button" data-icon="plus">{l s='Add a new address'}</a>
|
||||
</p>
|
||||
{if !$opc}
|
||||
<div id="ordermsg" class="clearfix">
|
||||
@@ -209,7 +209,7 @@
|
||||
<fieldset class="cart_navigation submit ui-grid-a">
|
||||
<input type="hidden" class="hidden" name="step" value="2" />
|
||||
<input type="hidden" name="back" value="{$back}" />
|
||||
<div class="ui-block-a"><a href="{$link->getPageLink($back_order_page, true, NULL, "step=0{if $back}&back={$back}{/if}")}" title="{l s='Previous'}" data-role="button" data-icon="back" data-ajax="false">« {l s='Previous'}</a></div>
|
||||
<div class="ui-block-a"><a href="{$link->getPageLink($back_order_page, true, NULL, "step=0{if $back}&back={$back}{/if}")|escape:'html'}" title="{l s='Previous'}" data-role="button" data-icon="back" data-ajax="false">« {l s='Previous'}</a></div>
|
||||
<div class="ui-block-b"><input type="submit" name="processAddress" value="{l s='Next'}" class="exclusive" data-icon="check" data-iconpos="right" data-theme="b" /></div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var currencyBlank = '{$currencyBlank|intval}';
|
||||
var txtProduct = "{l s='product' js=1}";
|
||||
var txtProducts = "{l s='products' js=1}";
|
||||
var orderUrl = '{$link->getPageLink("order", true)}';
|
||||
var orderUrl = '{$link->getPageLink("order", true)|escape:'html'}';
|
||||
|
||||
var msg = "{l s='You must agree to the terms of service before continuing.' js=1}";
|
||||
{literal}
|
||||
@@ -67,7 +67,7 @@
|
||||
{assign var='current_step' value='shipping'}
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
<form id="form" action="{$link->getPageLink('order', true, NULL, "multi-shipping={$multi_shipping}")}" method="post" onsubmit="return acceptCGV();" data-ajax="false">
|
||||
<form id="form" action="{$link->getPageLink('order', true, NULL, "multi-shipping={$multi_shipping}")|escape:'html'}" method="post" onsubmit="return acceptCGV();" data-ajax="false">
|
||||
{else}
|
||||
<div id="opc_delivery_methods" class="opc-main-block">
|
||||
<div id="opc_delivery_methods-overlay" class="opc-overlay" style="display: none;"></div>
|
||||
@@ -237,7 +237,7 @@
|
||||
<fieldset class="cart_navigation submit ui-grid-a">
|
||||
<input type="hidden" class="hidden" name="step" value="3" />
|
||||
<input type="hidden" name="back" value="{$back}" />
|
||||
<div class="ui-block-a"><a href="{$link->getPageLink($back_order_page, true, NULL, "step=1{if $back}&back={$back}{/if}")}" title="{l s='Previous'}" data-role="button" data-icon="back" data-ajax="false">« {l s='Previous'}</a></div>
|
||||
<div class="ui-block-a"><a href="{$link->getPageLink($back_order_page, true, NULL, "step=1{if $back}&back={$back}{/if}")|escape:'html'}" title="{l s='Previous'}" data-role="button" data-icon="back" data-ajax="false">« {l s='Previous'}</a></div>
|
||||
<div class="ui-block-b"><input type="submit" name="processCarrier" value="{l s='Next'}" class="exclusive" data-icon="check" data-iconpos="right" data-theme="b" data-ajax="false" /></div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@@ -89,9 +89,9 @@
|
||||
<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}")}" title="{l s='Download this product'}" data-ajax="false">
|
||||
<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">
|
||||
{else}
|
||||
<a href="{$link->getPageLink('get-file', true, NULL, "key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}")}" title="{l s='Download this product'}" data-ajax="false">
|
||||
<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">
|
||||
{/if}
|
||||
<img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Download product'}" />
|
||||
{$product.product_name|escape:'htmlall':'UTF-8'}
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
{if isset($opc) && $opc}
|
||||
{assign var='type_order' value="order-opc"}
|
||||
{/if}
|
||||
<a data-icon="refresh" data-role="button" data-theme="e" href="{$link->getPageLink({$type_order}, true, NULL, "submitReorder&id_order={$order->id|intval}")}" title="{l s='Reorder'}" data-ajax="false">
|
||||
<a data-icon="refresh" data-role="button" data-theme="e" href="{$link->getPageLink({$type_order}, true, NULL, "submitReorder&id_order={$order->id|intval}")|escape:'html'}" title="{l s='Reorder'}" data-ajax="false">
|
||||
{l s='Reorder'}
|
||||
</a>
|
||||
</div>
|
||||
@@ -91,9 +91,9 @@
|
||||
<p>
|
||||
<img src="{$img_dir}icon/pdf.gif" alt="" class="icon" />
|
||||
{if $is_guest}
|
||||
<a href="{$link->getPageLink('pdf-invoice', true, NULL, "id_order={$order->id}&secure_key=$order->secure_key")}" >{l s='Download your invoice as a PDF file.'}</a>
|
||||
<a href="{$link->getPageLink('pdf-invoice', true, NULL, "id_order={$order->id}&secure_key=$order->secure_key")|escape:'html'}" >{l s='Download your invoice as a PDF file.'}</a>
|
||||
{else}
|
||||
<a href="{$link->getPageLink('pdf-invoice', true, NULL, "id_order={$order->id}")}" >{l s='Download your invoice as a PDF file.'}</a>
|
||||
<a href="{$link->getPageLink('pdf-invoice', true, NULL, "id_order={$order->id}")|escape:'html'}" >{l s='Download your invoice as a PDF file.'}</a>
|
||||
{/if}
|
||||
</p>
|
||||
{/if}
|
||||
@@ -143,7 +143,7 @@
|
||||
{*$HOOK_ORDERDETAILDISPLAYED*}
|
||||
{* / TO CHECK ==========================*}
|
||||
{if $return_allowed}<p>{l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. When complete, click the button below.'}</p>{/if}
|
||||
{if !$is_guest}<form action="{$link->getPageLink('order-follow', true)}" method="post">{/if}
|
||||
{if !$is_guest}<form action="{$link->getPageLink('order-follow', true)|escape:'html'}" method="post">{/if}
|
||||
<ul data-role="listview" data-inset="true">
|
||||
{foreach from=$products item=product name=products}
|
||||
{if !isset($product.deleted)}
|
||||
@@ -273,7 +273,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
{* / TO CHECK ==========================*}
|
||||
<form action="{$link->getPageLink('order-detail', true)}" method="post" class="std" id="sendOrderMessage">
|
||||
<form action="{$link->getPageLink('order-detail', true)|escape:'html'}" method="post" class="std" id="sendOrderMessage">
|
||||
<h3 class="bg">{l s='Add a message'}</h3>
|
||||
<p>{l s='If you would like to add a comment about your order, please write it in the field below.'}</p>
|
||||
<fieldset>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{include file='./page-title.tpl'}
|
||||
|
||||
<div data-role="content" id="content">
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)}" data-ajax="false">{l s='My account'}</a>
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)|escape:'html'}" data-ajax="false">{l s='My account'}</a>
|
||||
|
||||
{if isset($errorQuantity) && $errorQuantity}<p class="error">{l s='You do not have enough products to request an additional merchandise return.'}</p>{/if}
|
||||
{if isset($errorMsg) && $errorMsg}<p class="error">{l s='Please provide an explanation for your RMA.'}</p>{/if}
|
||||
@@ -51,14 +51,14 @@
|
||||
<tbody>
|
||||
{foreach from=$ordersReturn item=return name=myLoop}
|
||||
<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')}');" 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')}');" data-ajax="false">{l s='#'}{$return.id_order|string_format:"%06d"}</a></td>
|
||||
<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="bold">{dateFormat date=$return.date_add full=0}</td>
|
||||
<td class="history_invoice">
|
||||
{if $return.state == 2}
|
||||
<a href="{$link->getPageLink('pdf-order-return', true, NULL, "id_order_return={$return.id_order_return|intval}")}" title="{l s='Order return'} {l s='#'}{$return.id_order_return|string_format:"%06d"}" data-ajax="false"><img src="{$img_dir}icon/pdf.gif" alt="{l s='Order return'} {l s='#'}{$return.id_order_return|string_format:"%06d"}" class="icon" /></a>
|
||||
<a href="{$link->getPageLink('pdf-order-return', true, NULL, "id_order_return={$return.id_order_return|intval}")}" title="{l s='Order return'} {l s='#'}{$return.id_order_return|string_format:"%06d"}" data-ajax="false">{l s='Print out'}</a>
|
||||
<a href="{$link->getPageLink('pdf-order-return', true, NULL, "id_order_return={$return.id_order_return|intval}")|escape:'html'}" title="{l s='Order return'} {l s='#'}{$return.id_order_return|string_format:"%06d"}" data-ajax="false"><img src="{$img_dir}icon/pdf.gif" alt="{l s='Order return'} {l s='#'}{$return.id_order_return|string_format:"%06d"}" class="icon" /></a>
|
||||
<a href="{$link->getPageLink('pdf-order-return', true, NULL, "id_order_return={$return.id_order_return|intval}")|escape:'html'}" title="{l s='Order return'} {l s='#'}{$return.id_order_return|string_format:"%06d"}" data-ajax="false">{l s='Print out'}</a>
|
||||
{else}
|
||||
--
|
||||
{/if}
|
||||
|
||||
@@ -96,6 +96,6 @@
|
||||
{assign var="back_order_page" value="order.php"}
|
||||
{/if}
|
||||
|
||||
<p><a href="{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1{if $back}&mod={$back}{/if}")}" title="{l s='Add a new address'}" data-role="button" data-theme="e" data-icon="plus" data-ajax="false">{l s='Add a new address'}</a><br /></p>
|
||||
<p><a href="{$link->getPageLink('address', true, NULL, "back={$back_order_page}?step=1{if $back}&mod={$back}{/if}")|escape:'html'}" title="{l s='Add a new address'}" data-role="button" data-theme="e" data-icon="plus" data-ajax="false">{l s='Add a new address'}</a><br /></p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
var currencyBlank = '{$currencyBlank|intval}';
|
||||
var txtProduct = "{l s='product' js=1}";
|
||||
var txtProducts = "{l s='products' js=1}";
|
||||
var orderUrl = '{$link->getPageLink("order", true)}';
|
||||
var orderUrl = '{$link->getPageLink("order", true)|escape:'html'}';
|
||||
|
||||
var msg = "{l s='You must agree to the terms of service before continuing.' js=1}";
|
||||
{literal}
|
||||
|
||||
@@ -33,11 +33,11 @@
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var imgDir = '{$img_dir}';
|
||||
var authenticationUrl = '{$link->getPageLink("authentication", true)}';
|
||||
var orderOpcUrl = '{$link->getPageLink("order-opc", true)}';
|
||||
var historyUrl = '{$link->getPageLink("history", true)}';
|
||||
var guestTrackingUrl = '{$link->getPageLink("guest-tracking", true)}';
|
||||
var addressUrl = '{$link->getPageLink("address", true)}';
|
||||
var authenticationUrl = '{$link->getPageLink("authentication", true)|escape:'html'}';
|
||||
var orderOpcUrl = '{$link->getPageLink("order-opc", true)|escape:'html'}';
|
||||
var historyUrl = '{$link->getPageLink("history", true)|escape:'html'}';
|
||||
var guestTrackingUrl = '{$link->getPageLink("guest-tracking", true)|escape:'html'}';
|
||||
var addressUrl = '{$link->getPageLink("address", true)|escape:'html'}';
|
||||
var orderProcess = 'order-opc';
|
||||
var guestCheckoutEnabled = {$PS_GUEST_CHECKOUT_ENABLED|intval};
|
||||
var currencySign = '{$currencySign|html_entity_decode:2:"UTF-8"}';
|
||||
|
||||
@@ -255,12 +255,12 @@
|
||||
<span style="float:left">{if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if}</span>
|
||||
{else}
|
||||
<div style="float:right">
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_{$id_customization}" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_customization={$id_customization}&token={$token_cart}")}"><img src="{$img_dir}icon/delete.gif" alt="{l s='Delete'}" title="{l s='Delete this customization'}" width="11" height="13" class="icon" /></a>
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_{$id_customization}" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_customization={$id_customization}&token={$token_cart}")|escape:'html'}"><img src="{$img_dir}icon/delete.gif" alt="{l s='Delete'}" title="{l s='Delete this customization'}" width="11" height="13" class="icon" /></a>
|
||||
</div>
|
||||
<div id="cart_quantity_button" style="float:left">
|
||||
<a rel="nofollow" class="cart_quantity_up" id="cart_quantity_up_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}" href="{$link->getPageLink('cart', true, NULL, "add=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_customization={$id_customization}&token={$token_cart}")}" title="{l s='Add'}"><img src="{$img_dir}icon/quantity_up.gif" alt="{l s='Add'}" width="14" height="9" /></a><br />
|
||||
<a rel="nofollow" class="cart_quantity_up" id="cart_quantity_up_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}" href="{$link->getPageLink('cart', true, NULL, "add=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_customization={$id_customization}&token={$token_cart}")|escape:'html'}" title="{l s='Add'}"><img src="{$img_dir}icon/quantity_up.gif" alt="{l s='Add'}" width="14" height="9" /></a><br />
|
||||
{if $product.minimal_quantity < ($customization.quantity -$quantityDisplayed) OR $product.minimal_quantity <= 1}
|
||||
<a rel="nofollow" class="cart_quantity_down" id="cart_quantity_down_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}" href="{$link->getPageLink('cart', true, NULL, "add=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_customization={$id_customization}&op=down&token={$token_cart}")}" title="{l s='Subtract'}">
|
||||
<a rel="nofollow" class="cart_quantity_down" id="cart_quantity_down_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}" href="{$link->getPageLink('cart', true, NULL, "add=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_customization={$id_customization}&op=down&token={$token_cart}")|escape:'html'}" title="{l s='Subtract'}">
|
||||
<img src="{$img_dir}icon/quantity_down.gif" alt="{l s='Subtract'}" width="14" height="9" />
|
||||
</a>
|
||||
{else}
|
||||
@@ -325,7 +325,7 @@
|
||||
{/if}
|
||||
|
||||
{if !$opc}
|
||||
<p class="cart_navigation"><a href="{$link->getPageLink('order', true, NULL, "step=2{if $back}&back={$back}{/if}")}" title="{l s='Previous'}" data-role="button" data-icon="back" data-ajax="false">« {l s='Previous'}</a></p>
|
||||
<p class="cart_navigation"><a href="{$link->getPageLink('order', true, NULL, "step=2{if $back}&back={$back}{/if}")|escape:'html'}" title="{l s='Previous'}" data-role="button" data-icon="back" data-ajax="false">« {l s='Previous'}</a></p>
|
||||
{else}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{include file='./page-title.tpl'}
|
||||
|
||||
<div data-role="content" id="content">
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)}" data-ajax="false">{l s='My account'}</a>
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('my-account', true)|escape:'html'}" data-ajax="false">{l s='My account'}</a>
|
||||
|
||||
<p>{l s='Credit slips you have received after cancelled orders'}.</p>
|
||||
<div class="block-center" id="block-history">
|
||||
@@ -36,12 +36,12 @@
|
||||
{foreach from=$ordersSlip item=slip name=myLoop}
|
||||
<li>
|
||||
{assign var="id_order" value={$slip.id_order|intval}}
|
||||
<a class="color-myaccount" id="order-{$id_order}" href="{$link->getPageLink('order-detail', true, null, "id_order=$id_order")}" data-ajax="false">
|
||||
<a class="color-myaccount" id="order-{$id_order}" href="{$link->getPageLink('order-detail', true, null, "id_order=$id_order")|escape:'html'}" data-ajax="false">
|
||||
<h3>{l s='Credit slip'} {l s='#'}{$slip.id_order_slip|string_format:"%06d"}</h3>
|
||||
<p>{l s='Order'} {l s='#'}{$slip.id_order|string_format:"%06d"}</p>
|
||||
<span class="ui-li-aside">{dateFormat date=$slip.date_add full=0}</span>
|
||||
</a>
|
||||
<a rel="external" data-iconshadow="false" href="{$link->getPageLink('pdf-order-slip', true, NULL, "id_order_slip={$slip.id_order_slip|intval}")}" title="{l s='Credit slip'} {l s='#'}{$slip.id_order_slip|string_format:"%06d"}" data-ajax="false">
|
||||
<a rel="external" data-iconshadow="false" href="{$link->getPageLink('pdf-order-slip', true, NULL, "id_order_slip={$slip.id_order_slip|intval}")|escape:'html'}" title="{l s='Credit slip'} {l s='#'}{$slip.id_order_slip|string_format:"%06d"}" data-ajax="false">
|
||||
{l s='PDF'}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -26,14 +26,14 @@
|
||||
<hr/>
|
||||
<h2 class="site_map">{l s='Sitemap'}</h2>
|
||||
<ul data-role="listview" data-inset="true" id="category">
|
||||
{if $controller_name != 'index'}<li><a href="{$link->getPageLink('index', true)}" data-ajax="false">Accueil</a></li>{/if}
|
||||
{if $controller_name != 'index'}<li><a href="{$link->getPageLink('index', true)|escape:'html'}" data-ajax="false">Accueil</a></li>{/if}
|
||||
|
||||
{* need to set a Hook : hookMobilePagesList *}
|
||||
{* ===================================== *}
|
||||
<li><a href="{$link->getCategoryLink(3, false)}" data-ajax="false">IPod</a></li>
|
||||
<li><a href="{$link->getCategoryLink(4, false)}" data-ajax="false">Accessoires</a></li>
|
||||
<li><a href="{$link->getCategoryLink(3, false)|escape:'html'}" data-ajax="false">IPod</a></li>
|
||||
<li><a href="{$link->getCategoryLink(4, false)|escape:'html'}" data-ajax="false">Accessoires</a></li>
|
||||
{* ===================================== *}
|
||||
|
||||
{if $controller_name != 'my-account'}<li><a href="{$link->getPageLink('my-account', true)}" data-ajax="false">{l s='My account'}</a></li>{/if}
|
||||
{if $controller_name != 'contact'}<li><a href="{$link->getPageLink('contact', true)}" data-ajax="false">{l s='Contact'}</a></li>{/if}
|
||||
{if $controller_name != 'my-account'}<li><a href="{$link->getPageLink('my-account', true)|escape:'html'}" data-ajax="false">{l s='My account'}</a></li>{/if}
|
||||
{if $controller_name != 'contact'}<li><a href="{$link->getPageLink('contact', true)|escape:'html'}" data-ajax="false">{l s='Contact'}</a></li>{/if}
|
||||
</ul>
|
||||
|
||||
@@ -59,19 +59,19 @@
|
||||
<a {$no_follow_text} class="button_prev{if $p == 1} disabled{/if}" data-role="button" data-icon="arrow-l" data-iconpos="left" href="{if isset($p_previous)}{$link->goPage($requestPage, $p_previous)}{/if}" data-ajax="false">{l s='Previous'}</a>
|
||||
</li>
|
||||
{if $start>3}
|
||||
<li><a {$no_follow_text} href="{$link->goPage($requestPage, 1)}" data-ajax="false">1</a></li>
|
||||
<li><a {$no_follow_text} href="{$link->goPage($requestPage, 1)|escape:'html'}" data-ajax="false">1</a></li>
|
||||
<li class="truncate">...</li>
|
||||
{/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>
|
||||
{else}
|
||||
<li><a data-role="button" {$no_follow_text} href="{$link->goPage($requestPage, $smarty.section.pagination.index)}" 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:'htmlall':'UTF-8'}</a></li>
|
||||
{/if}
|
||||
{/section}
|
||||
{if $pages_nb>$stop+2}
|
||||
<li class="truncate">...</li>
|
||||
<li><a href="{$link->goPage($requestPage, $pages_nb)}" data-ajax="false">{$pages_nb|intval}</a></li>
|
||||
<li><a href="{$link->goPage($requestPage, $pages_nb)|escape:'html'}" data-ajax="false">{$pages_nb|intval}</a></li>
|
||||
{/if}
|
||||
{if $pages_nb > 1 AND $p != $pages_nb}
|
||||
{assign var='p_next' value=$p+1}
|
||||
|
||||
@@ -42,6 +42,6 @@
|
||||
</form>
|
||||
{/if}
|
||||
<p class="clear">
|
||||
<a href="{$link->getPageLink('authentication', true)}" title="{l s='Return to Login'}"><img src="{$img_dir}icon/my-account.gif" alt="{l s='Return to Login'}" class="icon" /></a><a href="{$link->getPageLink('authentication')}" title="{l s='Back to Login'}" data-ajax="false">{l s='Back to Login'}</a>
|
||||
<a href="{$link->getPageLink('authentication', true)}" title="{l s='Return to Login'}"><img src="{$img_dir}icon/my-account.gif" alt="{l s='Return to Login'}" class="icon" /></a><a href="{$link->getPageLink('authentication')|escape:'html'}" title="{l s='Back to Login'}" data-ajax="false">{l s='Back to Login'}</a>
|
||||
</p>
|
||||
</div><!-- /content -->
|
||||
|
||||
@@ -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}")}" 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:'htmlall':'UTF-8'}</a><br />{$attachment.description|escape:'htmlall':'UTF-8'}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -46,7 +46,7 @@
|
||||
<a href="{$accessoryLink|escape:'htmlall':'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')}" 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:'htmlall':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" />
|
||||
</div><!-- .col-left -->
|
||||
<div class="col-right">
|
||||
<div class="inner">
|
||||
|
||||
@@ -29,13 +29,13 @@
|
||||
<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')}" 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:'htmlall':'UTF-8'}" />
|
||||
<div class="thumbs_list">
|
||||
<ul id="gallery" class="thumbs_list_frame clearfix">
|
||||
{foreach from=$images item=image name=thumbnails}
|
||||
{assign var=imageIds value="`$product->id`-`$image.id_image`"}
|
||||
<li id="thumbnail_{$image.id_image}">
|
||||
<img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium_default')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" data-large="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')}" />
|
||||
<img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium_default')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" data-large="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')|escape:'html'}" />
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
@@ -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)}" 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:'htmlall':'UTF-8'}</a>
|
||||
<p>{$packItem.description_short}</p>
|
||||
</div>
|
||||
{/foreach}
|
||||
@@ -57,7 +57,7 @@
|
||||
{/if}
|
||||
|
||||
{if ($product->show_price AND !isset($restricted_country_mode)) OR isset($groups) OR $product->reference}
|
||||
<form id="buy_block" {if $PS_CATALOG_MODE AND !isset($groups) AND $product->quantity > 0}class="hidden"{/if} action="{$link->getPageLink('cart')}" method="post" data-ajax="false">
|
||||
<form id="buy_block" {if $PS_CATALOG_MODE AND !isset($groups) AND $product->quantity > 0}class="hidden"{/if} action="{$link->getPageLink('cart')|escape:'html'}" method="post" data-ajax="false">
|
||||
|
||||
<!-- hidden datas -->
|
||||
<p class="hidden">
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<input type="hidden" id="cart_product_address_delivery_id_{$product.id_product}" value="{$product.id_address_delivery}"/>
|
||||
|
||||
<div class="fl width-20">
|
||||
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small_default')}" class="img_product_cart" />
|
||||
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small_default')|escape:'html'}" class="img_product_cart" />
|
||||
</div>
|
||||
<div class="fl width-60 padding-left-5px">
|
||||
<h3>{$product.name}</h3>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<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')}" 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:'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>
|
||||
</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>
|
||||
@@ -62,9 +62,9 @@
|
||||
{/if}
|
||||
{if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0}
|
||||
<div class="cart_quantity_button">
|
||||
<a rel="nofollow" class="cart_quantity_up" id="cart_quantity_up_{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "add=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")}" title="{l s='Add'}"><img src="{$img_dir}icon/quantity_up.gif" alt="{l s='Add'}" width="14" height="9" /></a><br />
|
||||
<a rel="nofollow" class="cart_quantity_up" id="cart_quantity_up_{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "add=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")|escape:'html'}" title="{l s='Add'}"><img src="{$img_dir}icon/quantity_up.gif" alt="{l s='Add'}" width="14" height="9" /></a><br />
|
||||
{if $product.minimal_quantity < ($product.cart_quantity-$quantityDisplayed) OR $product.minimal_quantity <= 1}
|
||||
<a rel="nofollow" class="cart_quantity_down" id="cart_quantity_down_{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "add=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&op=down&token={$token_cart}")}" title="{l s='Subtract'}">
|
||||
<a rel="nofollow" class="cart_quantity_down" id="cart_quantity_down_{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "add=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&op=down&token={$token_cart}")|escape:'html'}" title="{l s='Subtract'}">
|
||||
<img src="{$img_dir}icon/quantity_down.gif" alt="{l s='Subtract'}" width="14" height="9" />
|
||||
</a>
|
||||
{else}
|
||||
@@ -96,7 +96,7 @@
|
||||
<td class="cart_delete">
|
||||
{if (!isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed) > 0 && empty($product.gift)}
|
||||
<div>
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")}">{l s='Delete'}</a>
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")|escape:'html'}">{l s='Delete'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<input type="hidden" id="cart_product_address_delivery_id_{$product.id_product}" value="{$product.id_address_delivery}"/>
|
||||
|
||||
<div class="fl width-20">
|
||||
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small_default')}" class="img_product_cart" />
|
||||
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small_default')|escape:'html'}" class="img_product_cart" />
|
||||
</div>
|
||||
<div class="fl width-60 padding-left-5px">
|
||||
<h3>{$product.name}</h3>
|
||||
@@ -58,7 +58,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</a>
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")}" data-ajax="false">{l s='Delete'}</a>
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")|escape:'html'}" data-ajax="false">{l s='Delete'}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{assign var='last_was_odd' value=$product@iteration%2}
|
||||
@@ -74,7 +74,7 @@
|
||||
{* Display the gift product line *}
|
||||
{include file="./shopping-cart-gift-line.tpl" productLast=$product@last productFirst=$product@first}
|
||||
</a>
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")}" data-ajax="false" style="display:none">{l s='Delete'}</a>
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")|escape:'html'}" data-ajax="false" style="display:none">{l s='Delete'}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
@@ -205,11 +205,11 @@
|
||||
</div><!-- /grid-a -->
|
||||
<br />
|
||||
{if $opc && $isLogged && !$isGuest}
|
||||
<a href="{$link->getPageLink('index', true)}" data-role="button" data-theme="a" data-icon="back" data-ajax="false">{l s='Continue shopping'}</a>
|
||||
<a href="{$link->getPageLink('index', true)|escape:'html'}" data-role="button" data-theme="a" data-icon="back" data-ajax="false">{l s='Continue shopping'}</a>
|
||||
{else}
|
||||
<ul data-role="listview" data-inset="true" id="list_myaccount">
|
||||
<li data-theme="a" data-icon="back">
|
||||
<a href="{$link->getPageLink('index', true)}" data-ajax="false">{l s='Continue shopping'}</a>
|
||||
<a href="{$link->getPageLink('index', true)|escape:'html'}" data-ajax="false">{l s='Continue shopping'}</a>
|
||||
</li>
|
||||
<li data-theme="b" data-icon="check">
|
||||
<a href="{if $back}{$link->getPageLink('order', true, NULL, 'step=1&back={$back}')}{else}{$link->getPageLink('order', true, NULL, 'step=1')}{/if}" data-ajax="false">{l s='Confirm order'}</a>
|
||||
|
||||
@@ -57,25 +57,25 @@
|
||||
<hr/>
|
||||
<h2>{l s='Sitemap'}</h2>
|
||||
<ul data-role="listview" data-inset="true" id="category">
|
||||
{if $controller_name != 'index'}<li><a href="{$link->getPageLink('index', true)}">{l s='Home'}</a></li>{/if}
|
||||
{if $controller_name != 'index'}<li><a href="{$link->getPageLink('index', true)|escape:'html'}">{l s='Home'}</a></li>{/if}
|
||||
<li>{l s='Our offers'}
|
||||
<ul data-role="listview" data-inset="true">
|
||||
<li><a href="{$link->getPageLink('new-products')}" title="{l s='New products'}">{l s='New products'}</a></li>
|
||||
<li><a href="{$link->getPageLink('new-products')|escape:'html'}" title="{l s='New products'}">{l s='New products'}</a></li>
|
||||
{if !$PS_CATALOG_MODE}
|
||||
<li><a href="{$link->getPageLink('prices-drop')}" title="{l s='Price drop'}">{l s='Price drop'}</a></li>
|
||||
<li><a href="{$link->getPageLink('best-sales', true)}" title="{l s='Best sellers'}">{l s='Best sellers'}</a></li>
|
||||
<li><a href="{$link->getPageLink('prices-drop')|escape:'html'}" title="{l s='Price drop'}">{l s='Price drop'}</a></li>
|
||||
<li><a href="{$link->getPageLink('best-sales', true)|escape:'html'}" title="{l s='Best sellers'}">{l s='Best sellers'}</a></li>
|
||||
{/if}
|
||||
{if $display_manufacturer_link OR $PS_DISPLAY_SUPPLIERS}<li><a href="{$link->getPageLink('manufacturer')}">{l s='Manufacturers:'}</a></li>{/if}
|
||||
{if $display_supplier_link OR $PS_DISPLAY_SUPPLIERS}<li><a href="{$link->getPageLink('supplier')}">{l s='Suppliers:'}</a></li>{/if}
|
||||
{if $display_manufacturer_link OR $PS_DISPLAY_SUPPLIERS}<li><a href="{$link->getPageLink('manufacturer')|escape:'html'}">{l s='Manufacturers:'}</a></li>{/if}
|
||||
{if $display_supplier_link OR $PS_DISPLAY_SUPPLIERS}<li><a href="{$link->getPageLink('supplier')|escape:'html'}">{l s='Suppliers:'}</a></li>{/if}
|
||||
</ul>
|
||||
</li>
|
||||
<li>{l s='Your Account'}
|
||||
<ul data-role="listview" data-inset="true">
|
||||
<li><a href="{$link->getPageLink('my-account', true)}">{l s='Your Account'}</a></li>
|
||||
<li><a href="{$link->getPageLink('identity', true)}">{l s='Personal information'}</a></li>
|
||||
<li><a href="{$link->getPageLink('addresses', true)}">{l s='Addresses'}</a></li>
|
||||
{if $voucherAllowed}<li><a href="{$link->getPageLink('discount', true)}">{l s='Discounts'}</a></li>{/if}
|
||||
<li><a href="{$link->getPageLink('history', true)}">{l s='Order history'}</a></li>
|
||||
<li><a href="{$link->getPageLink('my-account', true)|escape:'html'}">{l s='Your Account'}</a></li>
|
||||
<li><a href="{$link->getPageLink('identity', true)|escape:'html'}">{l s='Personal information'}</a></li>
|
||||
<li><a href="{$link->getPageLink('addresses', true)|escape:'html'}">{l s='Addresses'}</a></li>
|
||||
{if $voucherAllowed}<li><a href="{$link->getPageLink('discount', true)|escape:'html'}">{l s='Discounts'}</a></li>{/if}
|
||||
<li><a href="{$link->getPageLink('history', true)|escape:'html'}">{l s='Order history'}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>{l s='Pages'}
|
||||
@@ -90,8 +90,8 @@
|
||||
{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>
|
||||
{/foreach}
|
||||
<li><a href="{$link->getPageLink('contact', true)}" title="{l s='Contact'}">{l s='Contact'}</a></li>
|
||||
{if $display_store}<li><a href="{$link->getPageLink('stores')}" title="{l s='Our stores'}">{l s='Our stores'}</a></li>{/if}
|
||||
<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}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
{if !isset($errors) OR !sizeof($errors)}
|
||||
<div data-role="content" id="content">
|
||||
<p><a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('supplier', true)}" data-ajax="false">{l s='Suppliers:'}</a></p>
|
||||
<p><a data-role="button" data-icon="arrow-l" data-theme="a" data-mini="true" data-inline="true" href="{$link->getPageLink('supplier', true)|escape:'html'}" data-ajax="false">{l s='Suppliers:'}</a></p>
|
||||
{if !empty($supplier->description) || !empty($supplier->short_description)}
|
||||
<div class="category_desc clearfix">
|
||||
{if !empty($supplier->short_description)}
|
||||
|
||||
Reference in New Issue
Block a user