Project

General

Profile

Bug #22287 » bug_13832_v4.diff

Administrator Admin, 2010-03-26 16:41

View differences:

typo3/sysext/setup/mod/locallang.xml (working copy)
<label index="enableInstallTool.label">Install Tool Access</label>
<label index="enableInstallTool.createFile">Create Install Tool Enable File</label>
<label index="enableInstallTool.deleteFile">Delete Install Tool Enable File</label>
<label index="tempDataCleared">Temporary data cleared</label>
<label index="tempDataClearedFlashMessage">The temporary data has been cleared.</label>
<label index="tempDataClearedLog">Temporary data cleared</label>
</languageKey>
</data>
</T3locallang>
typo3/sysext/setup/mod/index.php (working copy)
protected $passwordIsUpdated = FALSE;
protected $passwordIsSubmitted = FALSE;
protected $setupIsUpdated = FALSE;
protected $tempDataIsCleared = FALSE;
/******************************
......
unset ($BE_USER->uc[$key]);
}
}
$this->tempDataIsCleared = TRUE;
} else {
// save all submitted values if they are no array (arrays are with table=be_users) and exists in $GLOBALS['TYPO3_USER_SETTINGS'][columns]
foreach($columns as $field => $config) {
......
$BE_USER->writelog(254, 1, 0, 1, 'Personal settings changed', array());
$this->setupIsUpdated = TRUE;
}
// If the temporary data has been cleared, lets make a log note about it
if ($this->tempDataIsCleared) {
$BE_USER->writelog(254, 1, 0, 1, $GLOBALS['LANG']->getLL('tempDataClearedLog'), array());
}
// Personal data for the users be_user-record (email, name, password...)
......
);
$this->content .= $flashMessage->render();
}
// Show if temporary data was cleared
if ($this->tempDataIsCleared) {
$flashMessage = t3lib_div::makeInstance(
't3lib_FlashMessage',
$LANG->getLL('tempDataClearedFlashMessage'),
$LANG->getLL('tempDataCleared')
);
$this->content .= $flashMessage->render();
}
// If password is updated, output whether it failed or was OK.
if ($this->passwordIsSubmitted) {
if ($this->passwordIsUpdated) {
(3-3/3)