Bug #22599 » 0014322_noindex_T42.diff
typo3_src-4.2.12/typo3/template.php 2010-05-07 10:46:36.000000000 +0200 | ||
---|---|---|
// Get META tag containing the currently selected charset for backend output. The function sets $this->charSet.
|
||
$charSet = $this->initCharset();
|
||
$generator = $this->generator();
|
||
$robots = $this->robots();
|
||
$xUaCompatible = $this->xUaCompatible();
|
||
// For debugging: If this outputs "QuirksMode"/"BackCompat" (IE) the browser runs in quirks-mode. Otherwise the value is "CSS1Compat"
|
||
... | ... | |
<!-- TYPO3 Script ID: '.htmlspecialchars($this->scriptID).' -->
|
||
'.$charSet.'
|
||
'.$generator.'
|
||
'.$robots.'
|
||
' . $xUaCompatible . '
|
||
<title>'.htmlspecialchars($title).'</title>
|
||
'.$this->docStyle().'
|
||
... | ... | |
return '<meta name="generator" content="'.$str .'" />';
|
||
}
|
||
/**
|
||
* Returns robots meta tag
|
||
*
|
||
* @return string <meta> tag with name "robots"
|
||
*/
|
||
function robots() {
|
||
return '<meta name="robots" content="noindex,nofollow" />';
|
||
}
|
||
/**
|
||
* Returns X-UA-Compatible meta tag
|