Code

Fixed search syntax to include FAIpackagelist
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Dec 2005 13:26:00 +0000 (13:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Dec 2005 13:26:00 +0000 (13:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2185 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 008245b05db9db319a0beab666db1ca5cec0d2ec..1bb7d4522dce4caeb9449e8999b389fc6bf8ac91 100644 (file)
@@ -29,7 +29,7 @@ class faiProfileEntry extends plugin
     $ldap= $this->config->get_ldap_link();
     $ldap->cd($base);
     $ldap->search("(| (objectClass=FAIscript)(objectClass=FAItemplate)(objectClass=FAIhook)(objectClass=FAIvariable)
-                      (objectClass=FAIpartitionTable)(objectClass=FAIpackage))",array("*"));
+                      (objectClass=FAIpartitionTable)(objectClass=FAIpackageList))",array("*"));
     
     $sort=array();
     while($attrs = $ldap->fetch()){
index 29e4f613d6a4bab8a4176f30aa234c0f5b099f73..ffcbbaf61f0413cc68a3c4c21e87e6ad0063af6c 100644 (file)
                {$alphabet}
        </table>
                <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
-                       <tr><td><input onChange='document.mainform.submit()' 
+                       <tr><td><input onClick='document.mainform.submit()' 
                                                                type="checkbox" name="SShowTemplates"   {$SShowTemplatesCHK}>{t}Show only classes with templates{/t}</td></tr>
-                       <tr><td><input onChange='document.mainform.submit()'
+                       <tr><td><input onClick='document.mainform.submit()'
                                                                        type="checkbox" name="SShowScripts"             {$SShowScriptsCHK}>{t}Show only classes with scripts{/t}</td></tr>
-                       <tr><td><input onChange='document.mainform.submit()'
+                       <tr><td><input onClick='document.mainform.submit()'
                                                                        type="checkbox" name="SShowHooks"               {$SShowHooksCHK}>{t}Show only classes with hooks{/t}</td></tr>
-                       <tr><td><input onChange='document.mainform.submit()'
+                       <tr><td><input onClick='document.mainform.submit()'
                                                                        type="checkbox" name="SShowVariables"   {$SShowVariablesCHK}>{t}Show only classes with variables{/t}</td></tr>
-                       <tr><td><input onChange='document.mainform.submit()'
+                       <tr><td><input onClick='document.mainform.submit()'
                                                                        type="checkbox" name="SShowPackages"    {$SShowPackagesCHK}>{t}Show only classes with packages{/t}</td></tr>
-                       <tr><td><input onChange='document.mainform.submit()'
+                       <tr><td><input onClick='document.mainform.submit()'
                                                                type="checkbox" name="SShowPartitions"  {$SShowPartitionsCHK}>{t}Show only classes with partitions{/t}</td></tr>
                 </table>
         <table summary=""  style="width:100%;border-top:1px solid #B0B0B0;">
@@ -57,7 +57,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}' onChange="mainform.submit()">
+                                               title='{t}Regular expression for matching object names{/t}' onClick="mainform.submit()">
                        </td>
                </tr>
        </table>