diff options
author | natrak <> | 2001-06-15 11:34:06 +0000 |
---|---|---|
committer | natrak <> | 2001-06-15 11:34:06 +0000 |
commit | 21386979e79078f1454a002e8c2550aca61a8327 (patch) | |
tree | 9e2bf006f9424d11e152732be496f4c0a6a1b9f8 /modules/conf.module | |
parent | 7f58ef297050e585402902e59367377805687010 (diff) | |
download | brdo-21386979e79078f1454a002e8c2550aca61a8327.tar.gz brdo-21386979e79078f1454a002e8c2550aca61a8327.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.
Diffstat (limited to 'modules/conf.module')
-rw-r--r-- | modules/conf.module | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/conf.module b/modules/conf.module index 665c2879c..fc5055683 100644 --- a/modules/conf.module +++ b/modules/conf.module @@ -24,6 +24,11 @@ function conf_view_system() { $output .= form_textfield(t("Anonymous user"), "anonymous", variable_get("anonymous", "Anonymous"), 30, 55, t("The name used to indicate anonymous users.")); $output .= "<HR>\n"; + // account settings: + $output .= "<H3>Account settings</H3>\n"; + $output .= form_select(t("Allow registrations"), "account_reg_allow", variable_get("account_reg_allow", 1), array("Disabled", "Enabled")); + $output .= "<HR>\n"; + // node settings: $output .= "<H3>Node settings</H3>\n"; $output .= form_select(t("Default number of nodes to display"), "default_nodes_main", variable_get("default_nodes_main", 10), array(10 => 10, 15 => 15, 20 => 20, 25 => 25, 30 => 30), t("The default maximum number of nodes to display on the main page.")); |