mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix setting html language
This commit is contained in:
parent
5a7f8655d8
commit
ec7b24c044
|
@ -89,7 +89,7 @@ class SeedDMS_Theme_Style extends SeedDMS_View_Common {
|
|||
if($this->params['session'] && ($slang = $this->params['session']->getLanguage())) {
|
||||
echo str_replace('_', '-', $slang);
|
||||
} else {
|
||||
echo str_replace('_', '-', $settings->_language);
|
||||
echo str_replace('_', '-', $this->params['settings']->_language);
|
||||
}
|
||||
echo "\">\n<head>\n";
|
||||
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
|
||||
|
|
|
@ -91,7 +91,7 @@ class SeedDMS_Theme_Style extends SeedDMS_View_Common {
|
|||
if($this->params['session'] && ($slang = $this->params['session']->getLanguage())) {
|
||||
echo str_replace('_', '-', $slang);
|
||||
} else {
|
||||
echo str_replace('_', '-', $settings->_language);
|
||||
echo str_replace('_', '-', $this->params['settings']->_language);
|
||||
}
|
||||
echo "\">\n<head>\n";
|
||||
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user