Bug #21065 » 11968_4-2.diff
typo3/template.php (Arbeitskopie) | ||
---|---|---|
// Get META tag containing the currently selected charset for backend output. The function sets $this->charSet.
|
||
$charSet = $this->initCharset();
|
||
$generator = $this->generator();
|
||
$xUaCompatible = $this->xUaCompatible();
|
||
// For debugging: If this outputs "QuirksMode"/"BackCompat" (IE) the browser runs in quirks-mode. Otherwise the value is "CSS1Compat"
|
||
# $this->JScodeArray[]='alert(document.compatMode);';
|
||
... | ... | |
<!-- TYPO3 Script ID: '.htmlspecialchars($this->scriptID).' -->
|
||
'.$charSet.'
|
||
'.$generator.'
|
||
' . $xUaCompatible . '
|
||
<title>'.htmlspecialchars($title).'</title>
|
||
'.$this->docStyle().'
|
||
'.implode("\n", $this->additionalHeaderData).'
|
||
... | ... | |
}
|
||
/**
|
||
* 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 . '" />';
|
||
}
|
||
- « Previous
- 1
- …
- 4
- 5
- 6
- Next »