Index: typo3/sysext/cms/layout/db_layout.php =================================================================== --- typo3/sysext/cms/layout/db_layout.php (revision 6371) +++ typo3/sysext/cms/layout/db_layout.php (working copy) @@ -521,7 +521,21 @@ } else { $body = $this->renderListContent(); // All other listings } - + + + if ($this->pageinfo['content_from_pid']) { + $contentPage = t3lib_BEfunc::getRecord('pages', intval($this->pageinfo['content_from_pid'])); + $linkToPid = $this->local_linkThisScript(array('id' => $this->pageinfo['content_from_pid'])); + $link = '' . htmlspecialchars($contentPage['title']) . ' (PID ' . intval($this->pageinfo['content_from_pid']) . ')'; + $flashMessage = t3lib_div::makeInstance( + 't3lib_FlashMessage', + '', + sprintf($GLOBALS['LANG']->getLL('content_from_pid_title'), $link), + t3lib_FlashMessage::INFO + ); + $body = $flashMessage->render() . $body; + } + // Setting up the buttons and markers for docheader $docHeaderButtons = $this->getButtons($this->MOD_SETTINGS['function']==0 ? 'quickEdit' : ''); $markers = array( Index: typo3/sysext/cms/layout/locallang.xml =================================================================== --- typo3/sysext/cms/layout/locallang.xml (revision 6371) +++ typo3/sysext/cms/layout/locallang.xml (working copy) @@ -81,6 +81,7 @@ + \ No newline at end of file