forked from GNUsocial/gnu-social
get language before setting it.
darcs-hash:20080828005323-84dde-8f69e1e6115faa544c22436539148dac53ed6f65.gz
This commit is contained in:
parent
f3dc863d8f
commit
cf3902d8ac
@ -173,6 +173,8 @@ function common_show_header($pagetitle, $callable=NULL, $data=NULL, $headercall=
|
||||
|
||||
# FIXME: correct language for interface
|
||||
|
||||
$language = common_language();
|
||||
|
||||
common_element_start('html', array('xmlns' => 'http://www.w3.org/1999/xhtml',
|
||||
'xml:lang' => $language,
|
||||
'lang' => $language));
|
||||
|
Loading…
Reference in New Issue
Block a user