[TASK] Improve logout button styling and add id
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / View / ModuleMenuView.php
index 94e6149..adbfdd9 100644 (file)
@@ -314,7 +314,7 @@ class ModuleMenuView {
                $buttonLabel = $GLOBALS['BE_USER']->user['ses_backuserid'] ? 'LLL:EXT:lang/locallang_core.xlf:buttons.exit' : 'LLL:EXT:lang/locallang_core.xlf:buttons.logout';
                $buttonForm = '
                <form action="logout.php" target="_top">
-                       <input type="submit" value="&nbsp;' . $GLOBALS['LANG']->sL($buttonLabel, 1) . '&nbsp;" />
+                       <input type="submit" id="logout-submit-button" value="' . $GLOBALS['LANG']->sL($buttonLabel, 1) . '" />
                </form>';
                return $buttonForm;
        }