forked from extern/egroupware
adjust sql for new table names
This commit is contained in:
parent
caeeb6a766
commit
25378a7f88
@ -60,9 +60,9 @@
|
||||
$GLOBALS['phpgw']->template->set_var('tr_color',$tr_color);
|
||||
|
||||
$select_lang = '<select name="select_lang">';
|
||||
$GLOBALS['phpgw']->db->query("SELECT lang,languages.lang_name,languages.lang_id FROM phpgw_lang,phpgw_languages WHERE "
|
||||
. "lang.lang=languages.lang_id GROUP BY lang,languages.lang_name,"
|
||||
. "languages.lang_id ORDER BY lang");
|
||||
$GLOBALS['phpgw']->db->query("SELECT lang,phpgw_languages.lang_name,phpgw_languages.lang_id FROM phpgw_lang,phpgw_languages WHERE "
|
||||
. "phpgw_lang.lang=phpgw_languages.lang_id GROUP BY lang,phpgw_languages.lang_name,"
|
||||
. "phpgw_languages.lang_id ORDER BY lang");
|
||||
while ($GLOBALS['phpgw']->db->next_record())
|
||||
{
|
||||
$select_lang .= '<option value="' . $GLOBALS['phpgw']->db->f('lang') . '">' . $GLOBALS['phpgw']->db->f('lang_id')
|
||||
|
Loading…
Reference in New Issue
Block a user