Bug #20331 » 10947_v3.diff
typo3/template.php (working copy) | ||
---|---|---|
// replace the marker with the template and remove all line breaks (for IE compat)
|
||
$markers['BUTTONLIST_' . strtoupper($key)] = str_replace("\n", '', $buttonTemplate);
|
||
}
|
||
|
||
// Hook for manipulating docHeaderButtons
|
||
if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/template.php']['docHeaderButtonsHook'])) {
|
||
$params = array(
|
||
'buttons' => $buttons,
|
||
'markers' => &$markers,
|
||
'pObj' => &$this
|
||
);
|
||
foreach($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/template.php']['docHeaderButtonsHook'] as $funcRef) {
|
||
t3lib_div::callUserFunction($funcRef, $params, $this);
|
||
}
|
||
}
|
||
return $markers;
|
||
}
|
||
- « Previous
- 1
- 2
- Next »