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