Code

Fixed code alignment.. somehow broken
[gosa.git] / gosa-core / plugins / personal / posix / posix_shadow.tpl
1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
2  <tr>
3   <td style="width:50%; vertical-align:top;">
4    
5    <!-- must_change_password  -->
6    {render acl=$mustchangepasswordACL checkbox=$multiple_support checked=$use_mustchangepassword}
7    <input type="checkbox" class="center" name="mustchangepassword" value="1" {$mustchangepassword}>
8    {/render}
9    {t}User must change password on first login{/t}
10    <br>
11    
12    <!-- shadowMin -->
13    {render acl=$shadowMinACL checkbox=$multiple_support checked=$use_activate_shadowMin}
14    <input type="checkbox" class="center" name="activate_shadowMin" value="1" {$activate_shadowMin}>
15    {/render}
16    {render acl=$shadowMinACL}
17    {$shadowmins}
18    {/render}
19    <br>
20    
21    <!-- activate_shadowMax -->
22    {render acl=$shadowMaxACL checkbox=$multiple_support checked=$use_activate_shadowMax}
23    <input type="checkbox" class="center" name="activate_shadowMax" value="1" {$activate_shadowMax}>
24    {/render}
25    {render acl=$shadowMaxACL}
26    {$shadowmaxs}
27    {/render}
28    <br>
29    
30    <!-- activate_shadowExpire -->
31    {render acl=$shadowExpireACL checkbox=$multiple_support checked=$use_activate_shadowExpire}
32    <table border="0" cellpadding="0" cellspacing="0"><tr><td><input type="checkbox" class="center" name="activate_shadowExpire" value="1" {$activate_shadowExpire}>
33       {/render}
34       {t}Password expires on{/t}&nbsp;
35       {render acl=$shadowExpireACL}
36       </td><td style='width:130px'>
37       <input type="text" id="shadowExpire" name="shadowExpire" class="date" style='width:100px' value="{$shadowExpire}">
38       {if $shadowExpireACL|regex_replace:"/[cdmr]/":"" == "w"}
39       <script type="text/javascript">
40       {literal}
41       var datepicker  = new DatePicker({ relative : 'shadowExpire', language : '{/literal}{$lang}{literal}',
42       keepFieldEmpty : true, enableCloseEffect : false, enableShowEffect : false});
43       {/literal}
44       </script>
45       {/if}
46    </td></tr></table>
47    {/render}
48    
49    <!-- shadowInactive -->
50    {render acl=$shadowInactiveACL checkbox=$multiple_support checked=$use_activate_shadowInactive}
51    <input type="checkbox" class="center" name="activate_shadowInactive" value="1" {$activate_shadowInactive}>
52    {/render}
53    {render acl=$shadowInactiveACL}
54    {$shadowinactives}
55    {/render}
56    <br>
57    
58    <!-- activate_shadowWarning -->
59    {render acl=$shadowWarningACL checkbox=$multiple_support checked=$use_activate_shadowWarning}
60    <input type="checkbox" class="center" name="activate_shadowWarning" value="1" {$activate_shadowWarning}>
61    {/render}
62    {render acl=$shadowWarningACL}
63    {$shadowwarnings}
64    {/render}
65   </td>
66  </tr>
67 </table>