Code

Template update .
[gosa.git] / gosa-plugins / mail / admin / systems / services / virus / goVirusServer.tpl
2 <table style='width:100%;'>
3  <tr>
4   <td colspan=2>
5         <h2>{t}Generic virus filtering{/t}</h2>
6   </td>
7  </tr>
8  <tr>
9   <td style="vertical-align:top;">
10         <table>
11          <tr>
12           <td>
13                 {t}Database user{/t}
14           </td>
15           <td>
16 {render acl=$avUserACL}
17                 <input type='text' name='avUser' value='{$avUser}' style='width:220px;'>
18 {/render}
19           </td>
20          </tr>
21          <tr>
22           <td>
23                 {t}Database mirror{/t}
24           </td>
25           <td>
26 {render acl=$avDatabaseMirrorACL}
27                 <input type='text' name='avDatabaseMirror' value='{$avDatabaseMirror}' style='width:220px;'>
28 {/render}
29           </td>
30          </tr>
31          <tr>
32           <td>
33                 {t}Http proxy URL{/t}
34           </td>
35           <td>
36 {render acl=$avHttpProxyURLACL}
37                 <input type='text' name='avHttpProxyURL' value='{$avHttpProxyURL}' style='width:220px;'>
38 {/render}
39           </td>
40          </tr>
41          <tr>
42           <td>
43                 {t}Maximum threads{/t}
44           </td>
45           <td>
46 {render acl=$avMaxThreadsACL}
47                 <select name="avMaxThreads" title='{t}Select number of maximal threads{/t}'>
48                  {html_options options=$ThreadValues selected=$avMaxThreads}
49                 </select>
50 {/render}
51           </td>
52          </tr>
53         </table>
54  
55   </td>
56   <td style='border-left:1px solid #A0A0A0;vertical-align:top;'>
57   
58         <table>
59          <tr>
60           <td>
61                 {t}Max directory recursions{/t}
62           </td>
63           <td>
64 {render acl=$avMaxDirectoryRecursionsACL}
65                 <input type='text' name='avMaxDirectoryRecursions' value='{$avMaxDirectoryRecursions}' >
66 {/render}
67           </td>
68          </tr>
69          <tr>
70           <td>
71                 {t}Checks per day{/t}
72           </td>
73           <td>
74 {render acl=$avChecksPerDayACL}
75                 <input type='text' name='avChecksPerDay' value='{$avChecksPerDay}'> 
76 {/render}
77           </td>
78          </tr>
79          <tr>
80           <td colspan=2>
81 {render acl=$avFlagsDACL}
82                 <input type='checkbox' name='avFlagsD' {$avFlagsDCHK} value='1'>
83 {/render}
84                 {t}Enable debugging{/t}
85           </td>
86          </tr>
87          <tr>
88           <td colspan=2>
89 {render acl=$avFlagsSACL}
90                 <input type='checkbox' name='avFlagsS' {$avFlagsSCHK} value='1'>
91 {/render}
92                 {t}Enable mail scanning{/t}
93           </td>
94          </tr>
95         </table>
96   </td>
97  </tr>
98  <tr>
99   <td colspan=2>
100    <p class='seperator'>&nbsp;</p>
101         <h2>{t}Archive scanning{/t}</h2> 
102   </td>
103  </tr>
104  <tr>
105   <td style='vertical-align:top;'>
106         <table>
107          <tr>
108           <td>
109 {render acl=$avFlagsAACL}
110                 <input type='checkbox' name='avFlagsA' {$avFlagsACHK} value='1'
111                         onClick=" changeState('avFlagsE') ; 
112                                   changeState('avArchiveMaxFileSize') ; 
113                                   changeState('avArchiveMaxRecursion') ; 
114                                   changeState('avArchiveMaxCompressionRatio') ; "
115                 >
116 {/render}
117                 {t}Enable scanning of archives{/t}
118           </td>
119          </tr>
120          <tr>
121           <td>
122 {render acl=$avFlagsEACL}
123                 <input type='checkbox' name='avFlagsE' {$avFlagsECHK} {$avFlagsAState} value='1' id='avFlagsE'>
124 {/render}
125                 {t}Block encrypted archives{/t}
126           </td>
127          </tr>
128         </table>
129   
130   </td>
131   <td  style="vertical-align:top;width:50%;border-left:1px solid #A0A0A0;">
132         <table>
133          <tr>
134           <td>{t}Maximum file size{/t}
135           </td>
136           <td>
137 {render acl=$avArchiveMaxFileSizeACL}
138            <input name='avArchiveMaxFileSize' id='avArchiveMaxFileSize' value='{$avArchiveMaxFileSize}'  {$avFlagsAState} >
139 {/render}
140           </td>
141          </tr>
142          <tr>
143           <td>{t}Maximum recursion{/t}
144           </td>
145           <td>
146 {render acl=$avArchiveMaxRecursionACL}
147            <input name='avArchiveMaxRecursion' id='avArchiveMaxRecursion' value='{$avArchiveMaxRecursion}'  {$avFlagsAState} >
148 {/render}
149           </td>
150          </tr>
151          <tr>
152           <td>{t}Maximum compression ratio{/t}
153           </td>
154           <td>
155 {render acl=$avArchiveMaxCompressionRatioACL}
156            <input name='avArchiveMaxCompressionRatio' id='avArchiveMaxCompressionRatio' value='{$avArchiveMaxCompressionRatio}' {$avFlagsAState}>
157 {/render}
158           </td>
159          </tr>
160         </table>
161   
162   </td>
163  </tr>
164 </table>
165 <input type='hidden' name='goVirusServer' value='1'>
166 <p class='seperator'>&nbsp;</p>
167 <div style="width:100%; text-align:right;padding-top:10px;padding-bottom:3px;">
168     <input type='submit' name='SaveService' value='{msgPool type=saveButton}'>
169     &nbsp;
170     <input type='submit' name='CancelService' value='{msgPool type=cancelButton}'>
171 </div>