Project

General

Profile

Feature #18265 » 20080220_feedit_hook.diff

Administrator Admin, 2008-02-21 00:21

View differences:

t3lib/class.t3lib_tsfebeuserauth.php (working copy)
if ($this->extGetFeAdminValue('cache','noCache')) {
$GLOBALS['TSFE']->set_no_cache();
}
// Hook for post processing the frontend admin configuration.
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extSaveFeAdminConfig-postProc'])) {
$_params = array('input' => &$input, 'pObj' => &$this);
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extSaveFeAdminConfig-postProc'] as $_funcRef) {
t3lib_div::callUserFunction($_funcRef,$_params,$this);
}
}
}
/**
......
if ($this->extIsAdmMenuOpen($pre)) { // See if the menu is expanded!
return $retVal;
}
// Hook for post processing the frontend editing action.
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extEditAction-postProc'])) {
$_params = array('cmd' => &$cmd, 'tce' => &$tce, 'pObj' => &$this);
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extEditAction-postProc'] as $_funcRef) {
t3lib_div::callUserFunction($_funcRef,$_params,$this);
}
}
}
}
(1-1/2)