[-] FO : disable ajax transition on mobile theme in order to fix javascript issues
This commit is contained in:
@@ -39,11 +39,11 @@
|
||||
</form>
|
||||
</div>
|
||||
<p>
|
||||
<a href="{$base_dir}" class="lnk_my-account_home" title="{l s='Home'}">
|
||||
<a href="{$base_dir}" class="lnk_my-account_home" title="{l s='Home'}" data-ajax="false">
|
||||
<img class="" alt="{l s='Home'}" src="{$img_mobile_dir}icon/home.png">
|
||||
{l s='Home'}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
{* ===================================== *}
|
||||
</div><!-- /content -->
|
||||
</div><!-- /content -->
|
||||
|
||||
@@ -28,7 +28,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)}">{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)}" 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}
|
||||
@@ -39,7 +39,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'}">
|
||||
<a href="{$link->getPageLink('address', true, null, "id_address={$address.object.id|intval}")}" title="{l s='Update'}" data-ajax="false">
|
||||
<h4>{$address.object.alias}</h4>
|
||||
{foreach from=$address.ordered name=adr_loop item=pattern}
|
||||
{assign var=addressKey value=" "|explode:$pattern}
|
||||
@@ -56,8 +56,8 @@
|
||||
{else}
|
||||
<p class="warning">{l s='No addresses available.'}</p>
|
||||
{/if}
|
||||
<a href="{$link->getPageLink('address', true)}" data-role="button" data-theme="a">{l s='Add new address'}</a>
|
||||
<a href="{$link->getPageLink('address', true)}" data-role="button" data-theme="a" data-ajax="false">{l s='Add new address'}</a>
|
||||
</div>
|
||||
|
||||
{include file='./sitemap.tpl'}
|
||||
</div><!-- /content -->
|
||||
</div><!-- /content -->
|
||||
|
||||
@@ -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')}">{l s='Forgot your password?'}</a></p>
|
||||
<p class="forget_pwd"><a href="{$link->getPageLink('password')}" 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='Log in'}</button>
|
||||
</form>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
{if !empty($manufacturer->short_description)}
|
||||
<p>{$manufacturer->short_description}</p>
|
||||
<p class="hide_desc">{$manufacturer->description}</p>
|
||||
<a href="#" data-theme="a" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-d" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide(); return false;">{l s='More'}</a>
|
||||
<a href="#" data-theme="a" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-d" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide(); return false;" data-ajax="false">{l s='More'}</a>
|
||||
{else}
|
||||
<p>{$manufacturer->description}</p>
|
||||
{/if}
|
||||
@@ -57,4 +57,4 @@
|
||||
{/if}
|
||||
{include file='./sitemap.tpl'}
|
||||
</div><!-- #content -->
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -26,7 +26,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'}">{$node.name|escape:'htmlall':'UTF-8'}</a>
|
||||
<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>
|
||||
{if isset($node.children) && $node.children|@count > 0}
|
||||
<ul data-inset="true">
|
||||
{foreach from=$node.children item=child name=categoryCmsTreeBranch}
|
||||
@@ -36,14 +36,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'}">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<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>
|
||||
{/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'}">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<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>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<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'}">
|
||||
<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')}" 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)))}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
{$node.name|escape:'htmlall':'UTF-8'}
|
||||
<ul data-inset="true">
|
||||
<li>
|
||||
<a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.desc|escape:'htmlall':'UTF-8'}">
|
||||
<a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.desc|escape:'htmlall':'UTF-8'}" data-ajax="false">
|
||||
{l s='See products'}
|
||||
</a>
|
||||
</li>
|
||||
@@ -38,7 +38,7 @@
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.desc|escape:'htmlall':'UTF-8'}">
|
||||
<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>
|
||||
{/if}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
{if !empty($category->short_description)}
|
||||
<p>{$category->short_description}</p>
|
||||
<p class="hide_desc">{$category->description}</p>
|
||||
<a href="#" data-theme="a" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-d" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide(); return false;">{l s='More'}</a>
|
||||
<a href="#" data-theme="a" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-d" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide(); return false;" data-ajax="false">{l s='More'}</a>
|
||||
{else}
|
||||
<p>{$category->description}</p>
|
||||
{/if}
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
{* layered ? *}
|
||||
{* ===================================== *}
|
||||
{*<p><a href="layered.html">Affiner la recherche</a></p>*}
|
||||
{*<p><a href="layered.html" data-ajax="false">Affiner la recherche</a></p>*}
|
||||
{* ===================================== *}
|
||||
<hr width="99%" align="center" size="2" class="margin_less"/>
|
||||
|
||||
@@ -68,4 +68,4 @@
|
||||
<p class="warning">{l s='This category is currently unavailable.'}</p>
|
||||
{/if}
|
||||
</div><!-- #content -->
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -44,7 +44,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'}">{$subcategory.name|escape:'htmlall':'UTF-8'}</a>
|
||||
<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>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
@@ -54,7 +54,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'}">{$cmspages.meta_title|escape:'htmlall':'UTF-8'}</a>
|
||||
<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>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
@@ -63,4 +63,4 @@
|
||||
{else}
|
||||
{l s='This page does not exist.'}
|
||||
{/if}
|
||||
</div><!-- #content -->
|
||||
</div><!-- #content -->
|
||||
|
||||
@@ -28,7 +28,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)}">{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)}" data-ajax="false">{l s='My account'}</a>
|
||||
|
||||
{if isset($discount) && count($discount) && $nbDiscounts}
|
||||
<table class="discount std table_block">
|
||||
@@ -84,4 +84,4 @@
|
||||
<p class="warning">{l s='You do not possess any vouchers.'}</p>
|
||||
{/if}
|
||||
|
||||
</div><!-- /content -->
|
||||
</div><!-- /content -->
|
||||
|
||||
@@ -30,17 +30,17 @@
|
||||
</div><!-- /grid-a -->
|
||||
|
||||
<div id="full-site-section" class="center">
|
||||
<a href="{$link->getPageLink('index', true)}?no_mobile_theme">{l s='Consult full site'}</a>
|
||||
<a href="{$link->getPageLink('index', true)}?no_mobile_theme" data-ajax="false">{l s='Consult full site'}</a>
|
||||
</div>
|
||||
|
||||
<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)}">{$PS_SHOP_NAME}</a>
|
||||
<a href="{$link->getPageLink('index', true)}" data-ajax="false">{$PS_SHOP_NAME}</a>
|
||||
</div>
|
||||
{if $conditions}
|
||||
<div class="ui-block-b">
|
||||
<a href="{$link->getCMSLink($id_cgv)}">CGV</a>
|
||||
<a href="{$link->getCMSLink($id_cgv)}" data-ajax="false">CGV</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -65,15 +65,15 @@
|
||||
<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'}"><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:'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>
|
||||
</div>
|
||||
<div class="ui-block-b">
|
||||
<div id="block_cart" class="clearfix">
|
||||
<a href="{$link->getPageLink('order-opc', true)}" class="link_cart">{l s='Cart'}</a>
|
||||
<a href="{$link->getPageLink('order-opc', true)}" class="link_cart" data-ajax="false">{l s='Cart'}</a>
|
||||
{if $logged}
|
||||
<a href="{$link->getPageLink('my-account', true)}" class="link_account">{l s='My account'}</a>
|
||||
<a href="{$link->getPageLink('my-account', true)}" class="link_account" data-ajax="false">{l s='My account'}</a>
|
||||
{else}
|
||||
<a href="{$link->getPageLink('authentication', true)}" class="link_account">{l s='Authenticate'}</a>
|
||||
<a href="{$link->getPageLink('authentication', true)}" class="link_account" data-ajax="false">{l s='Authenticate'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
{hook h="displayMobileTop"}
|
||||
|
||||
@@ -28,7 +28,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)}">{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)}" data-ajax="false">{l s='My account'}</a>
|
||||
|
||||
<p>{l s='Here are the orders you have placed since the creation of your account'}.</p>
|
||||
|
||||
@@ -40,7 +40,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")}">
|
||||
<a class="color-myaccount" id="order-{$id_order}" href="{$link->getPageLink('order-detail', true, null, "id_order=$id_order")}" 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>
|
||||
@@ -49,7 +49,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'}">
|
||||
<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">
|
||||
{l s='PDF'}
|
||||
</a>
|
||||
{/if}
|
||||
@@ -61,4 +61,4 @@
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</div><!-- /content -->
|
||||
</div><!-- /content -->
|
||||
|
||||
@@ -28,7 +28,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)}">{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)}" data-ajax="false">{l s='My account'}</a>
|
||||
|
||||
{include file="./errors.tpl"}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<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">{/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.jpg" alt="" width="80" />
|
||||
<h3>{$manufacturer.name|truncate:60:'...'|escape:'htmlall':'UTF-8'}</h3>
|
||||
<p>
|
||||
@@ -67,4 +67,4 @@
|
||||
{/if}
|
||||
{/if}
|
||||
{include file='./sitemap.tpl'}
|
||||
</div><!-- #content -->
|
||||
</div><!-- #content -->
|
||||
|
||||
@@ -32,13 +32,13 @@
|
||||
{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)}">{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)}" 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)}
|
||||
<p>{$manufacturer->short_description}</p>
|
||||
<p class="hide_desc">{$manufacturer->description}</p>
|
||||
<a href="#" data-theme="f" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-d" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide(); return false;">{l s='More'}</a>
|
||||
<a href="#" data-theme="f" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-d" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide(); return false;" data-ajax="false">{l s='More'}</a>
|
||||
{else}
|
||||
<p>{$manufacturer->description}</p>
|
||||
{/if}
|
||||
@@ -59,4 +59,4 @@
|
||||
{/if}
|
||||
{include file='./sitemap.tpl'}
|
||||
</div><!-- #content -->
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -33,54 +33,54 @@
|
||||
<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'}">
|
||||
<a href="{$link->getPageLink('address', true)}" title="{l s='Add my first address'}" data-ajax="false">
|
||||
<img src="{$img_dir}icon/addrbook.png" alt="{l s='Add my first address'}" class="icon" />
|
||||
{l s='Add my first address'}
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
<a href="{$link->getPageLink('history', true)}" title="{l s='Orders'}">
|
||||
<a href="{$link->getPageLink('history', true)}" 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='History and details of my orders'}
|
||||
</a>
|
||||
</li>
|
||||
{if $returnAllowed}
|
||||
<li>
|
||||
<a href="{$link->getPageLink('order-follow', true)}" title="{l s='Merchandise returns'}">
|
||||
<a href="{$link->getPageLink('order-follow', true)}" 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'}">
|
||||
<a href="{$link->getPageLink('order-slip', true)}" 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'}">
|
||||
<a href="{$link->getPageLink('addresses', true)}" 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'}">
|
||||
<a href="{$link->getPageLink('identity', true)}" 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'}">
|
||||
<a href="{$link->getPageLink('discount', true)}" 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>
|
||||
</li>
|
||||
{/if}
|
||||
<li data-icon="delete" data-theme="a">
|
||||
<a href="{$link->getPageLink('index', true)}?mylogout" title="{l s='Sign out'}">
|
||||
<a href="{$link->getPageLink('index', true)}?mylogout" title="{l s='Sign out'}" data-ajax="false">
|
||||
{l s='Sign out'}
|
||||
</a>
|
||||
</li>
|
||||
@@ -90,7 +90,7 @@
|
||||
{* ===================================== *}
|
||||
</ul>
|
||||
|
||||
<a href="{$base_dir}" class="lnk_my-account_home" title="{l s='Home'}">
|
||||
<a href="{$base_dir}" class="lnk_my-account_home" title="{l s='Home'}" data-ajax="false">
|
||||
<img class="" alt="{l s='Home'}" src="{$img_mobile_dir}icon/home.png">
|
||||
{l s='Home'}
|
||||
</a>
|
||||
|
||||
@@ -86,13 +86,13 @@
|
||||
<!-- Classic products -->
|
||||
{if $product.product_quantity > $product.customizationQuantityTotal}
|
||||
<li class="item" id="cb-{$product.id_order_detail|intval}" data-icon="back">
|
||||
{if $return_allowed}<a href="#">{/if}
|
||||
{if $return_allowed}<a href="#" data-ajax="false">{/if}
|
||||
<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'}">
|
||||
<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">
|
||||
{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'}">
|
||||
<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">
|
||||
{/if}
|
||||
<img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Download product'}" />
|
||||
{$product.product_name|escape:'htmlall':'UTF-8'}
|
||||
@@ -120,4 +120,4 @@
|
||||
</p>
|
||||
{if $return_allowed}</a>{/if}
|
||||
</li>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -29,14 +29,14 @@
|
||||
|
||||
<div class="ui-grid-a">
|
||||
<div class="ui-block-a">
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-rel="back" href="#" title="">{l s='Back'}</a>
|
||||
<a data-role="button" data-icon="arrow-l" data-theme="a" data-rel="back" href="#" title="" data-ajax="false">{l s='Back'}</a>
|
||||
</div>
|
||||
<div class="ui-block-b">
|
||||
{assign var='type_order' value="order"}
|
||||
{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'}">
|
||||
<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">
|
||||
{l s='Reorder'}
|
||||
</a>
|
||||
</div>
|
||||
@@ -52,7 +52,7 @@
|
||||
{if $invoice AND $invoiceAllowed}
|
||||
<li>
|
||||
<img src="{$img_dir}icon/pdf.gif" alt="" class="icon" />
|
||||
<a href="{$link->getPageLink('pdf-invoice.php', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key}{/if}">{l s='Download your invoice as a PDF file'}</li>
|
||||
<a href="{$link->getPageLink('pdf-invoice.php', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key}{/if}" data-ajax="false">{l s='Download your invoice as a PDF file'}</li>
|
||||
</li>
|
||||
{/if}
|
||||
{if $order->recyclable}
|
||||
@@ -80,7 +80,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'}">{$followup|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$followup|escape:'htmlall':'UTF-8'}" data-ajax="false">{$followup|escape:'htmlall':'UTF-8'}</a>
|
||||
{/if}
|
||||
{* / TO CHECK ==========================*}
|
||||
|
||||
@@ -207,7 +207,7 @@
|
||||
<h3>{$line.state_name}</h3>
|
||||
<p><strong>{l s='Weight'}</strong> {$line.weight|string_format:"%.3f"} {Configuration::get('PS_WEIGHT_UNIT')}</p>
|
||||
<p><strong>{l s='Shipping cost'}</strong> {if $order->getTaxCalculationMethod() == $smarty.const.PS_TAX_INC}{displayPrice price=$line.shipping_cost_tax_incl currency=$currency->id}{else}{displayPrice price=$line.shipping_cost_tax_excl currency=$currency->id}{/if}</p>
|
||||
<p><strong>{l s='Tracking number'}</strong> {if $line.url && $line.tracking_number}<a href="{$line.url|replace:'@':$line.tracking_number}">{$line.tracking_number}</a>{elseif $line.tracking_number != ''}{$line.tracking_number}{else}----{/if}</p>
|
||||
<p><strong>{l s='Tracking number'}</strong> {if $line.url && $line.tracking_number}<a href="{$line.url|replace:'@':$line.tracking_number}" data-ajax="false">{$line.tracking_number}</a>{elseif $line.tracking_number != ''}{$line.tracking_number}{else}----{/if}</p>
|
||||
<span class="ui-li-aside">{$line.date_add}</span>
|
||||
</li>
|
||||
{/foreach}
|
||||
@@ -295,4 +295,4 @@
|
||||
{else}
|
||||
<p><img src="{$img_dir}icon/infos.gif" alt="" class="icon" /> {l s='You cannot make a merchandise return with a guest account'}</p>
|
||||
{/if}
|
||||
</div><!-- #content -->
|
||||
</div><!-- #content -->
|
||||
|
||||
@@ -28,7 +28,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)}">{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)}" 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 another merchandise return.'}</p>{/if}
|
||||
{if isset($errorMsg) && $errorMsg}<p class="error">{l s='Please provide an explanation for your RMA.'}</p>{/if}
|
||||
@@ -52,14 +52,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')}');">{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')}');">{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')}');" 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="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"}"><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"}">{l s='Print out'}</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"><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>
|
||||
{else}
|
||||
--
|
||||
{/if}
|
||||
@@ -73,4 +73,4 @@
|
||||
<p class="warning">{l s='You have no return merchandise authorizations.'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div><!-- /content -->
|
||||
</div><!-- /content -->
|
||||
|
||||
@@ -61,5 +61,5 @@
|
||||
<input type="checkbox" value="1" id="cgv" name="cgv" {if $checkedTOS}checked="checked"{/if} />
|
||||
<label for="cgv">{l s='I agree to the Terms of Service and will adhere to them unconditionally.'}</label>
|
||||
</fieldset>
|
||||
<p class="lnk_CGV"><a href="{$link_conditions}">{l s='(Read Terms of Service)'}</a></p>
|
||||
<p class="lnk_CGV"><a href="{$link_conditions}" data-ajax="false">{l s='(Read Terms of Service)'}</a></p>
|
||||
</div>
|
||||
|
||||
@@ -28,7 +28,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)}">{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)}" 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">
|
||||
@@ -37,12 +37,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")}">
|
||||
<a class="color-myaccount" id="order-{$id_order}" href="{$link->getPageLink('order-detail', true, null, "id_order=$id_order")}" 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"}">
|
||||
<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">
|
||||
{l s='PDF'}
|
||||
</a>
|
||||
</li>
|
||||
@@ -53,4 +53,4 @@
|
||||
<p class="warning">{l s='You have not received any credit slips.'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div><!-- /content -->
|
||||
</div><!-- /content -->
|
||||
|
||||
@@ -27,14 +27,14 @@
|
||||
<hr width="99%" align="center" size="2" class=""/>
|
||||
<h2 class="site_map">{l s='Site map'}</h2>
|
||||
<ul data-role="listview" data-inset="true" id="category">
|
||||
{if $controller_name != 'index'}<li><a href="{$link->getPageLink('index', true)}">Accueil</a></li>{/if}
|
||||
{if $controller_name != 'index'}<li><a href="{$link->getPageLink('index', true)}" data-ajax="false">Accueil</a></li>{/if}
|
||||
|
||||
{* need to set a Hook : hookMobilePagesList *}
|
||||
{* ===================================== *}
|
||||
<li><a href="{$link->getCategoryLink(3, false)}">IPod</a></li>
|
||||
<li><a href="{$link->getCategoryLink(4, false)}">Accessoires</a></li>
|
||||
<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>
|
||||
{* ===================================== *}
|
||||
|
||||
{if $controller_name != 'my-account'}<li><a href="{$link->getPageLink('my-account', true)}">{l s='My account'}</a></li>{/if}
|
||||
{if $controller_name != 'contact'}<li><a href="{$link->getPageLink('contact', true)}">{l s='Contact'}</a></li>{/if}
|
||||
</ul>
|
||||
{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}
|
||||
</ul>
|
||||
|
||||
@@ -57,28 +57,28 @@
|
||||
{assign var='p_previous' value=$p-1}
|
||||
{/if}
|
||||
<li class="pagination_previous">
|
||||
<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}">{l s='Prev'}</a>
|
||||
<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='Prev'}</a>
|
||||
</li>
|
||||
{if $start>3}
|
||||
<li><a {$no_follow_text} href="{$link->goPage($requestPage, 1)}">1</a></li>
|
||||
<li><a {$no_follow_text} href="{$link->goPage($requestPage, 1)}" 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">{$p|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<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)}">{$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)}" 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)}">{$pages_nb|intval}</a></li>
|
||||
<li><a href="{$link->goPage($requestPage, $pages_nb)}" data-ajax="false">{$pages_nb|intval}</a></li>
|
||||
{/if}
|
||||
{if $pages_nb > 1 AND $p != $pages_nb}
|
||||
{assign var='p_next' value=$p+1}
|
||||
{/if}
|
||||
<li class="pagination_next">
|
||||
<a {$no_follow_text} class="button_next{if !isset($p_next)} disabled{/if}" data-role="button" data-icon="arrow-r" data-iconpos="right" href="{if isset($p_next)}{$link->goPage($requestPage, $p_next)}{/if}">{l s='Next'}</a>
|
||||
<a {$no_follow_text} class="button_next{if !isset($p_next)} disabled{/if}" data-role="button" data-icon="arrow-r" data-iconpos="right" href="{if isset($p_next)}{$link->goPage($requestPage, $p_next)}{/if}" data-ajax="false">{l s='Next'}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
@@ -43,6 +43,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'}">{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')}" title="{l s='Back to Login'}" data-ajax="false">{l s='Back to Login'}</a>
|
||||
</p>
|
||||
</div><!-- /content -->
|
||||
</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}")}">{$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}")}" data-ajax="false">{$attachment.name|escape:'htmlall':'UTF-8'}</a><br />{$attachment.description|escape:'htmlall':'UTF-8'}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -43,7 +43,7 @@
|
||||
{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'}">
|
||||
<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')}" alt="{$accessory.legend|escape:'htmlall':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" />
|
||||
@@ -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'}">{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:'htmlall':'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=""}
|
||||
@@ -72,7 +72,7 @@
|
||||
{assign var="btn_class" value="disabled"}
|
||||
{capture assign="btn_more"}<span class="availability">{if (isset($accessory.quantity_all_versions) && $accessory.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}</span>{/capture}
|
||||
{/if}
|
||||
<a class="{$btn_class}" data-role="button" data-inline="true" data-theme="e" data-icon="plus" data-mini="true" class="exclusive button ajax_add_to_cart_button" href="{$btn_href}" rel="ajax_id_product_{$accessory.id_product|intval}" title="{l s='Add to cart'}">{l s='Add to cart'}</a>
|
||||
<a class="{$btn_class}" data-role="button" data-inline="true" data-theme="e" data-icon="plus" data-mini="true" class="exclusive button ajax_add_to_cart_button" href="{$btn_href}" rel="ajax_id_product_{$accessory.id_product|intval}" title="{l s='Add to cart'}" data-ajax="false">{l s='Add to cart'}</a>
|
||||
{$btn_more}
|
||||
</div><!-- .btn-row -->
|
||||
</li>
|
||||
@@ -81,4 +81,4 @@
|
||||
</div>
|
||||
{/if}
|
||||
</div><!-- role:collapsible-set-->
|
||||
</div><!-- #more_info_block -->
|
||||
</div><!-- #more_info_block -->
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{if (isset($quantity_discounts) && count($quantity_discounts) > 0)}
|
||||
<!-- quantity discount -->
|
||||
<ul class="idTabs clearfix">
|
||||
<li><a href="#discount" style="cursor: pointer" class="selected">{l s='Quantity discount'}</a></li>
|
||||
<li><a href="#discount" style="cursor: pointer" class="selected" data-ajax="false">{l s='Quantity discount'}</a></li>
|
||||
</ul>
|
||||
<div id="quantityDiscount">
|
||||
<table class="std">
|
||||
@@ -64,4 +64,4 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -50,7 +50,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)}">{$packItem.name|escape:'htmlall':'UTF-8'}</a>
|
||||
{$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>
|
||||
<p>{$packItem.description_short}</p>
|
||||
</div>
|
||||
{/foreach}
|
||||
@@ -58,7 +58,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">
|
||||
<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">
|
||||
|
||||
<!-- hidden datas -->
|
||||
<p class="hidden">
|
||||
@@ -158,4 +158,4 @@
|
||||
{include file="./category-product-list.tpl" products=$packItems}
|
||||
</div>
|
||||
{/if}
|
||||
</div><!-- #content -->
|
||||
</div><!-- #content -->
|
||||
|
||||
@@ -50,7 +50,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&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&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>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
@@ -70,7 +70,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
</a>
|
||||
{if strlen($discount.code)}<a href="{if $opc}{$link->getPageLink('order-opc', true)}{else}{$link->getPageLink('order', true)}{/if}?deleteDiscount={$discount.id_discount}" class="price_discount_delete" title="{l s='Delete'}">{l s='Delete'}</a>{/if}
|
||||
{if strlen($discount.code)}<a href="{if $opc}{$link->getPageLink('order-opc', true)}{else}{$link->getPageLink('order', true)}{/if}?deleteDiscount={$discount.id_discount}" class="price_discount_delete" title="{l s='Delete'}" data-ajax="false">{l s='Delete'}</a>{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
@@ -181,14 +181,14 @@
|
||||
</div><!-- /grid-a -->
|
||||
<br />
|
||||
{if $isLogged AND !$isGuest}
|
||||
<a href="{$link->getPageLink('index', true)}" data-role="button" data-theme="a" data-icon="back">{l s='Continue shopping'}</a>
|
||||
<a href="{$link->getPageLink('index', true)}" 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)}">{l s='Continue shopping'}</a>
|
||||
<a href="{$link->getPageLink('index', true)}" data-ajax="false">{l s='Continue shopping'}</a>
|
||||
</li>
|
||||
<li data-theme="b" data-icon="check">
|
||||
<a href="{$link->getPageLink('authentication', true)}&back=order-opc">{l s='Confirm order'}</a>
|
||||
<a href="{$link->getPageLink('authentication', true)}&back=order-opc" data-ajax="false">{l s='Confirm order'}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
{for $i=0 to 4}
|
||||
{if isset($categoriesTree.children.$i)}
|
||||
<li data-icon="arrow-d">
|
||||
<a href="{$categoriesTree.children.$i.link|escape:'htmlall':'UTF-8'}" title="{$categoriesTree.children.$i.desc|escape:'htmlall':'UTF-8'}">
|
||||
<a href="{$categoriesTree.children.$i.link|escape:'htmlall':'UTF-8'}" title="{$categoriesTree.children.$i.desc|escape:'htmlall':'UTF-8'}" data-ajax="false">
|
||||
{$categoriesTree.children.$i.name|escape:'htmlall':'UTF-8'}
|
||||
</a>
|
||||
</li>
|
||||
@@ -55,25 +55,25 @@
|
||||
<hr width="99%" align="center" size="2" class=""/>
|
||||
<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)}" data-ajax="false">{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')}" title="{l s='New products'}" data-ajax="false">{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='Top sellers'}">{l s='Top sellers'}</a></li>
|
||||
<li><a href="{$link->getPageLink('prices-drop')}" title="{l s='Price drop'}" data-ajax="false">{l s='Price drop'}</a></li>
|
||||
<li><a href="{$link->getPageLink('best-sales', true)}" title="{l s='Top sellers'}" data-ajax="false">{l s='Top 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')}" data-ajax="false">{l s='Manufacturers'}</a></li>{/if}
|
||||
{if $display_supplier_link OR $PS_DISPLAY_SUPPLIERS}<li><a href="{$link->getPageLink('supplier')}" data-ajax="false">{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)}" data-ajax="false">{l s='Your Account'}</a></li>
|
||||
<li><a href="{$link->getPageLink('identity', true)}" data-ajax="false">{l s='Personal information'}</a></li>
|
||||
<li><a href="{$link->getPageLink('addresses', true)}" data-ajax="false">{l s='Addresses'}</a></li>
|
||||
{if $voucherAllowed}<li><a href="{$link->getPageLink('discount', true)}" data-ajax="false">{l s='Discounts'}</a></li>{/if}
|
||||
<li><a href="{$link->getPageLink('history', true)}" data-ajax="false">{l s='Order history'}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>{l s='Pages'}
|
||||
@@ -86,10 +86,10 @@
|
||||
{/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:'htmlall':'UTF-8'}" title="{$cms.meta_title|escape:'htmlall':'UTF-8'}" data-ajax="false">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li>
|
||||
{/foreach}
|
||||
<li><a href="{$link->getPageLink('contact', true)}">{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)}" data-ajax="false">{l s='Contact'}</a></li>
|
||||
{if $display_store}<li><a href="{$link->getPageLink('stores')}" title="{l s='Our stores'}" data-ajax="false">{l s='Our stores'}</a></li>{/if}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
{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'}">
|
||||
<a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$supplier.name|escape:'htmlall':'UTF-8'}" data-ajax="false">
|
||||
{/if}
|
||||
<!-- logo -->
|
||||
<img src="{$img_sup_dir}{$supplier.image|escape:'htmlall':'UTF-8'}-medium.jpg" alt="" width="80" />
|
||||
@@ -72,4 +72,4 @@
|
||||
{/if}
|
||||
{/if}
|
||||
{include file='./sitemap.tpl'}
|
||||
</div><!-- #content -->
|
||||
</div><!-- #content -->
|
||||
|
||||
@@ -31,13 +31,13 @@
|
||||
|
||||
{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)}">{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)}" 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)}
|
||||
<p>{$supplier->short_description}</p>
|
||||
<p class="hide_desc">{$supplier->description}</p>
|
||||
<a href="#" data-theme="a" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-d" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide(); return false;">{l s='More'}</a>
|
||||
<a href="#" data-theme="a" data-role="button" data-mini="true" data-inline="true" data-icon="arrow-d" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide(); return false;" data-ajax="false">{l s='More'}</a>
|
||||
{else}
|
||||
<p>{$supplier->description}</p>
|
||||
{/if}
|
||||
@@ -58,4 +58,4 @@
|
||||
{/if}
|
||||
{include file='./sitemap.tpl'}
|
||||
</div><!-- #content -->
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
|
||||
|
||||
<!--<ul data-role="listview" data-inset="true" id="category">
|
||||
<li><a href="category.html">Category 1</a></li>
|
||||
<li><a href="category.html">Category 2</a></li>
|
||||
<li><a href="category.html">Category 3</a></li>
|
||||
<li><a href="category.html">Category 4</a></li>
|
||||
<li><a href="category.html" data-ajax="false">Category 1</a></li>
|
||||
<li><a href="category.html" data-ajax="false">Category 2</a></li>
|
||||
<li><a href="category.html" data-ajax="false">Category 3</a></li>
|
||||
<li><a href="category.html" data-ajax="false">Category 4</a></li>
|
||||
</ul>--><!-- /category -->
|
||||
|
||||
<hr width="99%" align="center" size="2" />
|
||||
@@ -52,11 +52,11 @@
|
||||
|
||||
<hr width="99%" align="center" size="2" />
|
||||
<ul data-role="listview" data-inset="true" id="category">
|
||||
<li><a href="index.html">Accueil</a></li>
|
||||
<li><a href="category.html">IPod</a></li>
|
||||
<li><a href="category.html">Accessoires</a></li>
|
||||
<li><a href="my-account.html">Mon compte</a></li>
|
||||
<li><a href="contact.html">Contact</a></li>
|
||||
<li><a href="index.html" data-ajax="false">Accueil</a></li>
|
||||
<li><a href="category.html" data-ajax="false">IPod</a></li>
|
||||
<li><a href="category.html" data-ajax="false">Accessoires</a></li>
|
||||
<li><a href="my-account.html" data-ajax="false">Mon compte</a></li>
|
||||
<li><a href="contact.html" data-ajax="false">Contact</a></li>
|
||||
</ul>
|
||||
|
||||
</div><!-- /content -->
|
||||
</div><!-- /content -->
|
||||
|
||||
Reference in New Issue
Block a user