85 lines
4.0 KiB
Smarty
Executable File
85 lines
4.0 KiB
Smarty
Executable File
{*
|
|
* 2007-2011 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-2011 PrestaShop SA
|
|
* @version Release: $Revision: 6594 $
|
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
|
* International Registered Trademark & Property of PrestaShop SA
|
|
*}
|
|
|
|
<!-- Block user information module HEADER -->
|
|
{if $page_name != 'authentication'}
|
|
<div id="header_user">
|
|
{if $cookie->isLogged()}
|
|
<div id="header_nav">
|
|
<div class="inner">{l s='Bonjour' mod='blockuserinfo'}
|
|
{if $cookie->id_lang == 3}
|
|
<span>{$cookie->customer_firstname}!</span>
|
|
{else}
|
|
<span>{$cookie->customer_firstname} !</span>
|
|
{/if}
|
|
</div>
|
|
<div class="inner">
|
|
<ul>
|
|
<li class="account_hover">
|
|
<a class="submenu_top_btn" href="{$link->getPageLink('my-account.php', true)}" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a>
|
|
<ul class="submenu_top">
|
|
<li><a href="{$link->getPageLink('history.php', true)}" title="{l s='Orders' mod='blockuserinfo'}">{l s='History and details of my orders' mod='blockuserinfo'}</a></li>
|
|
<li><a href="{$link->getPageLink('identity.php', true)}" title="{l s='Information' mod='blockuserinfo'}">{l s='My personal information' mod='blockuserinfo'}</a></li>
|
|
<li><a href="{$base_dir_ssl}modules/loyalty/loyalty-program.php" title="{l s='Loyalty program' mod='blockuserinfo'}">{l s='Loyalty program' mod='blockuserinfo'}</a></li>
|
|
<li><a href="{$link->getPageLink('order-slip.php', true)}" title="{l s='Credit slips' mod='blockuserinfo'}">{l s='My credit slips' mod='blockuserinfo'}</a></li>
|
|
<li><a title="Referral program" href="{$base_dir_ssl}modules/invite/invite-program.php">{l s='Programme de parrainage' mod='blockuserinfo'}</a></li>
|
|
<li class="logout">
|
|
<a href="{$link->getPageLink('index.php')}?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
{if $display_credits}
|
|
<div class="inner">
|
|
<a href="{$base_dir_ssl}modules/invite/invite-program.php" title="{l s='Sponsor your friends' mod='blockuserinfo'}">
|
|
<span class="desc">{l s='Your credit:' mod='blockuserinfo'} <span class="green">{$customer_credit}</span></span>
|
|
</a>
|
|
</div>
|
|
{/if}
|
|
</div>
|
|
{else}
|
|
<form id="login_form_top" method="post" action="{$link->getPageLink('authentication.php')}">
|
|
<fieldset>
|
|
<p class="title">{l s='Accès membre' mod='blockuserinfo'}</p>
|
|
<p class="text">
|
|
<input type="text" class="account_input_top" value="" name="email" id="email_top" placeholder="{l s='Email' mod='blockuserinfo'}" />
|
|
</p>
|
|
<p class="text">
|
|
<input type="password" class="account_input_top" value="" name="passwd" id="passwd_top" placeholder="{l s='Mot de passe' mod='blockuserinfo'}" />
|
|
</p>
|
|
<p class="submit">
|
|
<input type="hidden" value="/" name="back" class="hidden">
|
|
<input type="submit" value="{l s='Connexion' mod='blockuserinfo'}" class="button" name="SubmitLogin">
|
|
</p>
|
|
<a class="forgot" href="{$link->getPageLink('password.php')}">{l s='Mot de passe oublié ?' mod='blockuserinfo'}</a>
|
|
</fieldset>
|
|
</form>
|
|
{/if}
|
|
</div>
|
|
<!-- /Block user information module HEADER -->
|
|
{/if}
|