From d2619a7c3c579cee5824a3f462fa2dc97fd5eb46 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 31 Mar 2008 15:48:44 +0000 Subject: [PATCH] Updated user management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10096 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/admin/users/class_userManagement.inc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index cc9ba18c8..7f20a5bd3 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -436,8 +436,16 @@ class userManagement extends plugin session::un_set('objectinfo'); } - /* Apply templates */ - if ($s_action=="templatize_multiple"){ + + /******************** + Apply template to multiple entries requested, display confirm dialog + ********************/ + # TODO: show dialog to choose + # * template + # * when the template is choosen refresh the list of + # available attributes with a checkbox - everything checked + # * when pressing apply do the stuff below + if ($s_action=="ttemplatize_multiple"){ $ids = $this->list_get_selected_items(); $this->dns = array(); if(count($ids)){ @@ -458,13 +466,14 @@ class userManagement extends plugin $template_dn= "cn=super44 super44,ou=people,dc=gonicus,dc=de"; $usertab= new usertabs($this->config, $this->config->data['TABS']['USERTABS'], $dn); $usertab->adapt_from_template($template_dn, array("sn", "givenName", "uid")); - #$usertab->save(); + $usertab->save(); unset ($usertab); $usertab= NULL; } } + /******************** Delete MULTIPLE entries requested, display confirm dialog ********************/ -- 2.30.2