summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e7627d1)
raw | patch | inline | side by side (parent: e7627d1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 8 Sep 2006 04:42:43 +0000 (04:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 8 Sep 2006 04:42:43 +0000 (04:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4620 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/mimetypes/class_mimetypeManagement.inc | patch | blob | history |
diff --git a/plugins/admin/mimetypes/class_mimetypeManagement.inc b/plugins/admin/mimetypes/class_mimetypeManagement.inc
index 87b34ccb73ec042255c6f7104ab5be20f064a025..7bd52da85eb88dbac20b555585bebfc08ebcd81e 100755 (executable)
/* Register mimetabs to trigger edit dialog */
- $this->mimetabs= new mimetabs($this->config,$this->config->data['TABS']['MIMETABS'], $this->dn,"mimetypes/mimetype");
+ $this->mimetabs= new mimetabs($this->config,$this->config->data['TABS']['MIMETABS'], $this->dn,"mimetypes");
$this->mimetabs->set_acl_base($this->dn);
$_SESSION['objectinfo']= $this->dn;
}
if ($this->acl_is_removeable()){
/* Delete request is permitted, perform LDAP action */
- $this->mimetabs= new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $this->dn,"mimetypes/mimetype");
+ $this->mimetabs= new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $this->dn,"mimetypes");
$this->mimetabs->set_acl_base($this->dn);
$this->mimetabs->delete ();
gosa_log ("Mime type object'".$this->dn."' has been removed");
if($s_action == "copy"){
$this->CopyPasteHandler->Clear();
$dn = $this->mimetypes[$s_entry]['dn'];
- $obj = new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $dn);
- $objNew = new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], "new");
+ $obj = new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $dn,"mimetypes");
+ $obj->set_acl_base($this->dn);
+ $objNew = new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], "new","mimetypes");
+ $objNew->set_acl_base($this->dn);
$this->CopyPasteHandler->Copy($obj,$objNew);
}