summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 69c701c)
raw | patch | inline | side by side (parent: 69c701c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Jun 2011 07:28:48 +0000 (07:28 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Jun 2011 07:28:48 +0000 (07:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20927 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_core.inc | patch | blob | history | |
gosa-core/plugins/admin/users/class_userManagement.inc | patch | blob | history | |
gosa-core/plugins/admin/users/template.tpl | patch | blob | history |
index 29ddf149f551914bdc5332b57d24b6fd5cba2b77..61e48653345a096f9c2d87e31dd42a9fc47dd2aa 100644 (file)
"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 a16e1e20267d6d3fafe9da072faf59101133fe54..50aefa3eae2ee42f9c1ec3491f221d3e7d1c2490 100644 (file)
$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!
$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!
$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)));
}
$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 a1b44392820516a723e8f5ca9961631ed9de0ca9..2f7e25dbbe0b6a1407ea2f2f391dcd4d8de754b0 100644 (file)
<td><b>{t}Login{/t}</b></td>
<td>
{if $edit_uid eq "false"}
- {if $allowModificationOfUid == "true"}
+ {if $allowUidProposalModification == "true"}
<select size="1" name="uidSelect" id='uidSelect' onChange="
document.getElementById('uid').value = document.getElementById('uidSelect').value;">
{html_options output=$uids values=$uids selected=$uid}