Linux multi-monitor fullscreen support
[ryzomcore.git] / web / public_php / ams / templates / reset_password.tpl
blob57d0567ff6c15b39ed9de05d90027441dcaf0596
1 {extends file="layout.tpl"}
2 {block name=content}
4 <div class="row-fluid">
5         <div class="span12 center login-header">
6                 <a href="?"><img src="img/mainlogo.png"/></a> 
7         </div><!--/span-->
8 </div><!--/row-->
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}
24                                            </div>
25                                         </div>
26                                 </div>
27                                         
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}
36                                             </div>
37                                         </div>
38                                 </div>
39                                 
40                                 
41                         
42                                 {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
43                                 <div class="alert alert-success">
44                                         The password has been changed!
45                                 </div>
46                                 {/if}
47                                 
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.
51                                 </div>
52                                 {/if}
53                         
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>
57                         </p>
58         
59                 </form>
62         </div><!--/span-->
63 </div><!--/row-->
64 {/block}
66