diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-06-15 11:34:05 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-06-15 11:34:05 +0000 |
commit | 7f58ef297050e585402902e59367377805687010 (patch) | |
tree | ff60e453f91091518ad0cddbe4db829dcb76e0d0 | |
parent | f07b8961e21936764432712a0e5330b2737a2dbf (diff) | |
download | brdo-7f58ef297050e585402902e59367377805687010.tar.gz brdo-7f58ef297050e585402902e59367377805687010.tar.bz2 |
Changes
- Added a conf option to disable/enable user registrations.
- Added a add account feature to account.module.
- Moved some functions from account.php to account.module.
Todo
- Move most (all?) of account.php to account.module.
-rw-r--r-- | includes/theme.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 36de818a3..c6e397d1a 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -81,7 +81,7 @@ function theme_account($theme) { $output .= " <B>". t("Username") .":</B><BR><INPUT NAME=\"userid\" SIZE=\"15\"><P>\n"; $output .= " <B>". t("Password") .":</B><BR><INPUT NAME=\"passwd\" SIZE=\"15\" TYPE=\"password\"><BR>\n"; $output .= " <INPUT TYPE=\"submit\" VALUE=\"". t("Login") ."\"><BR>\n"; - $output .= " <A HREF=\"account.php\">". t("REGISTER") ."</A>\n"; + if (variable_get("account_reg_allow", 1)) $output .= " <A HREF=\"account.php\">". t("REGISTER") ."</A>\n"; $output .= " </FORM>\n"; $output .= "</DIV>\n"; |