summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 317f1e4)
raw | patch | inline | side by side (parent: 317f1e4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jul 2005 12:06:20 +0000 (12:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jul 2005 12:06:20 +0000 (12:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1031 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/users/class_userManagement.inc | patch | blob | history |
diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc
index 7c87e833002d167849e25125a7662471024fc821..4f00b47098f014d83ecbb40a3aabc0c072635bf8 100644 (file)
/* Create new usertab object */
$this->usertab= new usertabs($this->config,
- $this->config->data['TABS']['USERTABS'], $this->dn);
+ $this->config->data['TABS']['USERTABS'], $this->dn);
$this->usertab->set_acl(array(':all'));
/* Take care about templates */
} else {
$this->is_template= FALSE;
}
-
+
/* Use template if there are any of them */
if (count($this->templates) && !isset($_POST['new_template'])){
foreach(array("sn", "givenName", "uid", "got_uid", "templates") as $attr){
$smarty->assign("edit_uid", "");
return($smarty->fetch(get_template_path('template.tpl', TRUE)));
}
-
}
/* Continue template editing */
$this->usertab->givenName= $this->givenName;
$template_dn= $_POST['template'];
$this->usertab->adapt_from_template($template_dn);
- $template_base= preg_replace("/^[^,]+,".get_people_ou()."/", '', $template_dn);
+ $template_base= $userfilter['depselect'];//preg_replace("/^[^,]+,".get_people_ou()."/", '', $template_dn);
$this->usertab->by_object['user']->base= $template_base;
/* Set up the users ACL's for this 'dn' */