#27247Missing Hook in extjs pagetree
Description
A hook has been forgotten in implementing the page tree in extjs!
checkout typo3/class.webpagetree.php lines 120-127:
// Call stats information hook
$stat = '';
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks'])) {
$_params = array('pages',$row['uid']);
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks'] as $_funcRef) {
$stat.=t3lib_div::callUserFunction($_funcRef,$_params,$this);
}
}
this hook is used in existing extensions like l10nmanager and I wanna use it too … the correct place to add it would be class.t3lib_tree_pagetree_commands.php at about ~330.
be aware to implement it without applying htmlspecialchars() to its content!