diff --git a/typo3/sysext/install/Classes/Report/SecurityStatusReport.php b/typo3/sysext/install/Classes/Report/SecurityStatusReport.php index cca4fc6bee25739036be5f4c987f841cd8f91dc4..e22b2803b058cfb6d4edde364bd59ecfccb1b887 100644 --- a/typo3/sysext/install/Classes/Report/SecurityStatusReport.php +++ b/typo3/sysext/install/Classes/Report/SecurityStatusReport.php @@ -86,7 +86,7 @@ class SecurityStatusReport implements \TYPO3\CMS\Reports\StatusProviderInterface $disableInstallToolUrl = GeneralUtility::getIndpEnv('TYPO3_REQUEST_URL') . '&adminCmd=remove_ENABLE_INSTALL_TOOL'; $value = $GLOBALS['LANG']->sL('LLL:EXT:install/Resources/Private/Language/Report/locallang.xlf:status_enabledPermanently'); $message = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_enabled'), - '<span style="white-space: nowrap;">' . $enableInstallToolFile . '</span>'); + '<code style="white-space: nowrap;">' . $enableInstallToolFile . '</code>'); $message .= ' <a href="' . htmlspecialchars($disableInstallToolUrl) . '">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_enabled_cmd') . '</a>'; } else { @@ -97,7 +97,7 @@ class SecurityStatusReport implements \TYPO3\CMS\Reports\StatusProviderInterface $disableInstallToolUrl = GeneralUtility::getIndpEnv('TYPO3_REQUEST_URL') . '&adminCmd=remove_ENABLE_INSTALL_TOOL'; $value = $GLOBALS['LANG']->sL('LLL:EXT:install/Resources/Private/Language/Report/locallang.xlf:status_enabledTemporarily'); $message = sprintf($GLOBALS['LANG']->sL('LLL:EXT:install/Resources/Private/Language/Report/locallang.xlf:status_installEnabledTemporarily'), - '<span style="white-space: nowrap;">' . $enableInstallToolFile . '</span>', floor((@filemtime($enableInstallToolFile) + EnableFileService::INSTALL_TOOL_ENABLE_FILE_LIFETIME - time()) / 60)); + '<code style="white-space: nowrap;">' . $enableInstallToolFile . '</code>', floor((@filemtime($enableInstallToolFile) + EnableFileService::INSTALL_TOOL_ENABLE_FILE_LIFETIME - time()) / 60)); $message .= ' <a href="' . htmlspecialchars($disableInstallToolUrl) . '">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_enabled_cmd') . '</a>'; } diff --git a/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php b/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php index fac0d98c10fd0180008f749e69c25bcbb2794f93..0815a4233a6bca8d07e685ae979c0d8074a89312 100644 --- a/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php +++ b/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php @@ -195,7 +195,7 @@ class ConfigurationStatus implements StatusProviderInterface $logFileSize = 0; if (@file_exists($logFile)) { $logFileSize = filesize($logFile); - $message .= '<p>' . sprintf($this->getLanguageService()->getLL('status_configuration_DeprecationLogFile'), $this->getDeprecationLogFileLink()) . '</p>'; + $message .= '<p>' . sprintf($this->getLanguageService()->getLL('status_configuration_DeprecationLogFile'), '<code>' . $this->getDeprecationLogFileLink()) . '</code></p>'; $removeDeprecationLogFileUrl = GeneralUtility::getIndpEnv('TYPO3_REQUEST_URL') . '&adminCmd=removeDeprecationLogFile'; $message .= '<p>' . sprintf($this->getLanguageService()->getLL('status_configuration_DeprecationLogSize'), GeneralUtility::formatSize($logFileSize)) . ' <a href="' . $removeDeprecationLogFileUrl . '">' . $this->getLanguageService()->getLL('status_configuration_DeprecationLogDeleteLink') . '</a></p>'; } diff --git a/typo3/sysext/reports/Classes/Report/Status/Typo3Status.php b/typo3/sysext/reports/Classes/Report/Status/Typo3Status.php index 753d4603246bdf5d6ef2a6f2ebf7677b25a9627a..abc1875f6f4d7ebb5afb4429403e8296c336c47b 100644 --- a/typo3/sysext/reports/Classes/Report/Status/Typo3Status.php +++ b/typo3/sysext/reports/Classes/Report/Status/Typo3Status.php @@ -64,8 +64,8 @@ class Typo3Status implements StatusProviderInterface foreach ($xclassFoundArray as $originalClass => $xClassName) { $messageDetail = sprintf( $this->getLanguageService()->getLL('status_xclassUsageFound_message_detail'), - $originalClass, - $xClassName + '<code>' . htmlspecialchars($originalClass) . '</code>', + '<code>' . htmlspecialchars($xClassName) . '</code>' ); $message .= '<li>' . $messageDetail . '</li>'; }