-
Notifications
You must be signed in to change notification settings - Fork 27
/
password.tpl
35 lines (32 loc) · 1.94 KB
/
password.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{capture name=path}<a href="{$link->getPageLink('authentication', true)|escape:'html':'UTF-8'}" title="{l s='Authentication'}" rel="nofollow">{l s='Authentication'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='Forgot your password'}{/capture}
<div class="box">
<h1 class="page-subheading">{l s='Forgot your password?'}</h1>
{include file="$tpl_dir./errors.tpl"}
{if isset($confirmation) && $confirmation == 1}
<div class="alert alert-success">{l s='Your password has been successfully reset and a confirmation has been sent to your email address:'} {if isset($customer_email)}{$customer_email|escape:'html':'UTF-8'|stripslashes}{/if}</div>
{elseif isset($confirmation) && $confirmation == 2}
<div class="alert alert-success">{l s='A confirmation email has been sent to your address:'} {if isset($customer_email)}{$customer_email|escape:'html':'UTF-8'|stripslashes}{/if}</div>
{else}
<p>{l s='Please enter the email address you used to register. We will then send you a new password. '}</p>
<form action="{$request_uri|escape:'html':'UTF-8'}" method="post" class="std" id="form_forgotpassword">
<fieldset>
<div class="form-group">
<label for="email">{l s='Email address'}</label>
<input class="form-control" type="email" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'html':'UTF-8'|stripslashes}{/if}" required>
</div>
<div class="submit">
<button type="submit" name="submit_recover_password" class="btn btn-lg btn-success"><span>{l s='Retrieve Password'} <i class="icon icon-chevron-right"></i></span></button>
</div>
</fieldset>
</form>
{/if}
</div>
<nav>
<ul class="pager">
<li class="previous">
<a href="{$link->getPageLink('authentication')|escape:'html':'UTF-8'}" title="{l s='Back to Login'}">
{if $isRtl}→{else}←{/if} {l s='Back to Login'}
</a>
</li>
</ul>
</nav>