|
@@ -38,8 +38,8 @@ discard block |
|
|
block discarded – undo |
|
38
|
38
|
$ourlocale = CAT::get_lang(); |
|
39
|
39
|
header("Content-Type:text/html;charset=utf-8"); |
|
40
|
40
|
echo "<!DOCTYPE html> |
|
41
|
|
- <html xmlns='http://www.w3.org/1999/xhtml' lang='". $ourlocale ."'> |
|
42
|
|
- <head lang='". $ourlocale ."'> |
|
|
41
|
+ <html xmlns='http://www.w3.org/1999/xhtml' lang='". $ourlocale . "'> |
|
|
42
|
+ <head lang='". $ourlocale . "'> |
|
43
|
43
|
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>"; |
|
44
|
44
|
|
|
45
|
45
|
$cssUrl = valid_host($_SERVER['HTTP_HOST']); |
|
@@ -77,7 +77,7 @@ discard block |
|
|
block discarded – undo |
|
77
|
77
|
<select id='lang' name='lang' onchange='this.form.submit()'> |
|
78
|
78
|
<?php |
|
79
|
79
|
foreach (Config::$LANGUAGES as $lang => $value) { |
|
80
|
|
- echo "<option value='$lang' " . (strtoupper($language) == strtoupper($lang) ? "selected" : "" ) . " >" . $value['display'] . "</option> "; |
|
|
80
|
+ echo "<option value='$lang' " . (strtoupper($language) == strtoupper($lang) ? "selected" : "") . " >" . $value['display'] . "</option> "; |
|
81
|
81
|
} |
|
82
|
82
|
?> |
|
83
|
83
|
</select> |
Please login to merge, or discard this patch.