Project

General

Profile

Bug #20216 ยป 10737_v1.diff

Administrator Admin, 2009-03-20 00:16

View differences:

typo3/template.php (working copy)
// Send HTTP header for selected charset. Added by Robert Lemke 23.10.2003
header ('Content-Type:text/html;charset='.$this->charset);
// Standard HTML tag
$htmlTag = '<html xmlns="http://www.w3.org/1999/xhtml">';
switch($this->docType) {
case 'html_3':
$headerStart = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">';
$headerStart = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
';
$htmlTag = '<html>';
break;
case 'xhtml_strict':
$headerStart = '<!DOCTYPE html
......
}
// Construct page header.
$str = $headerStart.'
<html>
$str = $headerStart . $htmlTag . '
<head>
<!-- TYPO3 Script ID: '.htmlspecialchars($this->scriptID).' -->
'.$charSet.'
    (1-1/1)