Project

General

Profile

« Previous | Next » 

Revision f8ea0eb3

Added by N.Selim GUNER about 12 years ago

Auto codeset change for pfsense-utils.inc

Codeset auto checking pfsense-utils.inc do not need anymore 8859-1 charset

View differences:

usr/local/www/head.inc
10 10
?>
11 11
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
12 12
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
13
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
13
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?=system_get_language_code();?>" xml:lang="<?=system_get_language_code();?>">
14 14
<head>
15 15
	<title><?php echo($config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pagetitle); ?></title>
16
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
	<meta http-equiv="Content-Type" content="text/html; charset=<?=system_get_language_codeset();?>" />
17 17
	<link rel="apple-touch-icon" href="/themes/<?php echo $g['theme']; ?>/apple-touch-icon.png"/>
18 18
		<?php 
19 19
		if (file_exists("{$g['www_path']}/themes/{$g['theme']}/table.css")):

Also available in: Unified diff