Code

Removed debug tags
[gosa.git] / plugins / personal / connectivity / kolab.tpl
2 {if $mail_account ne 'true'}
3         <h2>{t}Kolab account{/t}</h2>
4         {t}The kolab account is currently disabled. It's features can be adjusted if you add a mail account.{/t}
5 {else}
9 <input type="checkbox" id="kolabState" name="kolabState" value="1" {if $kolabState} checked {/if} 
10         {if (!$is_account && $is_createable) || ($is_account && $is_removeable)}
11         {else}
12                 disabled        
13         {/if}
14         onClick="
15         {if $kolabDelegate_W}
16         changeState('delegate_list');
17         changeState('delegate_address');
18         changeState('add_delegation');
19         changeState('delete_delegation');
20         {/if}
21         {if $unrestrictedMailSize_W}
22         changeState('unrestrictedMailSize');
23         {/if}
24         {if $calFBURL_W}
25         changeState('calFBURL');
26         {/if}
27         {if $kolabFreeBusyFuture_W}
28         changeState('kolabFreeBusyFuture');
29         {/if}
30         {if $kolabInvitationPolicy_W}
31         {$changeState}
32         {/if}">
35 <b>{t}Kolab account{/t}</b>
36 <br>
37 <br>
38 <table summary="" style="width:100%">
39  <tr>
40   <td style="width:50%; vertical-align:top;">
41    <b><LABEL for="delegate_list">{t}Delegations{/t}</LABEL></b><br>
42 {render acl=$kolabDelegateACL}
43    <select id="delegate_list" style="width:350px; height:100px;" name="delegate_list[]" size=15 multiple  {if !$kolabState}disabled{/if} >
44     {html_options values=$kolabDelegate output=$kolabDelegate}
45         <option disabled>&nbsp;</option>
46    </select>
47 {/render}
48    <br>
49 {render acl=$kolabDelegateACL}
50    <input name="delegate_address" size=30 align=middle maxlength=60 {if !$kolabState} disabled {/if} value="" id="delegate_address">
51 {/render}
52 {render acl=$kolabDelegateACL}
53    <input type=submit value="{t}Add{/t}" name="add_delegation" {if !$kolabState} disabled {/if} id="add_delegation">&nbsp;
54 {/render}
55 {render acl=$kolabDelegateACL}
56    <input type=submit value="{t}Delete{/t}" name="delete_delegation" {if !$kolabState} disabled {/if} id="delete_delegation">
57 {/render}
58    <p>
59     <b>{t}Mail size{/t}</b><br>
60 {render acl=$unrestrictedMailSizeACL}
61      &nbsp;<input type="checkbox" id='unrestrictedMailSize' name="unrestrictedMailSize" value="1" {if !$kolabState} disabled {/if}
62         {$unrestrictedMailSizeState}> {t}No mail size restriction for this account{/t}
63 {/render}
64     </p>
65   </td>
66   <td rowspan=2 style="border-left:1px solid #A0A0A0">
67    &nbsp;
68   </td>
69   <td style="vertical-align:top;">
71  <b>{t}Free Busy information{/t}</b><br>
72  <table summary="">
73   <tr>
74    <td><LABEL for="calFBURL">{t}URL{/t}</LABEL></td>
75    <td>
76 {render acl=$calFBURLACL}
77    <input id="calFBURL" name="calFBURL" size=30 maxlength=60 value="{$calFBURL}" {if !$kolabState} disabled {/if}>
78 {/render}
79    </td>
80   </tr>
81   <tr>
82   <td><LABEL for="kolabFreeBusyFuture">{t}Future{/t}</LABEL></td>
83   <td>
84 {render acl=$kolabFreeBusyFutureACL}
85    <input id="kolabFreeBusyFuture" name="kolabFreeBusyFuture" size=5 maxlength=6 {if !$kolabState} disabled {/if} value="{$kolabFreeBusyFuture}"> 
86         {t}days{/t}
87 {/render}
88    </td>
89   </tr>
90  </table>
93  <b>{t}Invitation policy{/t}</b><br>
94 {render acl=$kolabInvitationPolicyACL}
95  <table summary="">
96    {$invitation}
97  </table>
98 {/render}
100   </td>
101  </tr>
102 </table>
104 {/if}