Code

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