Code

Prepared for multiple asterisk servers
[gosa.git] / plugins / personal / mail / generic.tpl
1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
2  <tr>
3   <td style="width:50%; vertical-align:top;">
4    <h2><img class="center" alt="" align="middle" src="images/rightarrow.png" />&nbsp;{t}Generic{/t}</h2>
5    <table summary="">
6     <tr>
7      <td><label for="mail">{t}Primary address{/t}</label>{$must}</td>
8      <td>
9 {render acl=$mailACL}
10         <input id="mail" name="mail" size=35 maxlength=65 value="{$mail}">
11 {/render}
12      </td>
13     </tr>
14     <tr>
15      <td><label for="gosaMailServer">{t}Server{/t}</label></td>
16      <td>
17 {render acl=$gosaMailServerACL}
18       <select size="1" id="gosaMailServer" name="gosaMailServer" title="{t}Specify the mail server where the user will be hosted on{/t}">
19         {html_options values=$mailServers output=$mailServers selected=$gosaMailServer}
20         <option disabled>&nbsp;</option>
21       </select>
22 {/render}
23      </td>
24     </tr>
25     <tr>
26      <td>
27       <br>
28       {t}Quota usage{/t}
29      </td>
30      <td>
31       <br>
32       {if $quotadefined eq "true"}
33         {$quotausage}
34       {else}
35       {t}not defined{/t}
36       {/if}
37      </td>
38     </tr>
39     <tr>
40      <td><label for="gosaMailQuota">{t}Quota size{/t}</label></td>
41      <td>
42 {render acl=$gosaMailQuotaACL}
43       <input id="gosaMailQuota" name="gosaMailQuota" size="6" align="middle" maxlength="60" 
44                 value="{$gosaMailQuota}"> MB
45 {/render}
46      </td>
47     </tr>
48    </table>
49   </td>
51   <td style="border-left:1px solid #A0A0A0">
52    &nbsp;
53   </td>
55   <td style="vertical-align:top;">
56    <h2><img class="center" alt="" align="middle" src="images/alternatemail.png" /><label for="alternates_list"> {t}Alternative addresses{/t}</label></h2>
57 {render acl=$gosaMailAlternateAddressACL}
58    <select id="alternates_list" style="width:100%;height:100px;" name="alternates_list[]" size="15" multiple 
59         title="{t}List of alternative mail addresses{/t}">
60         {html_options values=$gosaMailAlternateAddress output=$gosaMailAlternateAddress}
61         <option disabled>&nbsp;</option>
62 {/render}
63    </select>
64    <br />
65 {render acl=$gosaMailAlternateAddressACL}
66    <input name="alternate_address" size="30" align="middle" maxlength="65" value="">
67 {/render}
68 {render acl=$gosaMailAlternateAddressACL}
69    <input type=submit value="{t}Add{/t}" name="add_alternate">
70 {/render}
71 {render acl=$gosaMailAlternateAddressACL}
72    <input type=submit value="{t}Delete{/t}" name="delete_alternate">
73 {/render}
74   </td>
75  </tr>
76 </table>
78 <p class="seperator">&nbsp;</p>
80 <h2><img class="center" alt="" align="middle" src="images/envelope.png" />&nbsp;{t}Mail options{/t}</h2>
81 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
82  <tr style="padding-bottom:0px;">
83   <td style="width:50%">
84 {render acl=$gosaMailDeliveryModeIACL}
85    <input type=checkbox name="drop_own_mails" value="1" {$drop_own_mails} title="{t}Select if you want to forward mails without getting own copies of them{/t}"> {t}No delivery to own mailbox{/t}
86 {/render}
87    <br>
88 {render acl=$gosaMailDeliveryModeVACL}
89    <input type=checkbox name="use_vacation" value="1" {$use_vacation} title="{t}Select to automatically response with the vacation message defined below{/t}"> {t}Activate vacation message{/t}
90 {/render}
91   </td>
92    <td rowspan=2 style="border-left:1px solid #A0A0A0">
93    &nbsp;
94   </td>
95   <td style="vertical-align:top;">
96 {render acl=$gosaMailDeliveryModeSACL}
97    <input type=checkbox name="use_spam_filter" value="1" {$use_spam_filter} title="{t}Select if you want to filter this mails through spamassassin{/t}">
98 {/render}
99  <label for="gosaSpamSortLevel">{t}Move mails tagged with spam level greater than{/t}</label>
100         
101 {render acl=$gosaSpamSortLevelACL}
102    <select id="gosaSpamSortLevel" size="1" name="gosaSpamSortLevel" title="{t}Choose spam level - smaller values are more sensitive{/t}">
103         {html_options values=$spamlevel output=$spamlevel selected=$gosaSpamSortLevel}
104    </select>
105 {/render}
106    <label for="gosaSpamMailbox">{t}to folder{/t}</label>
107 {render acl=$gosaSpamMailboxACL}
108    <select size="1" id="gosaSpamMailbox" name="gosaSpamMailbox">
109                 {html_options values=$spambox output=$spambox selected=$gosaSpamMailbox}
110                         <option disabled>&nbsp;</option>
111    </select>
112 {/render}
113    <br>
114 {render acl=$gosaMailDeliveryModeRACL}
115    <input type=checkbox name="use_mailsize_limit" value="1" {$use_mailsize_limit} >
116 {/render}
117         <label for="gosaMailMaxSize">{t}Reject mails bigger than{/t}</label> 
118 {render acl=$gosaMailMaxSizeACL}
119    <input id="gosaMailMaxSize" name="gosaMailMaxSize" size="6" align="middle" maxlength="30" value="{$gosaMailMaxSize}"> {t}MB{/t}
120 {/render}
121   </td>
122  </tr>
123  <tr>
124   <td style="vertical-align:top; width:45%">
125    <p style="margin-bottom:0px;">
126     <b><label for="gosaVacationMessage">{t}Vacation message{/t}</label></b>
127    </p>
128 {render acl=$gosaVacationMessageACL}
129    <textarea id="gosaVacationMessage" style="width:99%; height:100px;" name="gosaVacationMessage" rows="4" cols="512">{$gosaVacationMessage}</textarea>
130 {/render}
131    <br>
133    {if $show_templates eq "true"}
134 {render acl=$gosaVacationMessageACL}
135    <select name="vacation_template">
136                 {html_options options=$vacationtemplates selected=$template}
137                 <option disabled>&nbsp;</option>
138    </select>
139 {/render}
140 {render acl=$gosaVacationMessageACL}
141    <input type="submit" value="{t}Import{/t}" name="import_vacation">
142 {/render}
143    {/if}
144   </td>
145   <td>
146    <p style="margin-bottom:0px;">
147     <b><label for="forwarder_list">{t}Forward messages to{/t}</label></b>
148    </p>
149 {render acl=$gosaMailForwardingAddressACL}
150    <select id="gosaMailForwardingAddress" style="width:100%; height:100px;" name="forwarder_list[]" size=15 multiple >
151                         {html_options values=$gosaMailForwardingAddress output=$gosaMailForwardingAddress selected=$template}        
152                         <option disabled>&nbsp;</option>
153    </select>
154 {/render}
155    <br>
156 {render acl=$gosaMailForwardingAddressACL}
157    <input name="forward_address" size=20 align="middle" maxlength=65 value="">
158 {/render}
159 {render acl=$gosaMailForwardingAddressACL}
160    <input type="submit" value="{t}Add{/t}" name="add_forwarder" >&nbsp;
161 {/render}
162 {render acl=$gosaMailForwardingAddressACL}
163    <input type="submit" value="{t}Add local{/t}" name="add_local_forwarder" >&nbsp;
164 {/render}
165 {render acl=$gosaMailForwardingAddressACL}
166    <input type="submit" value="{t}Delete{/t}" name="delete_forwarder">
167 {/render}
168   </td>
169  </tr>
170 </table>
172 <p class="seperator">&nbsp;</p>
174 <h2><img class="center" alt="" align="middle" src="images/false.png" />&nbsp;{t}Advanced mail options{/t}</h2>
176 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
177  <tr>
178   <td>
179 {render acl=$gosaMailDeliveryModeLACL}
180    <input type=checkbox name="only_local" value="1" {$only_local} title="{t}Select if user can only send and receive inside his own domain{/t}">
181 {/render}
182    {t}User is only allowed to send and receive local mails{/t}
183   </td>
184   <td style="border-left:1px solid #A0A0A0">
185    &nbsp;
186   </td>
187   <td>
189 {render acl=$gosaMailDeliveryModeCACL}
190    <input type=checkbox name="own_script" value="1" {$own_script}> {t}Use custom sieve script{/t} <b>({t}disables all Mail options!{/t})</b>
191 {/render}
192   </td>
193  </tr>
194 </table>
196 <input type="hidden" name="mailTab" value="mailTab">
198 <!-- Place cursor -->
199 <script language="JavaScript" type="text/javascript">
200   <!-- // First input field on page
201   document.mainform.mail.focus();
202   -->
203 </script>