159 lines
7.3 KiB
Smarty
Executable File
159 lines
7.3 KiB
Smarty
Executable File
{*
|
|
* 2007-2014 PrestaShop
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Academic Free License (AFL 3.0)
|
|
* that is bundled with this package in the file LICENSE.txt.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* http://opensource.org/licenses/afl-3.0.php
|
|
* If you did not receive a copy of the license and are unable to
|
|
* obtain it through the world-wide-web, please send an email
|
|
* to license@prestashop.com so we can send you a copy immediately.
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
|
* versions in the future. If you wish to customize PrestaShop for your
|
|
* needs please refer to http://www.prestashop.com for more information.
|
|
*
|
|
* @author PrestaShop SA <contact@prestashop.com>
|
|
* @copyright 2007-2014 PrestaShop SA
|
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
|
* International Registered Trademark & Property of PrestaShop SA
|
|
*}
|
|
|
|
{capture name=path}{l s='My account'}{/capture}
|
|
|
|
{if isset($account_created)}
|
|
<p class="alert alert-success">
|
|
{l s='Your account has been created.'}
|
|
</p>
|
|
{/if}
|
|
<div class="row">
|
|
<div class='col-xs-12 col-sm-3 left-account'>
|
|
<div class="block-left-account">
|
|
<h2 class="account">{l s='Votre compte'}</h2>
|
|
<ul>
|
|
<li>
|
|
<a href="{$link->getPageLink('history', true)|escape:'html':'UTF-8'}" title="{l s='Orders'}">
|
|
{l s='Order history and details'}
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{$link->getPageLink('identity', true)|escape:'html':'UTF-8'}" title="{l s='Information'}">
|
|
{l s='My personal information'}
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{$link->getPageLink('addresses', true)|escape:'html':'UTF-8'}" title="{l s='Addresses'}">
|
|
{l s='My addresses'}
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{$link->getPageLink('order-slip', true)|escape:'html':'UTF-8'}" title="{l s='Credit slips'}">
|
|
{l s='My credit slips'}
|
|
</a>
|
|
</li>
|
|
{if $returnAllowed}
|
|
<li>
|
|
<a href="{$link->getPageLink('order-follow', true)|escape:'html':'UTF-8'}" title="{l s='Merchandise returns'}">
|
|
{l s='My merchandise returns'}
|
|
</a>
|
|
</li>
|
|
{/if}
|
|
<li>
|
|
<a href="{$link->getModuleLink('ant_nw_frequences','frequence')|escape:'html':'UTF-8'}" title="{l s='Mes Newsletters'}">
|
|
{l s='Mes newsletters'}
|
|
</a>
|
|
</li>
|
|
<li class="signout smobile">
|
|
<a class="logout" href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Sign out' mod='blockuserinfo'}">
|
|
{l s='Déconnexion'}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="block-left-account">
|
|
<h2 class="vouchers">{l s='Vos bons d\'achats '}</h2>
|
|
<ul>
|
|
{$HOOK_CUSTOMER_ACCOUNT}
|
|
{if $voucherAllowed}
|
|
<li>
|
|
<a href="{$link->getPageLink('discount', true)|escape:'html':'UTF-8'}" title="{l s='Vouchers'}">
|
|
{l s='My vouchers'}
|
|
</a>
|
|
</li>
|
|
{/if}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class='snotmobile col-xs-9 right-account'>
|
|
<img src="{$img_dir}top_account.png" />
|
|
<h1 class="page-heading">
|
|
{l s='My account'}<span class="shape-red-long"></span>
|
|
</h1>
|
|
<p class="info-account">{l s='Welcome to your account. Here you can manage all of your personal information and orders.'}</p>
|
|
<h2>
|
|
{l s='Mes informations personnelles'}<br/>
|
|
<p class="shape-red-long"></p>
|
|
</h2>
|
|
<div class="boxgrey box">
|
|
<div class="box-container">
|
|
<p>{l s='Votre profil'} : {$cookie->customer_firstname} {$cookie->customer_lastname} </p>
|
|
<p>{l s='Votre adresse mail'} : {$cookie->email}</p>
|
|
<a href="{$link->getPageLink('identity', true)|escape:'html':'UTF-8'}" >
|
|
<span class="text-link">{l s='Modifier mes informations personnelles ou mon mot de passe'}</span>
|
|
<span class="diamond_border"></span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<h2>
|
|
{l s='Mon carnet d\'adresse'}<br/>
|
|
<p class="shape-red-long"></p>
|
|
</h2>
|
|
<div class="boxgrey box">
|
|
<div class="address-container box-container">
|
|
<div class="row clearfix ">
|
|
<div class="col-xs-12 col-sm-6 bordered" >
|
|
<ul class="address item" id="address_delivery">
|
|
<li><h4 class="page-subheading">{l s='votre adresse de livraison'}</h4></li>
|
|
{foreach from=$address_delivery.ordered name=adr_loop item=pattern}
|
|
{assign var=addressKey value=" "|explode:$pattern}
|
|
<li>
|
|
{foreach from=$addressKey item=key name="word_loop"}
|
|
<span {if isset($addresses_style[$key])} class="{$addresses_style[$key]}"{/if}>
|
|
{$address_delivery.formated[$key|replace:',':'']|escape:'html':'UTF-8'}
|
|
</span>
|
|
{/foreach}
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
<div class="col-xs-12 col-sm-6">
|
|
<ul class="address alternate_item " id="address_invoice">
|
|
<li><h4 class="page-subheading">{l s='votre adresse de facturation'}</h4></li>
|
|
{foreach from=$address_invoice.ordered name=adr_loop item=pattern}
|
|
{assign var=addressKey value=" "|explode:$pattern}
|
|
<li>
|
|
{foreach from=$addressKey item=key name="word_loop"}
|
|
<span {if isset($addresses_style[$key])} class="{$addresses_style[$key]}"{/if}>
|
|
{$address_invoice.formated[$key|replace:',':'']|escape:'html':'UTF-8'}
|
|
</span>
|
|
{/foreach}
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<a href="{$link->getPageLink('identity', true)|escape:'html':'UTF-8'}" >
|
|
<span class="text-link">{l s='Modifier mes adresses'}</span>
|
|
<span class="diamond_border"></span>
|
|
</a>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="clearfix"></div> |