Project

General

Profile

Bug #35371 » class.tslib_fe.php.diff

Franz Kugelmann, 2012-03-29 16:29

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php
$GLOBALS['TT']->push('Substitute header section');
$this->INTincScript_loadJSCode();
if (strpos($this->additionalHeaderData['JSCode'],'<script') === FALSE) {
$this->additionalHeaderData['JSCode'] = '
<script type="text/javascript">
<!--
' . $this->additionalHeaderData['JSCode'] . '
// -->
</script>';
}
$this->content = str_replace('<!--HD_'.$this->config['INTincScript_ext']['divKey'].'-->', $this->convOutputCharset(implode(LF,$this->additionalHeaderData),'HD'), $this->content);
$this->content = str_replace('<!--TDS_'.$this->config['INTincScript_ext']['divKey'].'-->', $this->convOutputCharset($this->divSection,'TDS'), $this->content);
$this->setAbsRefPrefix();
(1-1/2)