Code

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