Code

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