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 <table cellpadding=4 border=0 summary="{t}Password change dialog{/t}">
12 <tr>
13 <td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>
14 <td>
15 {factory type='password' name='current_password' id='current_password' onfocus="nextfield= 'new_password';"}
16 </td>
17 </tr>
18 <tr>
19 <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
20 <td>
21 {factory type='password' name='new_password' id='new_password' onkeyup="testPasswordCss(\$('new_password').value)"}
22 </td>
23 </tr>
24 <tr>
25 <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
26 <td>
27 {factory type='password' name='repeated_password' id='repeated_password' onfocus="nextfield= 'password_finish';"}
28 </td>
29 </tr>
30 <tr>
31 <td><b>{t}Password strength{/t}</b></td>
32 <td>
33 <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:5px;">
34 <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:5px;"></span></span>
35 </td>
36 </tr>
37 </table>
39 <br>
41 <hr>
42 <div class="plugin-actions">
43 <button type='submit' name='password_finish'>{t}Set password{/t}</button>
44 <button type=reset id="password_cancel" name="password_cancel">{t}Clear fields{/t}</button>
45 </div>
47 <input type='hidden' id='formSubmit'>
49 <input type="hidden" name="ignore">
51 <!-- Place cursor -->
52 <script language="JavaScript" type="text/javascript">
53 <!-- // First input field on page
54 nextfield= 'current_password';
55 focus_field('current_password');
56 -->
57 </script>