Feature #23684 » link-to-list-module_V2.patch
typo3/sysext/cms/layout/db_layout.php (working copy) | ||
---|---|---|
$body = $this->renderListContent(); // All other listings
|
||
}
|
||
|
||
if ($this->pageinfo['doktype'] == 254) {
|
||
$flashMessage = t3lib_div::makeInstance(
|
||
't3lib_FlashMessage',
|
||
'',
|
||
'<a href="javascript:top.goToModule( \'web_list\',1);">' .
|
||
$GLOBALS['LANG']->getLL('link_to_list', TRUE) . '</a>',
|
||
t3lib_FlashMessage::INFO
|
||
);
|
||
$body = $flashMessage->render() . $body;
|
||
}
|
||
|
||
|
||
if ($this->pageinfo['content_from_pid']) {
|
||
//$contentPage = t3lib_BEfunc::getRecord('pages', intval($this->pageinfo['content_from_pid']));
|
||
|
||
|
typo3/sysext/cms/layout/locallang.xml (working copy) | ||
---|---|---|
<label index="pI_hits24hours">Last 24 hours</label>
|
||
<label index="pI_hits10days">Last 10 days</label>
|
||
<label index="content_from_pid_title">Page uses content from this page: %s</label>
|
||
<label index="link_to_list">The current page is of the type "Sysfolder". Maybe you want to switch to the list module.</label>
|
||
</languageKey>
|
||
</data>
|
||
</T3locallang>
|