[TASK] Update backend page title 24/25224/4
authorTomita Militaru <militarutomita@gmail.com>
Fri, 8 Nov 2013 16:34:25 +0000 (18:34 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 11 Nov 2013 17:43:00 +0000 (18:43 +0100)
Updates the document title in backend following the brand change
from TYPO3 to TYPO3 CMS

Resolves: #53455
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I62782f3aa2c1dd30dc1429999e0757823ed8dbd7
Reviewed-on: https://review.typo3.org/25224
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Classes/Controller/LoginController.php

index 87067ad..a6a684e 100644 (file)
@@ -216,7 +216,7 @@ class BackendController {
                        TYPO3.ContextHelpWindow.init();';
                $this->pageRenderer->addExtOnReadyCode($extOnReadyCode);
                // Set document title:
-               $title = $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] ? $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] . ' [TYPO3 ' . TYPO3_version . ']' : 'TYPO3 ' . TYPO3_version;
+               $title = $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] ? $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] . ' [TYPO3 CMS ' . TYPO3_version . ']' : 'TYPO3 CMS ' . TYPO3_version;
                $this->content = $backendScaffolding;
                // Renders the module page
                $this->content = $GLOBALS['TBE_TEMPLATE']->render($title, $this->content);
index 5630d38..c34a490 100644 (file)
@@ -228,7 +228,7 @@ class LoginController {
                        $loginForm = $this->makeLogoutForm();
                }
                // Starting page:
-               $this->content .= $GLOBALS['TBE_TEMPLATE']->startPage('TYPO3 Login: ' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'], FALSE);
+               $this->content .= $GLOBALS['TBE_TEMPLATE']->startPage('TYPO3 CMS Login: ' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'], FALSE);
                // Add login form:
                $this->content .= $this->wrapLoginForm($loginForm);
                $this->content .= $GLOBALS['TBE_TEMPLATE']->endPage();