Index: typo3/sysext/setup/mod/index.php =================================================================== --- typo3/sysext/setup/mod/index.php (revision 10306) +++ typo3/sysext/setup/mod/index.php (revision ) @@ -118,6 +118,7 @@ protected $passwordIsSubmitted = FALSE; protected $setupIsUpdated = FALSE; protected $tempDataIsCleared = FALSE; + protected $dataIsResetted = FALSE; protected $installToolFileExists = FALSE; protected $installToolFileKeep = FALSE; @@ -188,6 +189,7 @@ if ($d['setValuesToDefault']) { // If every value should be default $BE_USER->resetUC(); + $this->dataIsResetted = TRUE; } elseif ($d['clearSessionVars']) { foreach ($BE_USER->uc as $key => $value) { if (!isset($columns[$key])) { @@ -419,7 +421,7 @@ $this->content .= $this->doc->header($LANG->getLL('UserSettings').' - '.$BE_USER->user['realName'].' ['.$BE_USER->user['username'].']'); // show if setup was saved - if ($this->setupIsUpdated) { + if ($this->setupIsUpdated && !$this->tempDataIsCleared && !$this->dataIsResetted) { $flashMessage = t3lib_div::makeInstance( 't3lib_FlashMessage', $LANG->getLL('setupWasUpdated'), @@ -436,6 +438,15 @@ ); $this->content .= $flashMessage->render(); } + // Show if temporary data was cleared + if ($this->dataIsResetted) { + $flashMessage = t3lib_div::makeInstance( + 't3lib_FlashMessage', + $LANG->getLL('dataResetted'), + $LANG->getLL('resetConfiguration') + ); + $this->content .= $flashMessage->render(); + } // If password is updated, output whether it failed or was OK. if ($this->passwordIsSubmitted) { if ($this->passwordIsUpdated) { @@ -470,8 +481,12 @@ - - ' + + + + ' ); // Notice @@ -592,6 +607,7 @@ $fieldArray = $this->getFieldsFromShowItem(); $this->dividers2tabs = isset($GLOBALS['TYPO3_USER_SETTINGS']['ctrl']['dividers2tabs']) ? intval($GLOBALS['TYPO3_USER_SETTINGS']['ctrl']['dividers2tabs']) : 0; + $tabLabel = ''; foreach ($fieldArray as $fieldName) { $more = ''; @@ -808,7 +824,7 @@ if (empty($GLOBALS['BE_USER']->uc['startModule'])) { $GLOBALS['BE_USER']->uc['startModule'] = $GLOBALS['BE_USER']->uc_default['startModule']; } - $startModuleSelect .= ''; + $startModuleSelect = ''; foreach ($pObj->loadModules->modules as $mainMod => $modData) { if (isset($modData['sub']) && is_array($modData['sub'])) { $startModuleSelect .= ''; @@ -842,11 +858,16 @@ } if ($parent->getInstallToolFileExists()) { - return 'getInstallToolFileKeep() ? ' disabled="disabled"' : '') . - ' value="' . $GLOBALS['LANG']->sL('LLL:EXT:setup/mod/locallang.xml:enableInstallTool.deleteFile') . '" />'; + ' value="' . $GLOBALS['LANG']->sL('LLL:EXT:setup/mod/locallang.xml:enableInstallTool.deleteFile') . '" onclick="document.getElementById(\'deleteInstallToolEnableFile\').value=1;this.form.submit();" /> + + '; + } else { - return ''; + return ' + '; } } Index: typo3/sysext/setup/mod/locallang.xml =================================================================== --- typo3/sysext/setup/mod/locallang.xml (revision 10237) +++ typo3/sysext/setup/mod/locallang.xml (revision ) @@ -118,6 +118,7 @@ +