Code

Fixed some errors
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Jan 2006 09:50:54 +0000 (09:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Jan 2006 09:50:54 +0000 (09:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2551 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiPackageEntry.inc
plugins/admin/fai/faiPackageEntry.tpl

index 57e96f97dafe4cd072eabaf6649f7fd560d30ae4..3d5f07028b93948dc1f3855bb3ff40b493def2fd 100644 (file)
@@ -77,13 +77,14 @@ class faiPackageEntry extends plugin
       } 
     }
 
-    ksort($this->categories);
+        @ksort($this->categories);
 
-    $CHKS = "<table><tr><input type='hidden' value='chkchange' name='chkchange'>";
-    $i = 0; 
+    $CHKS = "<table summary=''><tr><td><input type='hidden' value='chkchange' name='chkchange'>";
+    $i = 0;
+    if(is_array($this->categories)) 
     foreach($this->categories as $cat => $selected){
       if($i == 3){
-        $CHKS .="</tr><tr>";
+        $CHKS .="</td></tr><tr><td>";
         $i = 0;
       }
       $i ++ ;
index b2e434e9c85066398879b8755285cbb409770983..e9634f1f1cc7b61a8983b1eb4281c12f8aede522 100644 (file)
@@ -44,9 +44,7 @@
                <table summary=""  style="width:100%;">
                        <tr>
                                <td>
-                                       <LABEL for "regex">
-                                                       <img alt="{t}Display objects matching{/t}" src="{$search_image}" align=middle title='{t}Display objects matching{/t}'>
-                                               </LABEL>
+                                               <img alt="{t}Display objects matching{/t}" src="{$search_image}" align=middle title='{t}Display objects matching{/t}'>
                                </td>
                                <td width="99%">
                                        <input type='text' name='searchStrPKG' maxlength='40' style='width:99%' value='{$searchStrPKG}' id='filter'