1 <input type="hidden" name="mailedit" value="1">
2 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
4 <!-- Headline container -->
5 <tr>
6 <td style="width:50%; border-right:1px solid #A0A0A0; vertical-align:top">
7 <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Generic{/t}</h2>
8 <table summary="">
9 <tr>
10 <td><LABEL for="mail">{t}Primary address{/t}</LABEL>{$must}</td>
11 <td>
12 {if $multiple_support}
13 <input id="dummy1" name="dummy1" size="25" maxlength="65"
14 value="{t}Multiple edit{/t}" disabled>
15 {else}
16 {render acl=$mailACL}
17 <input id="mail" name="mail" size="25" maxlength="65" value="{$mail}" title="{t}Primary mail address for this shared folder{/t}">
18 {/render}
19 {/if}
20 </td>
21 </tr>
22 <tr>
23 <td><LABEL for="gosaMailServer">{t}Server{/t}</LABEL></td>
24 <td>
25 {render acl=$gosaMailServerACL checkbox=$multiple_support checked=$use_gosaMailServer}
26 <select size="1" name="gosaMailServer" title="{t}Select mail server to place user on{/t}">
27 {html_options values=$mailServers output=$mailServers selected=$gosaMailServer}
28 <option disabled> </option>
29 </select>
30 {/render}
31 </td>
32 </tr>
33 <tr>
34 <td>
35 <br>
36 <LABEL for="gosaMailQuota"> {t}Quota usage{/t}</LABEL>
37 </td>
38 <td>
39 <br>
40 {if $quotadefined eq "true"}
41 {$quotausage}
42 {else}
43 {t}not defined{/t}
44 {/if}
45 </td>
46 </tr>
47 <tr>
48 <td>{t}Quota size{/t}</td>
49 <td>
50 {render acl=$gosaMailQuotaACL checkbox=$multiple_support checked=$use_gosaMailQuota}
51 <input id="gosaMailQuota" name="gosaMailQuota" size="6" align=middle maxlength="30" value="{$gosaMailQuota}">
52 {/render}
53 {t}MB{/t}
54 </td>
55 </tr>
56 {if $kolab}
57 <tr>
58 <td>
59 {t}Folder type{/t}
60 </td>
61 <td>
63 {if $multiple_support}
64 <input type='checkbox' name='use_kolabFolderType' id='use_kolabFolderType' class="center"
65 {if $use_kolabFolderType} checked {/if}
66 onClick="changeState('kolabFolderType_Type');changeState('kolabFolderType_SubType');"
67 >
68 <select id="kolabFolderType_Type" name="kolabFolderType_Type" onChange="document.mainform.submit();"
69 {if !$use_kolabFolderType} disabled {/if}>
70 {html_options options=$kolabFolderType_Types selected=$kolabFolderType_Type}
71 </select>
72 <select id="kolabFolderType_SubType" name="kolabFolderType_SubType" onChange="document.mainform.submit();"
73 {if !$use_kolabFolderType} disabled {/if}>
74 {html_options options=$kolabFolderType_SubTypes selected=$kolabFolderType_SubType}
75 </select>
76 {else}
77 <select id="kolabFolderType_Type" name="kolabFolderType_Type" onChange="document.mainform.submit();">
78 {html_options options=$kolabFolderType_Types selected=$kolabFolderType_Type}
79 </select>
80 <select id="kolabFolderType_SubType" name="kolabFolderType_SubType" onChange="document.mainform.submit();">
81 {html_options options=$kolabFolderType_SubTypes selected=$kolabFolderType_SubType}
82 </select>
83 {/if}
84 {if !$JS}
85 <input type='image' src='images/list_reload.png' class='center' alt='{t}Reload{/t}'>
86 {/if}
87 </td>
88 </tr>
89 {/if}
90 </table>
92 </td>
94 {if $multiple_support}
96 {else}
98 <td style="vertical-align:top;padding-left:2px;">
102 <h2><img class="center" alt="" align="middle" src="images/alternatemail.png"> {t}Alternative addresses{/t}</h2>
104 {render acl=$gosaMailAlternateAddressACL}
105 <select style="width:100%;" name="alternates_list[]" size=10 multiple title="{t}List of alternative mail addresses{/t}">
106 {html_options values=$gosaMailAlternateAddress output=$gosaMailAlternateAddress}
107 <option disabled> </option>
108 </select>
109 {/render}
111 <br>
113 {render acl=$gosaMailAlternateAddressACL}
114 <input name="alternate_address" size="30" align=middle maxlength="60" value="">
115 {/render}
117 {render acl=$gosaMailAlternateAddressACL}
118 <input type=submit value="{t}Add{/t}" name="add_alternate">
119 {/render}
121 {render acl=$gosaMailAlternateAddressACL}
122 <input type=submit value="{t}Delete{/t}" name="delete_alternate">
123 {/render}
125 </td>
126 {/if}
127 </tr>
129 </table>
130 <p class="seperator"> </p>
132 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
133 <tr>
134 <td style="vertical-align:top;width:50%; border-right:1px solid #A0A0A0">
135 <h2><img class="center" alt="" align="middle" src="images/members.png"> {t}IMAP shared folders{/t}</h2>
136 {if $multiple_support}
138 <input class="center" type='checkbox' name="use_acl" value="1" {if $use_acl} checked {/if}
139 onClick="toggle('acl_div');">{t}Set shared folder permissions{/t}
140 {if $use_acl}
141 <div style="visibility:visible;" id="acl_div">
142 {else}
143 <div style="visibility:hidden;" id="acl_div">
144 {/if}
145 {/if}
146 <table summary="" cellpadding=0 border=0>
147 <tr>
148 <td><LABEL for="default_permissions">{t}Default permission{/t}</LABEL></td>
149 <td>
150 {render acl=$aclACL}
151 <select size="1" id="default_permissions" name="default_permissions">
152 {html_options options=$perms selected=$default_permissions}
153 <option disabled> </option>
154 </select>
155 {/render}
156 </td>
157 </tr>
158 <tr>
159 <td><LABEL for="member_permissions">{t}Member permission{/t}</LABEL></td>
160 <td>
161 {render acl=$aclACL}
162 <select id="member_permissions" size="1" name="member_permissions">
163 {html_options options=$perms selected=$member_permissions}
164 </select>
165 {/render}
166 </td>
167 </tr>
168 {$plusattributes}
169 </table>
170 {if $multiple_support}
171 </div>
172 {/if}
174 </td>
175 <td style="vertical-align:top;width:50%">
176 <h2>
177 <img class="center" alt="" align="middle" src="images/envelope.png">
178 {t}Forward messages to non group members{/t}
179 </h2>
181 {render acl=$gosaMailForwardingAddressACL}
182 <select style="width:100%;" name="forwarder_list[]" size=10 multiple>
184 {if $multiple_support}
186 {foreach from=$Forward_all item=item key=key}
187 <option value="{$item}">{$item} ({t}Used in all groups{/t})</option>
188 {/foreach}
189 {foreach from=$Forward_some item=item key=key}
190 <option value="{$item}" style='color: #888888; background: #DDDDDD;background-color: #DDDDDD;'>{$item} ({t}Not used in all groups{/t})</option>
191 {/foreach}
192 {else}
193 {html_options values=$gosaMailForwardingAddress output=$gosaMailForwardingAddress}
194 <option disabled> </option>
195 {/if}
196 </select>
197 {/render}
199 <br>
201 {render acl=$gosaMailForwardingAddressACL}
202 <input name="forward_address" size=20 align=middle maxlength=65 value="">
203 {/render}
204 {render acl=$gosaMailForwardingAddressACL}
205 <input type=submit value="{t}Add{/t}" name="add_forwarder">
206 {/render}
207 {render acl=$gosaMailForwardingAddressACL}
208 <input type=submit value="{t}Add local{/t}" name="add_local_forwarder">
209 {/render}
210 {render acl=$gosaMailForwardingAddressACL}
211 <input type=submit value="{t}Delete{/t}" name="delete_forwarder">
212 {/render}
213 </td>
214 </tr>
215 </table>
217 <!-- Place cursor -->
218 <script language="JavaScript" type="text/javascript">
219 <!-- // First input field on page
220 focus_field('mail');
221 -->
222 </script>
223 {if $multiple_support}
224 <input type="hidden" name="multiple_mail_group_posted" value="1">
225 {/if}