Feature #22616 » 14343_trunk.patch
typo3/sysext/setup/mod/index.php (working copy) | ||
---|---|---|
if ($this->isAdmin) {
|
||
if (t3lib_div::_POST('deleteInstallToolEnableFile')) {
|
||
unlink(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
|
||
$flashMessage = t3lib_div::makeInstance(
|
||
't3lib_FlashMessage',
|
||
$LANG->getLL('enableInstallTool.fileDeleted'),
|
||
$LANG->getLL('enableInstallTool.file'),
|
||
t3lib_FlashMessage::INFO
|
||
);
|
||
$this->content .= $flashMessage->render();
|
||
}
|
||
if (t3lib_div::_POST('createInstallToolEnableFile')) {
|
||
touch(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
|
||
$flashMessage = t3lib_div::makeInstance(
|
||
't3lib_FlashMessage',
|
||
$LANG->getLL('enableInstallTool.fileCreated'),
|
||
$LANG->getLL('enableInstallTool.file'),
|
||
t3lib_FlashMessage::INFO
|
||
);
|
||
$this->content .= $flashMessage->render();
|
||
}
|
||
}
|
||
typo3/sysext/setup/mod/locallang.xml (working copy) | ||
---|---|---|
<label index="adminFunctions">Admin functions</label>
|
||
<label index="enableInstallTool.label">Install Tool Access</label>
|
||
<label index="enableInstallTool.createFile">Create Install Tool Enable File</label>
|
||
<label index="enableInstallTool.file">Install Tool Enable file</label>
|
||
<label index="enableInstallTool.fileCreated">The Install Tool Enable file has been created.</label>
|
||
<label index="enableInstallTool.deleteFile">Delete Install Tool Enable File</label>
|
||
<label index="enableInstallTool.fileDeleted">The Install Tool Enable file has been deleted.</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>
|