summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-05-30 00:40:46 -0700
committerErmal Luçi <eri@pfsense.org>2013-05-30 00:40:46 -0700
commit0a860dda6c7107be65cf7a04807c7e0c23d82ac7 (patch)
tree6f520e24ed85d8e1f3be1322371dc7bfbf25b338 /usr/local/www/index.php
parent6a188bb9bd36b1291b992f6596f7d34643d92c3b (diff)
parent75f457856a2f3758cb6adabaaf41083a945c103b (diff)
downloadpfsense-0a860dda6c7107be65cf7a04807c7e0c23d82ac7.zip
pfsense-0a860dda6c7107be65cf7a04807c7e0c23d82ac7.tar.gz
Merge pull request #628 from technical50/master
WebGUI Auto Codeset and Language Dynamics & pfSense.pot updates
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index a5cc724..3fd07f6 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -159,10 +159,10 @@ if (!is_array($config['widgets'])) {
echo <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="<?=system_get_language_code();?>" xml:lang="<?=system_get_language_code();?>">
<head>
<title>{$g['product_name']}.localdomain - {$g['product_name']} first time setup</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <meta http-equiv="Content-Type" content="text/html; charset=<?=system_get_language_codeset();?>" />
<link rel="stylesheet" type="text/css" href="/niftycssprintCode.css" media="print" />
<script type="text/javascript">var theme = "nervecenter"</script>
<script type="text/javascript" src="/themes/nervecenter/loader.js"></script>
OpenPOWER on IntegriCloud