summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-22 15:38:07 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-22 15:38:07 +0000
commit770174b2994937f7dc5bba43e17e5b2a07421d33 (patch)
treeab895ffed1a15697912fb020c9370b9462c12bf1 /modules
parent8f226513b4f5a7e4dd559888df0b9bb69b9f8cb6 (diff)
downloadbrdo-770174b2994937f7dc5bba43e17e5b2a07421d33.tar.gz
brdo-770174b2994937f7dc5bba43e17e5b2a07421d33.tar.bz2
- Updated documentation, small bug fix and small improvements to the <label>
tags. To be discussed and investigated: when a form element has no title an empty <label> tag will be emitted (eg. "remember me" checkbox). This doesn't make sense but is our best option for now.
Diffstat (limited to 'modules')
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module
index b5b2e69b8..0654931e9 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -675,7 +675,7 @@ function user_login($edit = array(), $msg = "") {
$output .= form_textfield(t("Username"), "name", $edit["name"], 30, 64, t("Enter your %s username.", array("%s" => variable_get("site_name", "local"))));
}
$output .= form_password(t("Password"), "pass", $pass, 30, 64, t("Enter the password that accompanies your username."));
- $output .= form_checkbox(t("Remember me"), "remember_me", 1, 0, 0);
+ $output .= form_checkbox(t("Remember me"), "remember_me");
$output .= form_submit(t("Log in"));
$items[] = l(t("Request new password"), "user/password");
if (variable_get("user_register", 1)) {
diff --git a/modules/user/user.module b/modules/user/user.module
index b5b2e69b8..0654931e9 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -675,7 +675,7 @@ function user_login($edit = array(), $msg = "") {
$output .= form_textfield(t("Username"), "name", $edit["name"], 30, 64, t("Enter your %s username.", array("%s" => variable_get("site_name", "local"))));
}
$output .= form_password(t("Password"), "pass", $pass, 30, 64, t("Enter the password that accompanies your username."));
- $output .= form_checkbox(t("Remember me"), "remember_me", 1, 0, 0);
+ $output .= form_checkbox(t("Remember me"), "remember_me");
$output .= form_submit(t("Log in"));
$items[] = l(t("Request new password"), "user/password");
if (variable_get("user_register", 1)) {