summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0753699)
raw | patch | inline | side by side (parent: 0753699)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Nov 2005 08:45:47 +0000 (08:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Nov 2005 08:45:47 +0000 (08:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2059 594d385d-05f5-0310-b6e9-bd551577e9d8
TODO | patch | blob | history | |
plugins/admin/users/class_userManagement.inc | patch | blob | history |
index 351921e38e539860987cd19ef08e4085f48c0487..f768179720b92ae5637e169cb018a87caa9cf918 100644 (file)
--- a/TODO
+++ b/TODO
* Fix fai -> package lists -> add -> divlist which is totaly broken
-* Don't ask for Templates when creating a Template
-
Target for 2.5:
===============
diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc
index 623d7f3bb90ec66bcea75c9efc871b4c3c6ef9ad..5226698b41bb6e37fe1eb2872e980e6ba8b09f3a 100644 (file)
}
/* Use template if there are any of them */
- if ((count($this->templates) && !isset($_POST['new_template']))||($s_action=="create_user_from_tpl")){
+
+ if ((count($this->templates) && ($s_action!='new_tpl'))||($s_action=="create_user_from_tpl")){
foreach(array("sn", "givenName", "uid", "got_uid", "templates") as $attr){
$smarty->assign("$attr", $this->$attr);
}