removed newline at EOF
[Packages/TYPO3.CMS.git] / typo3 / sysext / info / mod1 / index.php
index 2de83d3..308c1b7 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  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
@@ -200,11 +200,14 @@ class SC_mod_web_info_index extends t3lib_SCbase {
                }
 
                        // 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;
        }
 
@@ -230,5 +233,6 @@ $SOBE->checkSubExtObj();    // Checking second level external objects
 
 $SOBE->main();
 $SOBE->printContent();
+t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
 
-?>
+?>
\ No newline at end of file