summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorAydın Yakar <yakar@live.com>2015-07-07 13:39:00 +0300
committerAydın Yakar <yakar@live.com>2015-07-07 13:39:00 +0300
commitc4b85119f957def19a5926e2aece09c4cd0dbff3 (patch)
treeadbc7f3606b270d9140951ac6454796a88ca414c /usr
parentf2265d88c706fa2d29cc0b67e5539892240d798a (diff)
downloadpfsense-c4b85119f957def19a5926e2aece09c4cd0dbff3.zip
pfsense-c4b85119f957def19a5926e2aece09c4cd0dbff3.tar.gz
Update index.php
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 99a3221..c0700d6 100644
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -170,13 +170,14 @@ if (file_exists('/conf/needs_package_sync')) {
## If it is the first time webConfigurator has been
## accessed since initial install show this stuff.
if (file_exists('/conf/trigger_initial_wizard')) {
+ $lang_code = system_get_language_code();
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="<?=system_get_language_code();?>" xml:lang="<?=system_get_language_code();?>">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang_code" xml:lang="$lang_code">
<head>
<title>{$g['product_name']}.localdomain - {$g['product_name']} first time setup</title>
- <meta http-equiv="Content-Type" content="text/html; charset=<?=system_get_language_codeset();?>" />
+ <meta http-equiv="Content-Type" content="text/html; charset=$lang_code" />
<link rel="stylesheet" type="text/css" href="/niftycssprintCode.css" media="print" />
<script type="text/javascript">var theme = "{$g['theme']}"</script>
<script type="text/javascript" src="/themes/{$g['theme']}/loader.js"></script>
OpenPOWER on IntegriCloud