From: hickert Date: Thu, 30 Jun 2011 07:28:48 +0000 (+0000) Subject: Added uid proposal modification patch X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=35d0b03b24b7b63cbf6be741b9b8f6ed5023f1dc;p=gosa.git Added uid proposal modification patch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20927 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_core.inc b/gosa-core/include/class_core.inc index 29ddf149f..61e486533 100644 --- a/gosa-core/include/class_core.inc +++ b/gosa-core/include/class_core.inc @@ -496,7 +496,7 @@ class core extends plugin { "mandatory" => FALSE), array( - "name" => "allowModificationOfUid", + "name" => "allowUidProposalModification", "type" => "bool", "default" => "false", "description" => _("Allows to modify uid-proposals when creating a new user from a user-template."), diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index a16e1e202..50aefa3ea 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -481,7 +481,7 @@ class userManagement extends management $smarty->assign("template", array_pop($target)); $smarty->assign("templates", $templates); $smarty->assign("edit_uid", ""); - $smarty->assign("allowModificationOfUid", $this->config->get_cfg_value("core","allowModificationOfUid")); + $smarty->assign("allowUidProposalModification", $this->config->get_cfg_value("core","allowUidProposalModification")); return($smarty->fetch(get_template_path('template.tpl', TRUE))); // -> See 'templateContinue' for further handling! @@ -518,7 +518,7 @@ class userManagement extends management $smarty->assign("template", "none"); $smarty->assign("templates", $templates); $smarty->assign("edit_uid", ""); - $smarty->assign("allowModificationOfUid", $this->config->get_cfg_value("core","allowModificationOfUid")); + $smarty->assign("allowUidProposalModification", $this->config->get_cfg_value("core","allowUidProposalModification")); return($smarty->fetch(get_template_path('template.tpl', TRUE))); // -> See 'templateContinue' for further handling! @@ -572,7 +572,7 @@ class userManagement extends management $smarty->assign("templates",$templates); $smarty->assign("got_uid", $this->got_uid); $smarty->assign("edit_uid",false); - $smarty->assign("allowModificationOfUid", $this->config->get_cfg_value("core","allowModificationOfUid")); + $smarty->assign("allowUidProposalModification", $this->config->get_cfg_value("core","allowUidProposalModification")); return($smarty->fetch(get_template_path('template.tpl', TRUE))); } @@ -628,7 +628,7 @@ class userManagement extends management $smarty->assign("template", get_post('template')); } $smarty->assign("templates",$templates); - $smarty->assign("allowModificationOfUid", $this->config->get_cfg_value("core","allowModificationOfUid")); + $smarty->assign("allowUidProposalModification", $this->config->get_cfg_value("core","allowUidProposalModification")); return($smarty->fetch(get_template_path('template.tpl', TRUE))); } diff --git a/gosa-core/plugins/admin/users/template.tpl b/gosa-core/plugins/admin/users/template.tpl index a1b443928..2f7e25dbb 100644 --- a/gosa-core/plugins/admin/users/template.tpl +++ b/gosa-core/plugins/admin/users/template.tpl @@ -32,7 +32,7 @@ {t}Login{/t} {if $edit_uid eq "false"} - {if $allowModificationOfUid == "true"} + {if $allowUidProposalModification == "true"}