mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 19:33:54 +01:00
If the user hasn't selected there langague preference, it will now pre-select english
This commit is contained in:
parent
c92f0fd57b
commit
f63c9f36fa
@ -97,6 +97,9 @@
|
||||
<td>
|
||||
<select name="lang">
|
||||
<?php
|
||||
if (! $phpgw_info["user"]["preferences"]["common"]["lang"]) {
|
||||
$phpgw_info["user"]["preferences"]["common"]["lang"] = "en";
|
||||
}
|
||||
$lang_select[$phpgw_info["user"]["preferences"]["common"]["lang"]] = " selected";
|
||||
$strSql = "SELECT lang_id, lang_name FROM languages WHERE available = 'Yes'";
|
||||
$phpgw->db->query($strSql);
|
||||
|
Loading…
Reference in New Issue
Block a user