Code

Added Description to searchfilter
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Oct 2005 09:06:06 +0000 (09:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Oct 2005 09:06:06 +0000 (09:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1543 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index f57ec2e140bfd3bdaae945f3a8e9df153f714b7d..1a5c784e0995ab910941e8e986902b07366192d2 100644 (file)
@@ -107,7 +107,8 @@ class faiPackageEntry extends plugin
     }
 
     foreach($pkgs as $pkg){
-      if(preg_match("/^".str_replace("*",".*",$this->searchStrPKG)."/i",$pkg[0])){
+      if((preg_match("/^".str_replace("*",".*",$this->searchStrPKG)."/i",$pkg[0]))||
+         (preg_match("/^".str_replace("*",".*",$this->searchStrPKG)."/i",$pkg[3]))){
         if($this->categories[$pkg[2]]){
           if(in_array($pkg[0],$this->selected)){
             $check = " checked ";
index 6db4f7e696f1151810c82d5328dcf854bb5510b5..021724cffc7cf5a3a2e595f1b74b6978aa5b5194 100644 (file)
@@ -30,7 +30,7 @@
                                <table summary="" cellspacing="4">
                                        <tr>
                                                <td>
-                                                       {t}Release{/t}
+                                                       {t}Release{/t} : 
                                                </td>
                                                <td>
                                                        {$release}
@@ -38,7 +38,7 @@
                                        </tr>
                                        <tr>
                                                <td>
-                                                       {t}Section{/t}
+                                                       {t}Section{/t} : 
                                                </td>
                                                <td>
                                                        {$section}