Code

Fixed FAI Profile
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Apr 2008 13:00:28 +0000 (13:00 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Apr 2008 13:00:28 +0000 (13:00 +0000)
-Fixed Profile Entry search.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10147 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiProfileEntry.inc
gosa-plugins/fai/admin/fai/faiProfileEntry.tpl

index 1f811af8b485e98e95c8fe5d43893719d96bf091..fe8b7fd4f53449b2cad48adb50cb1621f88caf16 100644 (file)
@@ -189,9 +189,10 @@ class faiProfileEntry extends plugin
 
       $fi = str_replace("*",".*",$SUBfaifilter['Sregex']);  
  
-      $abort = true; 
+      $abort = true;
       if(!preg_match("/".$fi."/",$usedClass)){
         $abort = false;
+        continue;
       }
       if((isset($classes['objects']['FAIscript']))&&($SUBfaifilter['SShowScripts'])){
         $abort = false;
index bbed5be8601080ca921acbbcdaf9165812079960..8dc2d1fd9730a762477fa17b8961632d2ed8fe00 100644 (file)
@@ -56,7 +56,7 @@
                        </td>
                        <td width="99%">
                                        <input type='text' name='Sregex' maxlength='20' style='width:99%' value='{$Sregex}' id='filter' 
-                                               title='{t}Regular expression for matching object names{/t}' onClick="mainform.submit()">
+                                               title='{t}Regular expression for matching object names{/t}' >
                        </td>
                </tr>
        </table>