[BUGFIX] Reports module link to Install Tool section is incorrect 13/21613/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 23 Jun 2013 13:41:17 +0000 (15:41 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Sun, 23 Jun 2013 14:01:40 +0000 (16:01 +0200)
Change the module name in the link and add a new label to
mention the new section name Important Actions.

Change-Id: I75b0698efd759d5a2f679ecceba059f8a8975876
Resolves: #49352
Related: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21613
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/lang/locallang_core.xlf
typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php

index 645e5cb..7238a2b 100644 (file)
@@ -820,6 +820,9 @@ Would you like to save now in order to refresh the display?</source>
                        <trans-unit id="warning.install_password" xml:space="preserve">
                                <source>The Install Tool is still using the default password "joh316". Update this within the %sAbout section%s of the Install Tool.</source>
                        </trans-unit>
+                       <trans-unit id="warning.installtool_default_password" xml:space="preserve">
+                               <source>The Install Tool is still using the default password "joh316". Update this within the %sImportant actions section%s of the Install Tool.</source>
+                       </trans-unit>
                        <trans-unit id="warning.backend_admin" xml:space="preserve">
                                <source>The default backend user "admin" with password "password" is still present. %sEdit this account%s, either deleting it completely or changing the username and password.</source>
                        </trans-unit>
index d94d898..062ebc2 100644 (file)
@@ -186,8 +186,8 @@ class SecurityStatus implements \TYPO3\CMS\Reports\StatusProviderInterface {
                if ($GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] == md5('joh316')) {
                        $value = $GLOBALS['LANG']->getLL('status_insecure');
                        $severity = \TYPO3\CMS\Reports\Status::ERROR;
-                       $changeInstallToolPasswordUrl = 'mod.php?M=tools_install';
-                       $message = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_password'), '<a href="' . $changeInstallToolPasswordUrl . '">', '</a>');
+                       $changeInstallToolPasswordUrl = 'mod.php?M=tools_InstallInstall';
+                       $message = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.installtool_default_password'), '<a href="' . $changeInstallToolPasswordUrl . '">', '</a>');
                }
                return \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Reports\\Status', $GLOBALS['LANG']->getLL('status_installToolPassword'), $value, $message, $severity);
        }