1 {extends file="layout.tpl"}
4 <div class="row-fluid">
5 <div class="span12 center login-header">
6 <a href="?"><img src="img/mainlogo.png"/></a>
10 <div class="row-fluid">
11 <div class="well span5 center login-box">
13 <form id="signup" class="form-vertical" method="post" action="index.php{$getstring}">
14 <legend>{$title}</legend>
16 <div class="control-group {if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}error{else if
17 isset($newpass_error_message) and $newpass_error_message eq "success"}success{else}{/if}">
18 <label class="control-label">New Password</label>
19 <div class="controls">
20 <div class="input-prepend">
21 <span class="add-on" style="margin-left:5px;"><span class="icon-tag"></span></span>
22 <input type="password" class="input-xlarge" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
23 {if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<br/><span class="help-inline">{$newpass_error_message}</span>{/if}
28 <div class="control-group {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}error{else if
29 isset($confirmnewpass_error_message) and $confirmnewpass_error_message eq "success"}success{else}{/if}">
30 <label class="control-label">Confirm New Password</label>
31 <div class="controls">
32 <div class="input-prepend">
33 <span class="add-on" style="margin-left:5px;"><span class="icon-tags"></span></span>
34 <input type="password" class="input-xlarge" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
35 {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<br/><span class="help-inline">{$confirmnewpass_error_message}</span>{/if}
42 {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
43 <div class="alert alert-success">
44 The password has been changed!
48 {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
49 <div class="alert alert-warning">
50 The password has been changed, though the shard seems offline, it may take some time to see the change on the shard.
54 <input type="hidden" name="function" value="reset_password">
55 <p class="center span5">
56 <button type="submit" class="btn btn-primary" >Reset the password!</button>