Can now specify current language on a per-user basis

This commit is contained in:
martin 2002-09-14 03:43:24 +00:00
parent c46df33643
commit 1a72314d0f
4 changed files with 34 additions and 1 deletions

View file

@ -126,6 +126,18 @@ if (isadmin()) {
<? formerr($err["country"]) ?>
</td>
</tr>
<tr valign=top>
<td><P><? print_string("preferredlanguage") ?>:</td>
<td><? if ($languages = get_list_of_languages()) {
if (!$user->lang) {
$user->lang = "en";
}
choose_from_menu ($languages, "lang", $user->lang, "", "", "");
}
formerr($err["lang"]);
?>
</td>
</tr>
<tr valign=top>
<td><P><? print_string("timezone") ?>:</td>
<td><?