diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-27 06:00:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-27 06:00:43 +0000 |
commit | fe09d5a7867e9f5294e23cb202def475c102fcbc (patch) | |
tree | 32e8ff72d654effe901edecb892600dbd8282aad /modules/user/user.module | |
parent | 0ff789c61d1c2ed332064d1af928fb3dfb4800af (diff) | |
download | brdo-fe09d5a7867e9f5294e23cb202def475c102fcbc.tar.gz brdo-fe09d5a7867e9f5294e23cb202def475c102fcbc.tar.bz2 |
- Committed Al's new admin link texts. Remarks:
1) As explained by Al, there is still a glitch with the 'create content'
menu.
2) The user module part of the patch did not apply due to Kjartan's earlier
patch.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 0ec7d834a..6bead895d 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1646,7 +1646,6 @@ function user_admin() { $output = user_admin_perm($edit); break; case t("Create account"): - case "create": $output = user_admin_create($edit); break; case t("Add role"): @@ -1661,7 +1660,11 @@ function user_admin() { $output = user_admin_edit($edit); break; default: - $output = user_admin_account(); + if ($op == "account" && arg(3) == "create") { + $output = user_admin_create($edit); + } else { + $output = user_admin_account(); + } } return $output; } @@ -1719,10 +1722,10 @@ function user_help($section = "admin/user/help") { return t($output); case "admin/user": return t("Drupal allows users to register, login, logout, maintain user profiles, etc. No participant can use his own name to post content until he signs up for a user account.<br />Click on either the \"username\" or \"edit account\" to edit a user's information."); - case "admin/user/create": - return t("This web page allows the administrators to register a new users by hand.<br />Note:<ul><li>You cannot have a user where either the e-mail address or the username match another user in the system.</li></ul>"); case "admin/user/account": return t("This page allows you to review and edit any user's profile. To edit a profile click on either the \"username\" or \"edit account\"."); + case "admin/user/account/create": + return t("This web page allows the administrators to register a new users by hand.<br />Note:<ul><li>You cannot have a user where either the e-mail address or the username match another user in the system.</li></ul>"); case "admin/user/account/0": return t("This page allows you to review and edit an active user's profile. To edit a profile click on either the \"username\" or \"edit account\"."); case "admin/user/account/1": |