openrat-cms

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

commit ef8b94f0fcfc9f0dccf12ca81596d80c6c503220
parent 54e455ca1f98c4e7a497d5c5ac17a5999a0f1a43
Author: dankert <devnull@localhost>
Date:   Wed, 31 Jan 2007 23:22:50 +0100

Character-Set in HTTP- und HTML-Header ausgeben.

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 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<?php header('Content-Type: text/html; charset='.lang('CHARSET')) +?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <!-- $Id$ --> <head> <title><?php echo $attr_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <meta http-equiv="content-type" content="text/html; charset=<?php echo lang('CHARSET') ?>" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="noindex,nofollow" /> <link rel="stylesheet" type="text/css" href="./themes/default/css/default.css" />