Code

Added missing attribute avMaxDirectoryRecursions
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 1 Aug 2006 07:57:42 +0000 (07:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 1 Aug 2006 07:57:42 +0000 (07:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4357 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_goVirusServer.inc
plugins/admin/systems/goVirusServer.tpl

index 510db7ba2d1138da518e2a83f3e531e24fa49c68..ad549c62f2714b05ccc04dc951d9d745817160eb 100644 (file)
@@ -201,6 +201,7 @@ class govirusserver extends plugin{
     $message = plugin::check();
 
     $mustBeNumeric = array(
+          "avMaxDirectoryRecursions"     =>_("Maximum directory recursions"),
           "avMaxThreads"                 =>_("Maximum threads"),
           "avArchiveMaxFileSize"         =>_("Maximum file size"),
           "avArchiveMaxRecursion"        =>_("Maximum recursions"),
@@ -350,8 +351,8 @@ class govirusserver extends plugin{
           "avFlagsE"         =>_("Block encrypted archives"),
 
           "avMaxThreads"                 =>_("Maximum threads"),
-//          "avMaxDirectoryRecursions"     =>_(""),
-//          "avUser"                       =>_(""),
+          "avMaxDirectoryRecursions"     =>_("Maximum directory recursions"),
+          "avUser"                       =>_("Anti virus user"),
           "avArchiveMaxFileSize"         =>_("Maximum file size"),
           "avArchiveMaxRecursion"        =>_("Maximum recursions"),
           "avArchiveMaxCompressionRatio" =>_("Maximum compression ratio"),
index f2ea67b7d4c1a839d1f9ee050e0bc9b8684436a8..525ef543ffa4c4991e1c368f1265e5e30834a6e6 100644 (file)
                <input type='text' name='avHttpProxyURL' value='{$avHttpProxyURL}' {$avHttpProxyURLACL} style='width:220px;'>
          </td>
         </tr>
+        <tr>
+         <td>
+               {t}Maximum threads{/t}
+         </td>
+         <td>
+               <select name="avMaxThreads" title='{t}Select number of maximal threads{/t}'>
+                {html_options options=$ThreadValues selected=$avMaxThreads}
+               </select>
+         </td>
+        </tr>
        </table>
  
   </td>
        <table>
         <tr>
          <td>
-               {t}Checks per day{/t}
+               {t}Max directory recursions{/t}
          </td>
          <td>
-               <input type='text' name='avChecksPerDay' value='{$avChecksPerDay}' {$avChecksPerDayACL}>
+               <input type='text' name='avMaxDirectoryRecursions' value='{$avMaxDirectoryRecursions}' {$avMaxDirectoryRecursionsACL}>
          </td>
         </tr>
         <tr>
          <td>
-               {t}Maximum threads{/t}
+               {t}Checks per day{/t}
          </td>
          <td>
-               <select name="avMaxThreads" title='{t}Select number of maximal threads{/t}'>
-                {html_options options=$ThreadValues selected=$avMaxThreads}
-               </select>
+               <input type='text' name='avChecksPerDay' value='{$avChecksPerDay}' {$avChecksPerDayACL}>
          </td>
         </tr>
         <tr>
-         <td>
+         <td colspan=2>
                <input type='checkbox' name='avFlagsD' {$avFlagsDACL} {$avFlagsDCHK} value='1'>
                {t}Enable debugging{/t}
          </td>
         </tr>
         <tr>
-         <td>
+         <td colspan=2>
                <input type='checkbox' name='avFlagsS' {$avFlagsSACL} {$avFlagsSCHK} value='1'>
                {t}Enable mail scanning{/t}
          </td>