1 <script type="text/javascript" src="include/pwdStrength.js"></script>
3 <p>
4 {t}To change the user password use the fields below. The changes take effect immediately. Please memorize the new password, because the user wouldn't be able to login without it.{/t}
5 </p>
7 <table summary="{t}Password input dialog{/t}" cellpadding=4 border=0>
8 <tr>
9 <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
10 <td>
11 {factory type='password' id='new_password' name='new_password'
12 onfocus="nextfield='repeated_password';" onkeyup="testPasswordCss(\$('new_password').value);"}
13 </td>
14 </tr>
15 <tr>
16 <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
17 <td>
18 {factory type='password' id='repeated_password' name='repeated_password'
19 onfocus="nextfield='password_finish';"}
20 </td>
21 </tr>
22 <tr>
23 <td><b>{t}Strength{/t}</b></td>
24 <td>
25 <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:7px;">
26 <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:7px;"></span></span>
27 </td>
28 </tr>
29 </table>
30 <br>
32 <hr>
33 <div class="plugin-actions">
34 <button type='submit' id='password_finish'name='password_finish'>{t}Set password{/t}</button>
35 <button type='submit' id='password_cancel'name='password_cancel'>{msgPool type=cancelButton}</button>
36 </div>
38 <input type='hidden' id='formSubmit'>
40 <!-- Place cursor -->
41 <script language="JavaScript" type="text/javascript">
42 <!-- // First input field on page
43 nextfield= "new_password";
44 focus_field('new_password');
45 -->
46 </script>