d3e1095ad958a90e1a6590503d05e3ddcb4ed69d
1 <script type="text/javascript" src="include/pwdStrength.js"></script>
3 <p>
4 {t}To change your personal password use the fields below. The changes take effect immediately. Please memorize the new password, because you wouldn't be able to login without it.{/t}
5 </p>
7 <p>
8 {t}Changing the password affects your authentification on mail, proxy, samba and unix services.{/t}
9 </p>
11 <hr>
13 {if $passwordExpired}
14 <b><font color='red'>{t}Your Password has expired. Please choose a new password!{/t}</font></b>
15 <hr>
16 {/if}
18 {if !$proposalEnabled}
20 <table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
21 <tr>
22 <td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>
23 <td><input id="current_password" type="password" name="current_password"
24 onFocus="nextfield= 'new_password';"></td>
25 </tr>
26 <tr>
27 <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
28 <td><input id="new_password" type="password" name="new_password"
29 onFocus="nextfield= 'repeated_password';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
30 </tr>
31 <tr>
32 <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
33 <td><input id="repeated_password" type="password" name="repeated_password"
34 onFocus="nextfield= 'password_finish';"></td>
35 </tr>
36 <tr>
37 <td><b>{t}Password strength{/t}</b></td>
38 <td>
39 <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:5px;">
40 <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:5px;"></span></span>
41 </td>
42 </tr>
43 </table>
45 {else}
47 <table cellpadding=4 border=0 summary="{t}Password change dialog{/t}">
48 <tr>
49 <td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>
50 <td><input id="current_password" type="password" name="current_password"
51 onFocus="nextfield= 'new_password';"></td>
52 </tr>
53 <tr>
54 <td>
55 <input type='radio' value='1' name='proposalSelected'
56 {if $proposalSelected} checked {/if}> <b>{t}Use proposal{/t}</b>
57 </td>
58 <td>
59 <div style='
60 width:180px;
61 border:1px solid #BBB;
62 padding-top:3px;
63 padding-bottom:3px;
64 '>{$proposal}</div>
66 </td>
67 <td>
68 <input type='submit' name='refreshProposal' value='{t}Refresh{/t}'>
69 </td>
70 </tr>
71 <tr>
72 <td>
73 <input type='radio' value='0' name='proposalSelected'
74 {if !$proposalSelected} checked {/if}> <b>{t}Manually specify a password{/t}</b>
75 </td>
76 </tr>
77 <tr>
78 <td style='padding-left:40px;'><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
79 <td><input id="new_password" type="password" name="new_password"
80 onFocus="nextfield= 'repeated_password';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
81 </tr>
82 <tr>
83 <td style='padding-left:40px;'><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
84 <td><input id="repeated_password" type="password" name="repeated_password"
85 onFocus="nextfield= 'password_finish';"></td>
86 </tr>
87 <tr>
88 <td style='padding-left:40px;'><b>{t}Password strength{/t}</b></td>
89 <td>
90 <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:7px;">
91 <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:7px;"></span></span>
92 </td>
93 </tr>
94 </table>
96 {/if}
98 <br>
100 <p class="plugbottom">
101 <input type=submit name="password_finish" value="{t}Set password{/t}">
102
103 <input type=reset id="password_cancel" name="password_cancel" value="{t}Clear fields{/t}">
104 <input type='hidden' id='formSubmit'>
105 </p>
107 <input type="hidden" name="ignore">
109 <!-- Place cursor -->
110 <script language="JavaScript" type="text/javascript">
111 <!-- // First input field on page
112 nextfield= 'current_password';
113 focus_field('current_password');
114 -->
115 </script>