/***************************************************************
* Copyright notice
*
-* (c) 1999-2010 Kasper Skårhøj (kasperYYYY@typo3.com)
+* (c) 1999-2011 Kasper Skårhøj (kasperYYYY@typo3.com)
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
}
// If access to Web>List for user, then link to that module.
- $buttons['record_list'] = t3lib_extMgm::createListViewLink(
- $this->pageinfo['uid'],
- '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
- $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
+ $buttons['record_list'] = t3lib_BEfunc::getListViewLink(
+ array(
+ 'id' => $this->pageinfo['uid'],
+ 'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
+ ),
+ $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
);
+
return $buttons;
}
$SOBE->main();
$SOBE->printContent();
+t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
-?>
+?>
\ No newline at end of file