Code

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