-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathpwreset.tpl
57 lines (54 loc) · 1.66 KB
/
pwreset.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<div class="row marginbottom">
<div class="span6 offset3">
<div class="page-header">
<h1>{$LANG.pwreset}</h1>
</div>
{if $success}
<div class="alert alert-success">
<h4>{$LANG.pwresetvalidationsent}</h4>
{$LANG.pwresetvalidationcheckemail}
</div>
{else}
{if $errormessage}
<div class="alert alert-error fade in">
<button class="close" data-dismiss="alert">×</button>
{$errormessage}
</div>
{/if}
{if $securityquestion}
<div class="alert alert-info">{$LANG.pwresetsecurityquestionrequired}</div>
<div class="row">
<div class="span4 offset1">
<form method="post" action="pwreset.php">
<fieldset>
<input type="hidden" name="action" value="reset">
<input type="hidden" name="email" value="{$email}">
<label for="answer">{$securityquestion}</label>
<input class="span4" name="answer" id="answer" type="text" value="{$answer}">
<div class="textcenter">
<input type="submit" class="btn btn-primary" value="{$LANG.pwresetsubmit}">
</div>
</fieldset>
</form>
</div>
</div>
{else}
<p>{$LANG.pwresetdesc}</p>
<div class="row">
<div class="span4 offset1">
<form method="post" action="pwreset.php">
<fieldset>
<input type="hidden" name="action" value="reset" >
<label for="email">{$LANG.loginemail}</label>
<input class="span4" name="email" id="email" type="text">
<div class="textcenter">
<input type="submit" class="btn btn-primary" value="{$LANG.pwresetsubmit}">
</div>
</fieldset>
</form>
</div>
</div>
{/if}
</div>
{/if}
</div>