Project

General

Profile

Bug #21065 » 11968.diff

Administrator Admin, 2010-01-08 12:42

View differences:

typo3/template.php (working copy)
$this->pageRenderer->setHeadTag('<head>' . chr(10). '<!-- TYPO3 Script ID: '.htmlspecialchars($this->scriptID).' -->');
$this->pageRenderer->setCharSet($this->charset);
$this->pageRenderer->addMetaTag($this->generator());
$this->pageRenderer->addMetaTag($this->xUaCompatible());
$this->pageRenderer->setTitle($title);
// add docstyles
......
return '<meta name="generator" content="'.$str .'" />';
}
/**
* Returns X-UA-Compatible meta tag
*
* @return string <meta http-equiv="X-UA-Compatible" content="???" />
*/
function xUaCompatible() {
// the most recent version if Internet Explorer, in which the Backend works
$str = "IE=8";
return '<meta http-equiv="X-UA-Compatible" content="' . $str . '" />';
}
(5-5/6)