Code

Updated locales
[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 <p>
8   {t}Changing the password affects your authentification on mail, proxy, samba and unix services.{/t}
9 </p>
11 <hr>
13 {if $passwordExpired}
14     <b><font color='red'>{t}Your Password has expired. Please choose a new password!{/t}</font></b>
15 <hr>
16 {/if}
18 {if !$proposalEnabled}
20   <table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
21     <tr>
22       <td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>
23       <td><input id="current_password" type="password" name="current_password" 
24           onFocus="nextfield= 'new_password';"></td>
25     </tr>
26     <tr>
27       <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
28       <td><input id="new_password" type="password" name="new_password" 
29           onFocus="nextfield= 'repeated_password';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
30     </tr>
31     <tr>
32       <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
33       <td><input id="repeated_password" type="password" name="repeated_password" 
34           onFocus="nextfield= 'password_finish';"></td>
35     </tr>
36     <tr>
37       <td><b>{t}Password strength{/t}</b></td>
38       <td>
39       <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:5px;">
40       <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:5px;"></span></span>
41       </td>
42     </tr>
43   </table>
45 {else}
47   <table cellpadding=4 border=0 summary="{t}Password change dialog{/t}">
48     <tr>
49       <td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>
50       <td><input id="current_password" type="password" name="current_password" 
51           onFocus="nextfield= 'new_password';"></td>
52     </tr>
53     <tr>
54       <td>
55         <input type='radio' value='1' name='proposalSelected'
56             {if $proposalSelected} checked {/if}>&nbsp;<b>{t}Use proposal{/t}</b>
57       </td>
58       <td>
59         <input type='text' value="{$proposal}" style='color: black;'>
60         &nbsp;<input type='submit' name='refreshProposal' value='{t}Refresh{/t}'>
61       </td>
62     </tr>
63     <tr>
64       <td>
65         <input type='radio' value='0' name='proposalSelected'
66             {if !$proposalSelected} checked {/if}>&nbsp;<b>{t}Manually specify a password{/t}</b>
67       </td>
68     </tr>
69     <tr>
70       <td  style='padding-left:40px;'><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
71       <td><input id="new_password" type="password" name="new_password" 
72           onFocus="nextfield= 'repeated_password';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
73     </tr>
74     <tr>
75       <td  style='padding-left:40px;'><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
76       <td><input id="repeated_password" type="password" name="repeated_password" 
77           onFocus="nextfield= 'password_finish';"></td>
78     </tr>
79     <tr>
80       <td  style='padding-left:40px;'><b>{t}Password strength{/t}</b></td>
81       <td>
82       <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:7px;">
83       <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:7px;"></span></span>
84       </td>
85     </tr>
86   </table>
88 {/if}
90 <br>
92 <p class="plugbottom">
93   <input type=submit name="password_finish" value="{t}Set password{/t}">
94   &nbsp;
95   <input type=reset id="password_cancel" name="password_cancel" value="{t}Clear fields{/t}">
96   <input type='hidden' id='formSubmit'>
97 </p>
99 <input type="hidden" name="ignore">
101 <!-- Place cursor -->
102 <script language="JavaScript" type="text/javascript">
103   <!-- // First input field on page
104   nextfield= 'current_password';
105         focus_field('current_password');
106   -->
107 </script>