Feature #24214 » render-postProcess.diff
t3lib/class.t3lib_pagerenderer.php | ||
---|---|---|
$jsInline = '';
|
||
}
|
||
// postRenderHook for possible manipulation
|
||
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postProcess'])) {
|
||
$params = array (
|
||
'jsLibs' => &$this->jsLibs,
|
||
'jsFiles' => &$this->jsFiles,
|
||
'jsFooterFiles' => &$this->jsFooterFiles,
|
||
'cssFiles' => &$this->cssFiles,
|
||
'headerData' => &$this->headerData,
|
||
'footerData' => &$this->footerData,
|
||
'jsInline' => &$this->jsInline,
|
||
'cssInline' => &$this->cssInline,
|
||
'xmlPrologAndDocType' => &$this->xmlPrologAndDocType,
|
||
'htmlTag' => &$this->htmlTag,
|
||
'headTag' => &$this->headTag,
|
||
'charSet' => &$this->charSet,
|
||
'metaCharSet' => &$this->metaCharSet,
|
||
'inlineComments' => &$this->inlineComments,
|
||
'baseUrl' => &$this->baseUrl,
|
||
'favIcon' => &$this->favIcon,
|
||
'titleTag' => &$this->titleTag,
|
||
'title' => &$this->title,
|
||
'metaTags' => &$this->metaTags,
|
||
'jsFooterInline' => &$this->jsFooterInline,
|
||
'jsFooterLibs' => &$this->jsFooterLibs,
|
||
'bodyContent' => &$this->bodyContent,
|
||
);
|
||
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postProcess'] as $hook) {
|
||
t3lib_div::callUserFunction($hook, $params, $this);
|
||
}
|
||
}
|
||
$markerArray = array(
|
||
'XMLPROLOG_DOCTYPE' => $this->xmlPrologAndDocType,
|
||
'HTMLTAG' => $this->htmlTag,
|
||
... | ... | |
'CSS_INLINE' => $cssInline,
|
||
'JS_INLINE' => $jsInline,
|
||
'JS_INCLUDE' => $jsFiles,
|
||
'JS_LIBS' => $jsLibs,
|
||
'JS_LIBS' => $jsLibs,
|
||
'TITLE' => $this->title ? str_replace('|', htmlspecialchars($this->title), $this->titleTag) : '',
|
||
'META' => $metaTags,
|
||
'HEADERDATA' => $this->headerData ? implode(LF, $this->headerData) : '',
|
||
'FOOTERDATA' => $this->footerData ? implode(LF, $this->footerData) : '',
|
||
'JS_LIBS_FOOTER' => $jsFooterLibs,
|
||
'JS_LIBS_FOOTER' => $jsFooterLibs,
|
||
'JS_INCLUDE_FOOTER' => $jsFooterFiles,
|
||
'JS_INLINE_FOOTER' => $jsFooterInline,
|
||
'BODY' => $this->bodyContent,
|
||
'BODY' => $this->bodyContent,
|
||
);
|
||
$markerArray = array_map('trim', $markerArray);
|