summaryrefslogtreecommitdiff
path: root/modules/locale
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-02-07 16:18:46 +0000
committerDries Buytaert <dries@buytaert.net>2004-02-07 16:18:46 +0000
commit5a8129e0fbf762c9dc6891d574dac386e959c262 (patch)
tree85a91e174d293a75656f8c1f5159d729c2cf6fc3 /modules/locale
parent8c909397d7af99b6898255a93d13a03d0eafb2aa (diff)
downloadbrdo-5a8129e0fbf762c9dc6891d574dac386e959c262.tar.gz
brdo-5a8129e0fbf762c9dc6891d574dac386e959c262.tar.bz2
- First batch of profile module improvements:
+ Tidied up the profile configuration page: grouped form elements. + Tidied up the block configuration settings: removed hard-coded table. + Changed the profile API to return the preferred group name, and changed the user module to group settings. Modules implementing the _user hook will need to be udpated. + Removed register_form and register_validate for now.
Diffstat (limited to 'modules/locale')
-rw-r--r--modules/locale/locale.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index efc4f576b..e5fa717e3 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -75,9 +75,8 @@ function locale_link($type) {
function locale_user($type, &$edit, &$user) {
global $languages;
if ($type == "edit_form" && count($languages) > 1) {
- $output = form_radios(t("Language"), 'language', $user->language, $languages, t("Selecting a different language will change the language of the site."));
+ return array(t('Locale settings') => form_radios(t("Language"), 'language', $user->language, $languages, t("Selecting a different language will change the language of the site.")));
}
- return $output;
}
function locale_delete($lid) {