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 {$kolabAccountACL}
18 >
19 <b>{t}Kolab account{/t}</b>
20 <br>
21 <br>
22 <table summary="" style="width:100%">
23 <tr>
24 <td style="width:50%; vertical-align:top;">
25 <b><LABEL for="delegate_list">{t}Delegations{/t}</LABEL></b><br>
26 <select id="delegate_list" style="width:350px; height:100px;" name="delegate_list[]" size=15 multiple {if !$kolabState} disabled {/if} >
27 {html_options values=$kolabDelegate output=$kolabDelegate}
28 <option disabled> </option>
29 </select>
30 <br>
31 <input name="delegate_address" size=30 align=middle maxlength=60 {if !$kolabState || $kolabDelegateACL !=""} disabled {/if}
32 value="" id="delegate_address">
33 <input type=submit value="{t}Add{/t}" name="add_delegation" {if !$kolabState || $kolabDelegateACL !=""} disabled {/if}
34 id="add_delegation">
35 <input type=submit value="{t}Delete{/t}" name="delete_delegation" {if !$kolabState || $kolabDelegateACL !=""} disabled {/if}
36 id="delete_delegation">
37 <p>
38 <b>{t}Mail size{/t}</b><br>
39 <input type="checkbox" id='unrestrictedMailSize' name="unrestrictedMailSize" value="1" {if !$kolabState || $unrestrictedMailSizeACL !=""} disabled {/if} {$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 value="{$calFBURL}" {if !$kolabState || $calFBURLACL !=""} 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 {if !$kolabState || $kolabFreeBusyFutureACL != ""} disabled {/if} 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}