Code

Updated Anto Virus service template s
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Mar 2010 10:27:21 +0000 (10:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Mar 2010 10:27:21 +0000 (10:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16985 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/admin/systems/services/virus/goVirusServer.tpl

index 224277fe3bf78650ec2cd80a0de3092f488c625c..46125a50b0fccd7940a1a84cc50b7bf640d280d1 100644 (file)
 
-<table style='width:100%;'>
+<table style='width:100%;' summary="{t}Anti virus setting{/t}">
  <tr>
   <td colspan=2>
-       <h3>{t}Generic virus filtering{/t}</h3>
+   <h3>{t}Generic virus filtering{/t}</h3>
   </td>
  </tr>
  <tr>
   <td>
-
-       <table>
-        <tr>
-         <td>
-               {t}Database user{/t}
-         </td>
-         <td>
-{render acl=$avUserACL}
-               <input type='text' name='avUser' value='{$avUser}' style='width:220px;'>
-{/render}
-         </td>
-        </tr>
-        <tr>
-         <td>
-               {t}Database mirror{/t}
-         </td>
-         <td>
-{render acl=$avDatabaseMirrorACL}
-               <input type='text' name='avDatabaseMirror' value='{$avDatabaseMirror}' style='width:220px;'>
-{/render}
-         </td>
-        </tr>
-        <tr>
-         <td>
-               {t}Http proxy URL{/t}
-         </td>
-         <td>
-{render acl=$avHttpProxyURLACL}
-               <input type='text' name='avHttpProxyURL' value='{$avHttpProxyURL}' style='width:220px;'>
-{/render}
-         </td>
-        </tr>
-        <tr>
-         <td>
-               {t}Maximum threads{/t}
-         </td>
-         <td>
-{render acl=$avMaxThreadsACL}
-               <select name="avMaxThreads" title='{t}Select number of maximal threads{/t}' size=1>
-                {html_options options=$ThreadValues selected=$avMaxThreads}
-               </select>
-{/render}
-         </td>
-        </tr>
-       </table>
+   <table summary="{t}Database setting{/t}">
+    <tr>
+     <td>{t}Database user{/t}
+     </td>
+     <td>
+      {render acl=$avUserACL}
+       <input type='text' name='avUser' value='
+       {$avUser}' style='width:220px;'>
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td>{t}Database mirror{/t}
+     </td>
+     <td>
+      {render acl=$avDatabaseMirrorACL}
+       <input type='text' name='avDatabaseMirror' value='
+       {$avDatabaseMirror}' style='width:220px;'>
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td>{t}Http proxy URL{/t}
+     </td>
+     <td>
+      {render acl=$avHttpProxyURLACL}
+       <input type='text' name='avHttpProxyURL' value='
+       {$avHttpProxyURL}' style='width:220px;'>
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td>{t}
+      Maximum threads{/t}
+     </td>
+     <td>
+      
+      {render acl=$avMaxThreadsACL}
+       
+       <select name="avMaxThreads" title='{t}
+        Select number of maximal threads{/t}' size=1>
+        {html_options options=$ThreadValues selected=$avMaxThreads}
+       </select>
+      {/render}
+     </td>
+    </tr>
+   </table>
   </td>
   <td class='left-border'>
-
-  
-       <table>
-        <tr>
-         <td>
-               {t}Max directory recursions{/t}
-         </td>
-         <td>
-{render acl=$avMaxDirectoryRecursionsACL}
-               <input type='text' name='avMaxDirectoryRecursions' value='{$avMaxDirectoryRecursions}' >
-{/render}
-         </td>
-        </tr>
-        <tr>
-         <td>
-               {t}Checks per day{/t}
-         </td>
-         <td>
-{render acl=$avChecksPerDayACL}
-               <input type='text' name='avChecksPerDay' value='{$avChecksPerDay}'> 
-{/render}
-         </td>
-        </tr>
-        <tr>
-         <td colspan=2>
-{render acl=$avFlagsDACL}
-               <input type='checkbox' name='avFlagsD' {$avFlagsDCHK} value='1'>
-{/render}
-               {t}Enable debugging{/t}
-         </td>
-        </tr>
-        <tr>
-         <td colspan=2>
-{render acl=$avFlagsSACL}
-               <input type='checkbox' name='avFlagsS' {$avFlagsSCHK} value='1'>
-{/render}
-               {t}Enable mail scanning{/t}
-         </td>
-        </tr>
-       </table>
+   <table summary="{t}Database setting{/t}">
+    <tr>
+     <td>{t}Max directory recursions{/t}
+     </td>
+     <td>
+      {render acl=$avMaxDirectoryRecursionsACL}
+       <input type='text' name='avMaxDirectoryRecursions' value='
+       {$avMaxDirectoryRecursions}' >
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td>{t}Checks per day{/t}
+     </td>
+     <td>
+      {render acl=$avChecksPerDayACL}
+       <input type='text' name='avChecksPerDay' value='
+       {$avChecksPerDay}'>
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td colspan=2>
+      {render acl=$avFlagsDACL}
+       <input type='checkbox' name='avFlagsD'
+       {$avFlagsDCHK}value='1'>
+      {/render}{t}Enable debugging{/t}
+     </td>
+    </tr>
+    <tr>
+     <td colspan=2>
+      {render acl=$avFlagsSACL}
+       <input type='checkbox' name='avFlagsS'
+       {$avFlagsSCHK}value='1'>
+      {/render}{t}Enable mail scanning{/t}
+     </td>
+    </tr>
+   </table>
   </td>
  </tr>
  <tr>
   <td colspan=2>
    <hr>
-       <h3>{t}Archive scanning{/t}</h3> 
+   <h3>{t}Archive scanning{/t}
+   </h3>
   </td>
  </tr>
  <tr>
   <td>
-
-       <table>
-        <tr>
-         <td>
-{render acl=$avFlagsAACL}
-               <input type='checkbox' name='avFlagsA' {$avFlagsACHK} value='1'
-                       onClick=" changeState('avFlagsE') ; 
-                                 changeState('avArchiveMaxFileSize') ; 
-                                 changeState('avArchiveMaxRecursion') ; 
-                                 changeState('avArchiveMaxCompressionRatio') ; "
-               >
-{/render}
-               {t}Enable scanning of archives{/t}
-         </td>
-        </tr>
-        <tr>
-         <td>
-{render acl=$avFlagsEACL}
-               <input type='checkbox' name='avFlagsE' {$avFlagsECHK} {$avFlagsAState} value='1' id='avFlagsE'>
-{/render}
-               {t}Block encrypted archives{/t}
-         </td>
-        </tr>
-       </table>
-  
+   <table summary="{t}Archive setting{/t}">
+    <tr>
+     <td>
+      {render acl=$avFlagsAACL}
+       <input type='checkbox' name='avFlagsA'
+       {$avFlagsACHK}value='1'                 onClick=" changeState('avFlagsE') ;                               changeState('avArchiveMaxFileSize') ;                                   changeState('avArchiveMaxRecursion') ;                                  changeState('avArchiveMaxCompressionRatio') ; "               >
+      {/render}{t}Enable scanning of archives{/t}
+     </td>
+    </tr>
+    <tr>
+     <td>
+      {render acl=$avFlagsEACL}
+       <input type='checkbox' name='avFlagsE'
+       {$avFlagsECHK}
+       {$avFlagsAState}value='1' id='avFlagsE'>
+      {/render}{t}Block encrypted archives{/t}
+     </td>
+    </tr>
+   </table>
   </td>
   <td style='width:50%;' class='left-border'>
-
-       <table>
-        <tr>
-         <td>{t}Maximum file size{/t}
-         </td>
-         <td>
-{render acl=$avArchiveMaxFileSizeACL}
-          <input type='text' name='avArchiveMaxFileSize' id='avArchiveMaxFileSize' value='{$avArchiveMaxFileSize}'  {$avFlagsAState} >
-{/render}
-         </td>
-        </tr>
-        <tr>
-         <td>{t}Maximum recursion{/t}
-         </td>
-         <td>
-{render acl=$avArchiveMaxRecursionACL}
-          <input type='text' name='avArchiveMaxRecursion' id='avArchiveMaxRecursion' value='{$avArchiveMaxRecursion}'  {$avFlagsAState} >
-{/render}
-         </td>
-        </tr>
-        <tr>
-         <td>{t}Maximum compression ratio{/t}
-         </td>
-         <td>
-{render acl=$avArchiveMaxCompressionRatioACL}
-          <input type='text' name='avArchiveMaxCompressionRatio' id='avArchiveMaxCompressionRatio' value='{$avArchiveMaxCompressionRatio}' {$avFlagsAState}>
-{/render}
-         </td>
-        </tr>
-       </table>
-  
+   <table summary="{t}Archive setting{/t}">
+    <tr>
+     <td>{t}Maximum file size{/t}
+     </td>
+     <td>
+      {render acl=$avArchiveMaxFileSizeACL}
+       <input type='text' name='avArchiveMaxFileSize' id='avArchiveMaxFileSize' value='
+       {$avArchiveMaxFileSize}'
+       {$avFlagsAState}>
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td>{t}Maximum recursion{/t}
+     </td>
+     <td>
+      {render acl=$avArchiveMaxRecursionACL}
+       <input type='text' name='avArchiveMaxRecursion' id='avArchiveMaxRecursion' value='
+       {$avArchiveMaxRecursion}'
+       {$avFlagsAState}>
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td>{t}Maximum compression ratio{/t}
+     </td>
+     <td>
+      {render acl=$avArchiveMaxCompressionRatioACL}
+       <input type='text' name='avArchiveMaxCompressionRatio' id='avArchiveMaxCompressionRatio' value='
+       {$avArchiveMaxCompressionRatio}'
+       {$avFlagsAState}>
+      {/render}
+     </td>
+    </tr>
+   </table>
   </td>
  </tr>
 </table>
 <input type='hidden' name='goVirusServer' value='1'>
-<hr>
-<div style="width:100%; text-align:right;padding-top:10px;padding-bottom:3px;">
-    <button type='submit' name='SaveService'>{msgPool type=saveButton}</button>
 
-    &nbsp;
-    <button type='submit' name='CancelService'>{msgPool type=cancelButton}</button>
+<hr>
 
+<div class="plugin-actions">
+ <button type='submit' name='SaveService'>{msgPool type=saveButton}</button>
+ <button type='submit' name='CancelService'>{msgPool type=cancelButton}</button>
 </div>
-