Code

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