From 21386979e79078f1454a002e8c2550aca61a8327 Mon Sep 17 00:00:00 2001 From: natrak <> Date: Fri, 15 Jun 2001 11:34:06 +0000 Subject: 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. --- modules/conf.module | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/conf.module') 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 .= "
\n"; + // account settings: + $output .= "

Account settings

\n"; + $output .= form_select(t("Allow registrations"), "account_reg_allow", variable_get("account_reg_allow", 1), array("Disabled", "Enabled")); + $output .= "
\n"; + // node settings: $output .= "

Node settings

\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.")); -- cgit v1.2.3