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}
6 <input type="checkbox" id="kolabState" name="kolabState" value="1" {if $kolabState} checked {/if}
7 onClick="
8 changeState('delegate_list');
9 changeState('delegate_address');
10 changeState('add_delegation');
11 changeState('delete_delegation');
12 changeState('unrestrictedMailSize');
13 changeState('calFBURL');
14 changeState('kolabFreeBusyFuture');
15 changeState('kolabInvitationPolicy');
16 {$changeState}
17 ">
18 <b>{t}Kolab account{/t}</b>
19 <br>
20 <br>
21 <table summary="" style="width:100%">
22 <tr>
23 <td style="width:50%; vertical-align:top;">
24 <b><LABEL for="delegate_list">{t}Delegations{/t}</LABEL></b><br>
25 <select id="delegate_list" style="width:350px; height:100px;" name="delegate_list[]" size=15 multiple {if !$kolabState} disabled {/if} >
26 {html_options values=$kolabDelegate output=$kolabDelegate}
27 <option disabled> </option>
28 </select>
29 <br>
30 <input name="delegate_address" size=30 align=middle maxlength=60 {if !$kolabState} disabled {/if}
31 {$kolabDelegateACL} value="" id="delegate_address">
32 <input type=submit value="{t}Add{/t}" name="add_delegation" {if !$kolabState} disabled {/if}
33 {$kolabDelegateACL} id="add_delegation">
34 <input type=submit value="{t}Delete{/t}" name="delete_delegation" {if !$kolabState} disabled {/if}
35 {$kolabDelegateACL} id="delete_delegation">
36 <p>
37 <b>{t}Mail size{/t}</b><br>
38 <input type="checkbox" id='unrestrictedMailSize' name="unrestrictedMailSize" value="1" {if !$kolabState} disabled {/if}
39 {$unrestrictedMailSizeACL} {$unrestrictedMailSizeState}> {t}No mail size restriction for this account{/t}
40 </p>
41 </td>
42 <td rowspan=2 style="border-left:1px solid #A0A0A0">
43
44 </td>
45 <td style="vertical-align:top;">
47 <b>{t}Free Busy information{/t}</b><br>
48 <table summary="">
49 <tr>
50 <td><LABEL for="calFBURL">{t}URL{/t}</LABEL></td>
51 <td><input id="calFBURL" name="calFBURL" size=30 maxlength=60 {$calFBURLACL} value="{$calFBURL}" {if !$kolabState} disabled {/if}></td>
52 </tr>
53 <tr>
54 <td><LABEL for="kolabFreeBusyFuture">{t}Future{/t}</LABEL></td>
55 <td><input id="kolabFreeBusyFuture" name="kolabFreeBusyFuture" size=5 maxlength=6 i {if !$kolabState} disabled {/if}{$kolabFreeBusyFutureACL} value="{$kolabFreeBusyFuture}"> {t}days{/t}</td>
56 </tr>
57 </table>
60 <b>{t}Invitation policy{/t}</b><br>
61 <table summary="">
62 {$invitation}
63 </table>
65 </td>
66 </tr>
67 </table>
69 {/if}