diff -ru typo3_orig/sysext/setup/mod/index.php typo3_new/sysext/setup/mod/index.php
--- typo3_orig/sysext/setup/mod/index.php 2010-12-16 14:17:11.000000000 +0100
+++ typo3_new/sysext/setup/mod/index.php 2010-12-16 14:28:50.000000000 +0100
@@ -302,6 +302,15 @@
);
$this->doc->table_TR = '
';
$this->doc->table_TABLE = '';
+
+ // 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);
+ }
+ }
}
/**
@@ -312,6 +321,17 @@
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) {
@@ -367,6 +387,17 @@
}
}
+ // 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) {