Code

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