Code

Added Focus patch
[gosa.git] / plugins / personal / password / password.tpl
2 <p>
3   {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}
4 </p>
6 <p>
7 {if $NotAllowed}  
8  <b>{t}You have no permissions to change your password.{/t}</b>
9 {else}
10   {t}Changing the password affects your authentification on mail, proxy, samba and unix services.{/t}
11 {/if}
12 </p>
14 <table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
15   <tr>
16     <td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>
17     <td>
18 {render acl=$ChangeACL}
19         <input id="current_password" type="password" name="current_password" size="30" maxlength="40" onFocus="nextfield= 'new_password';">
20 {/render}
21     </td>
22   </tr>
23   <tr>
24     <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
25     <td>
26 {render acl=$ChangeACL}
27         <input id="new_password" type="password" name="new_password" size="30" maxlength="40" onFocus="nextfield= 'repeated_password';">
28 {/render}
29     </td>
30   </tr>
31   <tr>
32     <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
33     <td>
34 {render acl=$ChangeACL}
35         <input id="repeated_password" type="password" name="repeated_password" size="30" maxlength="40" onFocus="nextfield= 'password_finish';">
36 {/render}
37     </td>
38   </tr>
39 </table>
41 <br>
43 <p class="plugbottom">
44 {render acl=$ChangeACL}
45   <input type=submit name="password_finish" value="{t}Set password{/t}">
46 {/render}
47   &nbsp;
48 {render acl=$ChangeACL}
49   <input type=reset id="password_cancel" name="password_cancel" value="{t}Clear fields{/t}">
50 {/render}
51 </p>
53 <input type="hidden" name="ignore">
55 <!-- Place cursor -->
56 <script language="JavaScript" type="text/javascript">
57   <!-- // First input field on page
58   nextfield= 'current_password';
59         focus_field('current_password');
60   -->
61 </script>