Feature #19693 » 0009923_v2.patch
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:
|
- « Previous
- 1
- 2
- Next »