-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpwresetvalidation.tpl
More file actions
49 lines (35 loc) · 1.31 KB
/
pwresetvalidation.tpl
File metadata and controls
49 lines (35 loc) · 1.31 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
<script type="text/javascript" src="includes/jscript/pwstrength.js"></script>
{if $invalidlink}
<div class="alert alert-danger">
{$invalidlink}
</div>
<br /><br /><br /><br />
{elseif $success}
<br />
<div class="alert alert-success">
{$LANG.pwresetvalidationsuccess}
</div>
<br />
<p align="center">{$LANG.pwresetsuccessdesc|sprintf2:'<a href="clientarea.php">':'</a>'}</p>
<br /><br /><br /><br />
{else}
{if $errormessage}
<div class="alert alert-danger">
{$errormessage}
</div>
{/if}
<form class="form-stacked" method="post" action="{$smarty.server.PHP_SELF}?action=pwreset">
<input type="hidden" name="key" id="key" value="{$key}" />
<h4 align="center">{$LANG.pwresetenternewpw}</h4>
<div class="form-group">
<label for="newpw">{$LANG.newpassword}</label>
<input class="form-control" type="password" name="newpw" id="newpw" />
</div>
<div class="form-group">
<label for="confirmpw">{$LANG.confirmnewpassword}</label>
<input class="form-control" type="password" name="confirmpw" id="confirmpw" />
</div>
<input type="submit" value="{$LANG.clientareasavechanges}" class="btn btn-primary" /> <input type="reset" value="{$LANG.cancel}" class="btn btn-danger" />
<span class="password-strength"><script language="javascript">showStrengthBar();</script></span>
</form>
{/if}