Project

General

Profile

Feature #24345 » hook_request.diff

Administrator Admin, 2010-12-16 14:40

View differences:

typo3_new/sysext/setup/mod/index.php 2010-12-16 14:28:50.000000000 +0100
);
$this->doc->table_TR = '<tr>';
$this->doc->table_TABLE = '<table border="0" cellspacing="1" cellpadding="2" class="typo3-usersettings">';
// Hook for changing the init settings form
if (!empty ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['initSettingsForm'])
&& is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['initSettingsForm'])) {
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['initSettingsForm'] as $funcRef) {
$params = array();
t3lib_div::callUserFunction($funcRef, $params, $this);
}
}
}
/**
......
function main() {
global $BE_USER,$LANG,$BACK_PATH,$TBE_MODULES;
// Hook for adding a flash message at the beginning
if (!empty ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['flashMessagesPreProcess'])
&& is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['flashMessagesPreProcess'])) {
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['flashMessagesPreProcess'] as $funcRef) {
$params = array(
'lang' => $LANG
);
t3lib_div::callUserFunction($funcRef, $params, $this);
}
}
// file creation / delete
if ($this->isAdmin) {
if ($this->installToolFileKeep) {
......
}
}
// Hook for adding a flash message at the end
if (!empty ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['flashMessagesPostProcess'])
&& is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['flashMessagesPostProcess'])) {
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['flashMessagesPostProcess'] as $funcRef) {
$params = array(
'lang' => $LANG
);
t3lib_div::callUserFunction($funcRef, $params, $this);
}
}
if ($this->languageUpdate) {
$this->doc->JScodeArray['languageUpdate'] .= '
if (top.refreshMenu) {
(1-1/2)