From c96bfd405b8db3dd0b1c29860649e34cd814bc44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20N=C3=A4gler?= <typo3@naegler.net> Date: Sun, 23 Nov 2014 14:57:46 +0100 Subject: [PATCH] [BUGFIX] Page module: Add H1 element for rootpage Resolves: #63201 Releases: master Change-Id: I78c942bfb7222637594fc4b93e12bba96b4d787f Reviewed-on: http://review.typo3.org/34479 Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- .../backend/Classes/Controller/PageLayoutController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php index a21f613dcf0f..687ae6b2702d 100644 --- a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php +++ b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php @@ -607,8 +607,10 @@ class PageLayoutController { $this->doc->JScode = $this->doc->wrapScriptTags(' if (top.fsMod) top.fsMod.recentIds["web"] = ' . (int)$this->id . '; '); + + $body = $this->doc->header($GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']); $flashMessage = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Messaging\FlashMessage::class, $GLOBALS['LANG']->getLL('clickAPage_content'), $GLOBALS['LANG']->getLL('clickAPage_header'), FlashMessage::INFO); - $body = $flashMessage->render(); + $body .= $flashMessage->render(); // Setting up the buttons and markers for docheader $docHeaderButtons = array( 'view' => '', -- GitLab