1 <script type="text/javascript" src="include/pwdStrength.js"></script>
2 <p>
3 {t}To change the terminal root password use the fields below. The changes take effect during the next reboot. Please memorize the new password, because you wouldn't be able to log in.{/t}
4 </p>
5 <p>
6 <b>{t}Leave fields blank for password inheritance from default entries.{/t}</b>
7 </p>
9 <p>
10 {t}Changing the password impinges on authentification only.{/t}
11 </p>
13 <table summary="">
15 <tr>
16 <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
17 <td><input id="new_password" type="password" name="new_password" size="30" maxlength="40"
18 onkeyup="testPasswordCss(document.getElementById('new_password').value);"
19 onFocus="nextfield= 'repeated_password';"></td>
20 </tr>
21 <tr>
22 <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
23 <td><input type="password" id="repeated_password" name="repeated_password" size="30" maxlength="40"
24 onFocus="nextfield= 'password_finish';"></td>
25 </tr>
26 <tr>
27 <td>{t}Password strength{/t}</td>
28 <td>
29 <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:5px;">
30 <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:5px;"></span></span>
31 </td>
32 </tr>
34 </table>
36 <hr>
37 <div class="plugin-actions">
38 <button type='submit' name='password_finish'>{t}Set password{/t}</button>
40 <button type='submit' name='password_cancel'>{msgPool type=cancelButton}</button>
42 </div>
45 <!-- Place cursor -->
46 <script language="JavaScript" type="text/javascript">
47 <!-- // First input field on page
48 nextfield= 'new_password';
49 focus_field('new_password');
50 -->
51 </script>