summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0df05f7)
raw | patch | inline | side by side (parent: 0df05f7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Sep 2006 04:19:15 +0000 (04:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Sep 2006 04:19:15 +0000 (04:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4611 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 d2aea37b4d6e90762e6f5a3336e2f7d7b8325014..8987b6a76919080739e7b11a7e59406276ed186a 100644 (file)
$acl = $ui->get_permissions("cn=dummy,".$this->DivListUsers->selectedBase,"users/user") ;
/* If creation of a new user is allowed, append this template */
- if (preg_match("/cw/",$acl)){
+ if (preg_match("/r/",$acl)){
/* Search all templates from the current dn */
$ldap->cd (get_people_ou().$value);
/* Check selected options for template */
if (isset($_POST['template_continue'])){
+ $message = array();
if(!isset($_POST['template']) || (empty($_POST['template']))){
$message[] = _("Please select a valid template.");
}
$smarty->assign("templates",$this->templates);
$smarty->assign("got_uid",$this->got_uid);
$smarty->assign("edit_uid",false);
-
return($smarty->fetch(get_template_path('template.tpl', TRUE)));
}