ab93bc83ff6ad7c790d954c68db5239755f832b2
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 !$proposalEnabled}
15 <table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
16 <tr>
17 <td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>
18 <td><input id="current_password" type="password" name="current_password"
19 onFocus="nextfield= 'new_password';"></td>
20 </tr>
21 <tr>
22 <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
23 <td><input id="new_password" type="password" name="new_password"
24 onFocus="nextfield= 'repeated_password';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
25 </tr>
26 <tr>
27 <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
28 <td><input id="repeated_password" type="password" name="repeated_password"
29 onFocus="nextfield= 'password_finish';"></td>
30 </tr>
31 <tr>
32 <td><b>{t}Password strength{/t}</b></td>
33 <td>
34 <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:5px;">
35 <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:5px;"></span></span>
36 </td>
37 </tr>
38 </table>
40 {else}
42 <table cellpadding=4 border=0 summary="{t}Password change dialog{/t}">
43 <tr>
44 <td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>
45 <td><input id="current_password" type="password" name="current_password"
46 onFocus="nextfield= 'new_password';"></td>
47 </tr>
48 <tr>
49 <td>
50 <input type='radio' value='1' name='proposalSelected'
51 {if $proposalSelected} checked {/if}> <b>{t}Use proposal{/t}</b>
52 </td>
53 <td>
54 <input type='text' value="{$proposal}" style='color: black;'>
55 <input type='submit' name='refreshProposal' value='{t}Refresh{/t}'>
56 </td>
57 </tr>
58 <tr>
59 <td>
60 <input type='radio' value='0' name='proposalSelected'
61 {if !$proposalSelected} checked {/if}> <b>{t}Manually specify a password{/t}</b>
62 </td>
63 </tr>
64 <tr>
65 <td style='padding-left:40px;'><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
66 <td><input id="new_password" type="password" name="new_password"
67 onFocus="nextfield= 'repeated_password';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
68 </tr>
69 <tr>
70 <td style='padding-left:40px;'><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
71 <td><input id="repeated_password" type="password" name="repeated_password"
72 onFocus="nextfield= 'password_finish';"></td>
73 </tr>
74 <tr>
75 <td style='padding-left:40px;'><b>{t}Password strength{/t}</b></td>
76 <td>
77 <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:7px;">
78 <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:7px;"></span></span>
79 </td>
80 </tr>
81 </table>
82 {/if}
85 <br>
87 <p class="plugbottom">
88 <input type=submit name="password_finish" value="{t}Set password{/t}">
89
90 <input type=reset id="password_cancel" name="password_cancel" value="{t}Clear fields{/t}">
91 <input type='hidden' id='formSubmit'>
92 </p>
94 <input type="hidden" name="ignore">
96 <!-- Place cursor -->
97 <script language="JavaScript" type="text/javascript">
98 <!-- // First input field on page
99 nextfield= 'current_password';
100 focus_field('current_password');
101 -->
102 </script>