From: hickert Date: Tue, 25 Oct 2005 08:48:23 +0000 (+0000) Subject: Added Profiles to selection box for ppd classes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8458001ce2fd37229d5c2fa6ff6cd9e57b096c3a;p=gosa.git Added Profiles to selection box for ppd classes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1681 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 84f8724e5..7be89caf0 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -109,7 +109,7 @@ class workstartup extends plugin /* Search all FAI objects */ $ldap->search("(| (objectClass=FAIpackageList)(objectClass=FAItemplate) - (objectClass=FAIvariable)(objectClass=FAIscript')(objectClass=FAIhook) + (objectClass=FAIvariable)(objectClass=FAIscript')(objectClass=FAIhook)(objectClass=FAIprofile) (objectClass=FAIpartitionTable))",array("objectClass","cn"),true); /* Sort all entries, and attach elementtype. * To be able to show the types in the listbox. @@ -118,7 +118,7 @@ class workstartup extends plugin $cn = $attr['cn'][0]; if(in_array('FAIpackageList',$attr['objectClass'])){ $tmp2[$cn]['FAIpackageList']['obj'] = 'FAIpackageList'; - $tmp2[$cn]['FAIpackageList']['kzl'] = 'P'; + $tmp2[$cn]['FAIpackageList']['kzl'] = 'Pl'; $this->FAIclasses[$attr['cn'][0]]=$attr['cn'][0]; } if(in_array('FAItemplate',$attr['objectClass'])){ @@ -146,6 +146,11 @@ class workstartup extends plugin $tmp2[$cn]['FAIpartitionTable']['kzl']= 'Pt'; $this->FAIclasses[$attr['cn'][0]]=$attr['cn'][0]; } + if(in_array('FAIprofile',$attr['objectClass'])){ + $tmp2[$cn]['FAIprofile']['obj']= 'FAIprofile'; + $tmp2[$cn]['FAIprofile']['kzl']= 'P'; + $this->FAIclasses[$attr['cn'][0]]=$attr['cn'][0]; + } } $this->FAIclassInfo = $tmp2;