From 01dfd4b2e0a38727871f111be69cb5bf8ad5b0ef Mon Sep 17 00:00:00 2001
From: Dries Buytaert
Date: Sat, 5 Jan 2002 22:23:19 +0000
Subject: A first tiny change:
- Made the "account settings"-link point to the "edit user information"
page rather than the "view user information" page.
- Removed the "logout" link from the user menu (user_menu() function).
---
modules/user.module | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
(limited to 'modules/user.module')
diff --git a/modules/user.module b/modules/user.module
index f4e8f9cac..2bf932dfe 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -287,9 +287,9 @@ p { padding-left: 24px}
you'll need to add new users manually. This web page allows any administrator
to register a new user.
access rules
-Access rules enable administrators to filter out usernames and email addresses
+
Access rules enable administrators to filter out usernames and e-mail addresses
which are not allowed in Drupal. An administrator creates a 'mask' against which
- each new registration is checked. Disallowed names and email addresses are denied
+ each new registration is checked. Disallowed names and e-mail addresses are denied
access to the site. Another handy use for this page is to disallow registration
to your site from an untrusted external authentication server. Just add their
server address to the username mask section and you've effectively blocked all
@@ -301,7 +301,7 @@ p { padding-left: 24px}
Examples:
- - E-mail address bans
%@hotmail.com
, %@altavista.%
, %@usa.net
, etc. Used to prevent users from using free email accounts, which might be used to cause trouble.
+ - E-mail address bans
%@hotmail.com
, %@altavista.%
, %@usa.net
, etc. Used to prevent users from using free e-mail accounts, which might be used to cause trouble.
- Username bans
root
, webmaster
, admin%
, etc. Used to prevent administrator impersonators.
If no access rules are provided, access control is turned off and everybody will be able to access your website. The 'allow' rules are processed prior to the 'deny' rules and are thus considered to be stronger.
@@ -418,7 +418,7 @@ function user_link($type) {
}
if ($type == "menu") {
- $links[] = "". t("account settings") ."";
+ $links[] = "". t("account settings") ."";
$links[] = "
". t("logout") ."";
}
@@ -861,7 +861,7 @@ function user_edit($edit = array()) {
}
$output .= form_textfield(t("Username"), "name", $user->name, 30, 55, t("Your full name or your prefered username: only letters, numbers and spaces are allowed."));
- $output .= form_textfield(t("E-mail address"), "mail", $user->mail, 30, 55, t("Insert a valid e-mail address. All emails from the system will be sent to this address. The email address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by email."));
+ $output .= form_textfield(t("E-mail address"), "mail", $user->mail, 30, 55, t("Insert a valid e-mail address. All e-mails from the system will be sent to this address. The e-mail address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by e-mail."));
$result = user_get_authmaps($user);
foreach (module_list() as $module) {
@@ -889,7 +889,6 @@ function user_edit($edit = array()) {
function user_menu() {
$links[] = "". t("view user information") ."";
$links[] = "". t("edit user information") ."";
- $links[] = "". t("logout") ."";
return "". implode(" · ", $links) ."
";
}
--
cgit v1.2.3