Srv Bebeboutik 340bc7c146 push site
2016-01-04 12:48:08 +01:00

148 lines
5.9 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: 8088 $
* @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}<a href="{$link->getPageLink('my-account.php', true)}">{l s='My account'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='Your personal information'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
<h1 class="title"><span>{l s='Your personal information'}</span></h1>
{include file="$tpl_dir./errors.tpl"}
{if isset($confirmation) && $confirmation}
<p class="success">
{l s='Your personal information has been successfully updated.'}
{if isset($pwd_changed)}<br />{l s='Your password has been sent to your e-mail:'} {$email|escape:'htmlall':'UTF-8'}{/if}
</p>
{else}
<h3>{l s='Please do not hesitate to update your personal information if it has changed.'}</h3>
<form action="{$link->getPageLink('identity.php', true)}" method="post" class="std">
<fieldset>
<div class="content">
<p class="required info"><sup>*</sup>{l s='Required field'}</p>
<p class="radio">
<span>{l s='Title'}</span>
<input type="radio" id="id_gender1" name="id_gender" value="1" {if $smarty.post.id_gender == 1 OR !$smarty.post.id_gender}checked="checked"{/if} />
<label for="id_gender1">{l s='Mr.'}</label>
<input type="radio" id="id_gender2" name="id_gender" value="2" {if $smarty.post.id_gender == 2}checked="checked"{/if} />
<label for="id_gender2">{l s='Ms.'}</label>
</p>
<p class="required text">
<label for="firstname">{l s='First name'} <sup>*</sup></label>
<input type="text" id="firstname" name="firstname" value="{$smarty.post.firstname}" />
</p>
<p class="required text">
<label for="lastname">{l s='Last name'} <sup>*</sup></label>
<input type="text" name="lastname" id="lastname" value="{$smarty.post.lastname}" />
</p>
<p class="required text">
<label for="email">{l s='E-mail'} <sup>*</sup></label>
<input type="text" name="email" id="email" value="{$smarty.post.email}" />
</p>
<p class="required text">
<label for="old_passwd">{l s='Current Password'} <sup>*</sup></label>
<input type="password" name="old_passwd" id="old_passwd" />
</p>
<p class="password">
<label for="passwd">{l s='New Password'}</label>
<input type="password" name="passwd" id="passwd" />
</p>
<p class="password">
<label for="confirmation">{l s='Confirmation'}</label>
<input type="password" name="confirmation" id="confirmation" />
</p>
<p class="select">
<label>{l s='Date of Birth'}</label>
<select name="days" id="days">
<option value="">-</option>
{foreach from=$days item=v}
<option value="{$v|escape:'htmlall':'UTF-8'}" {if ($sl_day == $v)}selected="selected"{/if}>{$v|escape:'htmlall':'UTF-8'}&nbsp;&nbsp;</option>
{/foreach}
</select>
{*
{l s='January'}
{l s='February'}
{l s='March'}
{l s='April'}
{l s='May'}
{l s='June'}
{l s='July'}
{l s='August'}
{l s='September'}
{l s='October'}
{l s='November'}
{l s='December'}
*}
<select id="months" name="months">
<option value="">-</option>
{foreach from=$months key=k item=v}
<option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)}selected="selected"{/if}>{l s="$v"}&nbsp;</option>
{/foreach}
</select>
<select id="years" name="years">
<option value="">-</option>
{foreach from=$years item=v}
<option value="{$v|escape:'htmlall':'UTF-8'}" {if ($sl_year == $v)}selected="selected"{/if}>{$v|escape:'htmlall':'UTF-8'}&nbsp;&nbsp;</option>
{/foreach}
</select>
</p>
{if $newsletter}
<p class="text">
<label for="newsletter">{l s='Newsletter subscription'}</label>
<select id="newsletter" name="newsletter">
<option value="1"{if isset($smarty.post.newsletter) && $smarty.post.newsletter == 1} selected="selected"{/if}>{l s='Receive daily newsletters'}</option>
<option value="2"{if isset($smarty.post.newsletter) && $smarty.post.newsletter == 2} selected="selected"{/if}>{l s='Receive only one newsletter a week'}</option>
<option value="0"{if isset($smarty.post.newsletter) && $smarty.post.newsletter == 0} selected="selected"{/if}>{l s='I don\'t want to receive any newsletter'}</option>
</select>
</p>
<p class="checkbox">
<span class="input">
<input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == 1} checked="checked"{/if} />
</span>
<span>
<label for="optin">{l s='Receive special offers from our partners'}</label>
</span>
</p>
{/if}
<p class="submit">
<span class="gradient">
<input type="submit" class="button" name="submitIdentity" value="{l s='Save'}" />
</span>
</p>
</div>
</fieldset>
</form>
<p class="notification" id="security_informations">
{l s='[Insert customer data privacy clause or law here, if applicable]'}
</p>
{/if}
<p class="footer_links">
<a class="back_account" href="{$link->getPageLink('my-account.php', true)}" class="button">
<i class="icon-user"></i><span>{l s='Back to my account'}</span>
</a>
</p>