2 {if !$mail_account}
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}
7 <h2>
8 {if $multiple_support}
10 <input type="checkbox" name="use_kolabState" value="1" {if $use_kolabState} checked {/if}
11 class="center" onClick="changeState('kolabState');">
12 <input type="checkbox" id="kolabState" name="kolabState" value="1" {if $kolabState} checked {/if}
13 class="center" {if !$use_kolabState} disabled {/if}>
15 {else}
16 <input type="checkbox" id="kolabState" name="kolabState" value="1" {if $kolabState} checked {/if}
17 class="center"
18 {if (!$is_account && $is_createable) || ($is_account && $is_removeable)}
19 {else}
20 disabled
21 {/if}
22 onClick="
23 {if $kolabDelegate_W}
24 changeState('delegate_list');
25 changeState('delegate_address');
26 changeState('add_delegation');
27 changeState('delete_delegation');
28 {/if}
29 {if $unrestrictedMailSize_W}
30 changeState('unrestrictedMailSize');
31 {/if}
32 {if $calFBURL_W}
33 changeState('calFBURL');
34 {/if}
35 {if $kolabFreeBusyFuture_W}
36 changeState('kolabFreeBusyFuture');
37 {/if}
38 {if $kolabInvitationPolicy_W}
39 {$changeState}
40 {/if}">
41 {/if}
43 {t}Kolab account{/t}</h2>
44 <table summary="" style="width:100%">
45 <tr>
46 <td style="width:50%; vertical-align:top;">
48 {if $multiple_support}
49 <input type="checkbox" name="use_kolabDelegate" {if $use_kolabDelegate} checked {/if}
50 class="center" onClick="changeState('delegate_list');">
51 <b><LABEL for="delegate_list">{t}Delegations{/t}</LABEL></b><br>
52 <select id="delegate_list" style="width:350px; height:100px;" name="delegate_list[]" size=15 multiple
53 {if !$use_kolabDelegate }disabled{/if} >
54 {html_options values=$kolabDelegate output=$kolabDelegate}
55 <option disabled> </option>
56 </select>
57 <br>
58 <input name="delegate_address" size=30 align=middle maxlength=60 value="" id="delegate_address">
59 <input type=submit value="{msgPool type=addButton}" name="add_delegation" id="add_delegation">
60 <input type=submit value="{msgPool type=delButton}" name="delete_delegation" id="delete_delegation">
62 {else}
63 <b><LABEL for="delegate_list">{t}Delegations{/t}</LABEL></b><br>
64 {render acl=$kolabDelegateACL}
65 <select id="delegate_list" style="width:350px; height:100px;" name="delegate_list[]" size=15 multiple
66 {if !$kolabState }disabled{/if} >
67 {html_options values=$kolabDelegate output=$kolabDelegate}
68 <option disabled> </option>
69 </select>
70 {/render}
71 <br>
72 {render acl=$kolabDelegateACL}
73 <input name="delegate_address" size=30 align=middle maxlength=60 {if !$kolabState} disabled {/if} value="" id="delegate_address">
74 {/render}
75 {render acl=$kolabDelegateACL}
76 <input type=submit value="{msgPool type=addButton}" name="add_delegation" {if !$kolabState} disabled {/if} id="add_delegation">
77 {/render}
78 {render acl=$kolabDelegateACL}
79 <input type=submit value="{msgPool type=delButton}" name="delete_delegation" {if !$kolabState} disabled {/if} id="delete_delegation">
80 {/render}
81 {/if}
83 <h2>{t}Mail size{/t}</h2>
84 {render acl=$unrestrictedMailSizeACL checkbox=$multiple_support checked=$use_unrestrictedMailSize}
85 <input class="center" type="checkbox" id='unrestrictedMailSize' name="unrestrictedMailSize" value="1"
86 {if !$kolabState && !$multiple_support} disabled {/if} {$unrestrictedMailSizeState}>
87 {t}No mail size restriction for this account{/t}
88 {/render}
89 </td>
90 <td rowspan=2 style="border-left:1px solid #A0A0A0">
91
92 </td>
93 <td style="vertical-align:top;">
95 <h2>{t}Free Busy information{/t}</h2>
96 <table summary="">
97 <tr>
98 <td><LABEL for="calFBURL">{t}URL{/t}</LABEL></td>
99 <td>
100 {render acl=$calFBURLACL checkbox=$multiple_support checked=$use_calFBURL}
101 <input id="calFBURL" name="calFBURL" size=30 maxlength=60 value="{$calFBURL}"
102 {if !$kolabState && !$multiple_support} disabled {/if}>
103 {/render}
104 </td>
105 </tr>
106 <tr>
107 <td><LABEL for="kolabFreeBusyFuture">{t}Future{/t}</LABEL></td>
108 <td>
109 {render acl=$kolabFreeBusyFutureACL checkbox=$multiple_support checked=$use_kolabFreeBusyFuture}
110 <input id="kolabFreeBusyFuture" name="kolabFreeBusyFuture" size=5 maxlength=6
111 {if !$kolabState && !$multiple_support} disabled {/if} value="{$kolabFreeBusyFuture}" >
112 {t}days{/t}
113 {/render}
114 </td>
115 </tr>
116 </table>
119 <h2>{t}Invitation policy{/t}</h2>
120 {if $multiple_support}
121 <input type="checkbox" name="use_kolabInvitationPolicy" {if $use_kolabInvitationPolicy} checked {/if} value="1" class="center">
122 {/if}
123 {render acl=$kolabInvitationPolicyACL}
124 <table summary="">
125 {$invitation}
126 </table>
127 {/render}
130 </td>
131 </tr>
132 </table>
134 {/if}