From: moodler Date: Fri, 18 Oct 2002 08:46:12 +0000 (+0000) Subject: Default language for users is now the same as the site language. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=369622db972d3de4fd3fc7254cc8d36bf34c00ee;p=moodle.git Default language for users is now the same as the site language. --- diff --git a/login/signup.php b/login/signup.php index c8177f684f..28a4683db2 100644 --- a/login/signup.php +++ b/login/signup.php @@ -12,6 +12,7 @@ $user->password = md5($user->password); $user->confirmed = 0; + $user->lang = $CFG->lang; $user->firstaccess = time(); $user->secret = random_string(15); diff --git a/user/edit.html b/user/edit.html index f0e04c8966..0d1dd7cc5e 100644 --- a/user/edit.html +++ b/user/edit.html @@ -88,7 +88,7 @@ if (isadmin()) {

: lang) { - $user->lang = "en"; + $user->lang = $CFG->lang; } choose_from_menu ($languages, "lang", $user->lang, "", "", ""); }