openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 44792c900a8ce266d36dbf335be4b8187c25cfb5
parent cd636edf7c401fd5dc672a0ef52033813a00ae9a
Author: dankert <devnull@localhost>
Date:   Thu, 11 Sep 2008 20:58:26 +0200

Charset nicht aus Sprachdatei holen, sondern in Action-Klasse setzen (UTF-8-Faehigkeit!)

Diffstat:
themes/default/include/html/page.inc.php | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/themes/default/include/html/page.inc.php b/themes/default/include/html/page.inc.php @@ -1,9 +1,10 @@ -<?php if (!headers_sent()) header('Content-Type: text/html; charset='.lang('CHARSET')) +<?php + if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title><?php echo isset($attr_title)?$attr_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo lang('CHARSET') ?>" /> + <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="noindex,nofollow" /> <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )