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: https://develop.svn.wordpress.org/trunk@307 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2003-08-12 20:35:53 +00:00
parent 374bf36d8e
commit 7b86e6791e
1 changed files with 3 additions and 1 deletions

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) {
?>