summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authortechnical50 <selim_guner2000@hotmail.com>2013-05-10 10:44:02 +0300
committertechnical50 <selim_guner2000@hotmail.com>2013-05-10 10:44:02 +0300
commitf8ea0eb3ca7955b086b0bdbb5e1d850f15fb0fac (patch)
tree7c2ac023dda4016a72669c2f51ce57d28d40fcbe /usr/local
parent06de3aeaad8535bb5af46abb0ebbe950676f9766 (diff)
downloadpfsense-f8ea0eb3ca7955b086b0bdbb5e1d850f15fb0fac.zip
pfsense-f8ea0eb3ca7955b086b0bdbb5e1d850f15fb0fac.tar.gz
Auto codeset change for pfsense-utils.inc
Codeset auto checking pfsense-utils.inc do not need anymore 8859-1 charset
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/head.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc
index 0bc1d00..347b4a2 100755
--- a/usr/local/www/head.inc
+++ b/usr/local/www/head.inc
@@ -10,10 +10,10 @@ $pagetitle = gentitle( $pgtitle );
?>
<!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><?php echo($config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pagetitle); ?></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="apple-touch-icon" href="/themes/<?php echo $g['theme']; ?>/apple-touch-icon.png"/>
<?php
if (file_exists("{$g['www_path']}/themes/{$g['theme']}/table.css")):
OpenPOWER on IntegriCloud