Project

General

Profile

Feature #19693 » 0009923_v2.patch

Administrator Admin, 2009-06-25 19:42

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
case 'MULTIMEDIA':
$content.=$this->MULTIMEDIA($conf);
break;
case 'HEADERDATA':
$this->HEADERDATA($conf);
break;
default:
// call hook functions for extra processing
if($name && is_array($TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClassDefault'])) {
......
return $content;
}
/**
* Rendering the cObject HEADERDATA.
* The result will not be outputted but added to the HTML HEAD section.
*
* @param array $configuration: TypoScript configuration
* @return void
*/
public function HEADERDATA(array $configuration) {
$additionalHeaderData = $this->stdWrap($configuration['value'], $configuration);
if ($additionalHeaderData !== '') {
$identifier = 'cObj.' . md5(trim($additionalHeaderData));
if (!isset($GLOBALS['TSFE']->additionalHeaderData[$identifier])) {
$GLOBALS['TSFE']->additionalHeaderData[$identifier] = $additionalHeaderData;
}
}
}
......
/************************************
*
* Various helper functions for content objects:
(2-2/2)