index 81a411dc725e6aa5dcf3bbf469b3833b88abcb20..4a901123ea6128c0fc6f4884ff01dce789cb74d6 100644 (file)
if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
$var = $_POST['SubObject'][0];
-
$this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$var]);
$this->dialog->acl = $this->acl;
$_SESSION['objectinfo'] = $this->SubObjects[$var]['dn'];
}
$smarty->assign("SubObjects",$this->getList());
- $smarty->assign("SubObjectKeys",array_flip($this->getList()));
/* Magic quotes GPC, escapes every ' " \, to solve some security risks
* If we post the escaped strings they will be escaped again
}
show_ldap_error($ldap->get_error());
+ /* Do object tagging */
+ $this->handle_object_tagging();
+ show_ldap_error($ldap->get_error());
+
/* Prepare FAIscriptEntry to write it to ldap
* First sort array.
* Because we must delete old entries first.
$this->handle_post_events("add");
}
show_ldap_error($ldap->get_error());
+
+ $this->handle_object_tagging($sub_dn, $this->gosaUnitTag);
+ show_ldap_error($ldap->get_error());
}
}
}