Code

Fixed size problem with package add dialog
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 10 Jun 2008 09:34:22 +0000 (09:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 10 Jun 2008 09:34:22 +0000 (09:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11277 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc

index 46fc8b8aacc25a7701fb46539824a92543fcf064..f86f89a96aff64eefcd72d3697101ef4e5c5789e 100644 (file)
@@ -74,10 +74,12 @@ class faiPackageEntry extends plugin
 
     /* Create section checkboxes 
      */ 
-    $Section_boxes = "<input type='hidden' value='chkchange' name='chkchange'><table summary=''><tr>";
+    $Section_boxes = "
+          <div style='height:450px; overflow:scroll;'> 
+            <input type='hidden' value='chkchange' name='chkchange'><table summary=''><tr>";
     $i = 0;
     foreach($this->package_sections as $cat => $selected){
-      if($i == 3){
+      if($i == 2){
         $Section_boxes .="</tr><tr>";
         $i = 0;
       }
@@ -90,7 +92,7 @@ class faiPackageEntry extends plugin
       }
       $i ++ ;
     }
-    $Section_boxes .= "</tr></table>";
+    $Section_boxes .= "</tr></table></div>";
 
     /* Create List && fill it with packages
      */