diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc
index 84f8724e5782d04fc63d15258b72bc5c45529d40..6e544c855e2c575b2d9611e6c12ce6e4cc8f628b 100644 (file)
/* Search all FAI objects */
$ldap->search("(| (objectClass=FAIpackageList)(objectClass=FAItemplate)
/* 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.
(objectClass=FAIpartitionTable))",array("objectClass","cn"),true);
/* Sort all entries, and attach elementtype.
* To be able to show the types in the listbox.
$cn = $attr['cn'][0];
if(in_array('FAIpackageList',$attr['objectClass'])){
$tmp2[$cn]['FAIpackageList']['obj'] = 'FAIpackageList';
$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'])){
$this->FAIclasses[$attr['cn'][0]]=$attr['cn'][0];
}
if(in_array('FAItemplate',$attr['objectClass'])){
$tmp2[$cn]['FAIpartitionTable']['kzl']= 'Pt';
$this->FAIclasses[$attr['cn'][0]]=$attr['cn'][0];
}
$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;
}
$this->FAIclassInfo = $tmp2;
function execute()
{
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Do we need to flip is_account state? */
if (isset($_POST['modify_state'])){
$this->is_account= !$this->is_account;
/* Do we need to flip is_account state? */
if (isset($_POST['modify_state'])){
$this->is_account= !$this->is_account;