allow for a charset to be set with $admin_area_charset - default is iso-8859-15 (it's iso-8859-1 plus the euro sign)

git-svn-id: http://svn.automattic.com/wordpress/trunk@307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2003-08-12 20:35:53 +00:00
parent 3f3adc6824
commit 8a221eb40b

View File

@ -28,6 +28,8 @@ $time_difference=get_settings('time_difference');
$date_format=stripslashes(get_settings('date_format'));
$time_format=stripslashes(get_settings('time_format'));
$admin_area_charset = (!isset($admin_area_charset)) ? 'iso-8859-15' : $admin_area_charset;
// let's deactivate quicktags on IE Mac and Lynx, because they don't work there.
if (($is_macIE) || ($is_lynx))
$use_quicktags = 0;
@ -55,7 +57,7 @@ if ($standalone == 0) {
<head>
<title>WordPress > <?php bloginfo('name') ?> > <?php echo $title; ?></title>
<link rel="stylesheet" href="b2.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $admin_area_charset ?>" />
<?php
if ($redirect==1) {
?>