+2010-07-26 Steffen Kamper <steffen@typo3.org>
+
+ * Fixed bug #15172: Add wrapper files for list/filelist modules
+
2010-07-26 Dmitry Dulepov <dmitry@typo3.org>
* Reverted the fix for #15128 because further investigation is required
--- /dev/null
+<?php\r
+/***************************************************************\r
+* Copyright notice\r
+*\r
+* (c) 2010 Steffen Kamper (steffen@typo3.com)\r
+* All rights reserved\r
+*\r
+* This script is part of the TYPO3 project. The TYPO3 project is\r
+* free software; you can redistribute it and/or modify\r
+* it under the terms of the GNU General Public License as published by\r
+* the Free Software Foundation; either version 2 of the License, or\r
+* (at your option) any later version.\r
+*\r
+* The GNU General Public License can be found at\r
+* http://www.gnu.org/copyleft/gpl.html.\r
+* A copy is found in the textfile GPL.txt and important notices to the license\r
+* from the author is found in LICENSE.txt distributed with these scripts.\r
+*\r
+*\r
+* This script is distributed in the hope that it will be useful,\r
+* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+* GNU General Public License for more details.\r
+*\r
+* This copyright notice MUST APPEAR in all copies of the script!\r
+***************************************************************/\r
+/**\r
+ * This is a wrapper file for direct calls to list module.\r
+ * It's deprecated since 4.5, use proper link generation.\r
+ *\r
+ * @author Steffen Kamper <steffen@typo3.com>\r
+ * @deprecated\r
+ *\r
+ */\r
+\r
+\r
+require ('init.php');\r
+\r
+$query = t3lib_div::getIndpEnv('QUERY_STRING');\r
+t3lib_div::deprecationLog('The list module is a system extension now, do not link to this file.' .\r
+ LF .\r
+ 'Referer: ' . t3lib_div::getIndpEnv('HTTP_REFERER')\r
+);\r
+if (t3lib_extMgm::isLoaded('list')) {\r
+ t3lib_utility_Http::redirect(t3lib_extMgm::extRelPath('list') . 'mod1/db_list.php?' . $query);\r
+} else {\r
+ $title = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:extension.not.installed'), 'list');\r
+ $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:link.to.dblist.correctly');\r
+ t3lib_BEfunc::typo3PrintError($title, $message);\r
+}\r
+\r
+?>\r
--- /dev/null
+<?php\r
+/***************************************************************\r
+* Copyright notice\r
+*\r
+* (c) 2010 Steffen Kamper (steffen@typo3.com)\r
+* All rights reserved\r
+*\r
+* This script is part of the TYPO3 project. The TYPO3 project is\r
+* free software; you can redistribute it and/or modify\r
+* it under the terms of the GNU General Public License as published by\r
+* the Free Software Foundation; either version 2 of the License, or\r
+* (at your option) any later version.\r
+*\r
+* The GNU General Public License can be found at\r
+* http://www.gnu.org/copyleft/gpl.html.\r
+* A copy is found in the textfile GPL.txt and important notices to the license\r
+* from the author is found in LICENSE.txt distributed with these scripts.\r
+*\r
+*\r
+* This script is distributed in the hope that it will be useful,\r
+* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+* GNU General Public License for more details.\r
+*\r
+* This copyright notice MUST APPEAR in all copies of the script!\r
+***************************************************************/\r
+/**\r
+ * This is a wrapper file for direct calls to filelist module.\r
+ * It's deprecated since 4.5, use proper link generation.\r
+ *\r
+ * @author Steffen Kamper <steffen@typo3.com>\r
+ * @deprecated\r
+ *\r
+ */\r
+\r
+\r
+require ('init.php');\r
+\r
+$query = t3lib_div::getIndpEnv('QUERY_STRING');\r
+t3lib_div::deprecationLog('The filelist module is a system extension now, do not link to this file.' .\r
+ LF .\r
+ 'Referer: ' . t3lib_div::getIndpEnv('HTTP_REFERER')\r
+);\r
+if (t3lib_extMgm::isLoaded('list')) {\r
+ t3lib_utility_Http::redirect(t3lib_extMgm::extRelPath('filelist') . 'mod1/file_list.php?' . $query);\r
+} else {\r
+ $title = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:extension.not.installed'), 'list');\r
+ $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:link.to.filelist.correctly');\r
+ t3lib_BEfunc::typo3PrintError($title, $message);\r
+}\r
+?>
\ No newline at end of file
- URL typo3/ajax.php: namespace parameter should be like: "TYPO3.MyExtension"\n
- javascript: method\'s name should be like: "TYPO3.MyExtension.Sample.myMethod"\n</label>
<label index="ExtDirect.noNamespace">Ext Direct error in "%s": no namespace has been found.</label>
+ <label index="extension.not.installed">Extension "%s" is not installed.</label>
+ <label index="link.to.dblist.correctly">Please, do not link to this page. Use t3lib_extMgm::createListViewLink() for link generation.</label>
+ <label index="link.to.filefile.correctly">Please, do not link to this page.</label>
</languageKey>
</data>
</T3locallang>