-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpwreset.tpl
More file actions
54 lines (34 loc) · 1.19 KB
/
pwreset.tpl
File metadata and controls
54 lines (34 loc) · 1.19 KB
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
{include file="$template/pageheader.tpl" title=$LANG.pwreset}
{if $success}
<div class="alert alert-success">
{$LANG.pwresetvalidationsent}
</div>
{$LANG.pwresetvalidationcheckemail}
{else}
{if $errormessage}
<div class="alert alert-danger">
{$errormessage}
</div>
{/if}
<form method="post" action="pwreset.php">
<input type="hidden" name="action" value="reset" />
{if $securityquestion}
<input class="form-control" type="hidden" name="email" value="{$email}" />
<p>{$LANG.pwresetsecurityquestionrequired}</p>
<div class="form-group">
<label for="answer">{$securityquestion}:</label>
<input class="form-control" name="answer" id="answer" type="text" value="{$answer}" />
</div>
<hr />
<input type="submit" class="btn btn-primary" value="{$LANG.pwresetsubmit}" />
{else}
<p>{$LANG.pwresetdesc}</p>
<div class="form-group">
<label for="email">{$LANG.loginemail}:</label>
<input class="form-control" name="email" id="email" type="text" />
</div>
<hr />
<button type="submit" class="btn btn-primary">{$LANG.pwresetsubmit}</button></p>
{/if}
</form>
{/if}