Fixed bug #14021: Simplify the code to get nested GET Parameters with TS
[Packages/TYPO3.CMS.git] / typo3 / db_list.php
old mode 100755 (executable)
new mode 100644 (file)
index 0abc1fd..1967ed4
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2009 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -62,11 +62,6 @@ require ('mod/web/list/conf.php');
 require ('init.php');
 require ('template.php');
 $LANG->includeLLFile('EXT:lang/locallang_mod_web_list.xml');
-require_once (PATH_t3lib.'class.t3lib_page.php');
-require_once (PATH_t3lib.'class.t3lib_pagetree.php');
-require_once (PATH_t3lib.'class.t3lib_recordlist.php');
-require_once (PATH_t3lib.'class.t3lib_clipboard.php');
-require_once (PATH_t3lib.'class.t3lib_parsehtml.php');
 require_once ($BACK_PATH.'class.db_list.inc');
 require_once ($BACK_PATH.'class.db_list_extra.inc');
 $BE_USER->modAccess($MCONF,1);
@@ -232,6 +227,7 @@ class SC_db_list {
                $dblist->pageRow = $this->pageinfo;
                $dblist->counter++;
                $dblist->MOD_MENU = array('bigControlPanel' => '', 'clipBoard' => '', 'localization' => '');
+               $dblist->modTSconfig = $this->modTSconfig;
 
                        // Clipboard is initialized:
                $dblist->clipObj = t3lib_div::makeInstance('t3lib_clipboard');          // Start clipboard
@@ -275,7 +271,7 @@ class SC_db_list {
                                        $tce->process_cmdmap();
 
                                        if (isset($cmd['pages']))       {
-                                               t3lib_BEfunc::getSetUpdateSignal('updatePageTree');
+                                               t3lib_BEfunc::setUpdateSignal('updatePageTree');
                                        }
 
                                        $tce->printLogErrorMessages(t3lib_div::getIndpEnv('REQUEST_URI'));
@@ -288,7 +284,9 @@ class SC_db_list {
                        $dblist->setDispFields();
 
                                // Render versioning selector:
-                       $dblist->HTMLcode.= $this->doc->getVersionSelector($this->id);
+                       if (t3lib_extMgm::isLoaded('version')) {
+                               $dblist->HTMLcode .= $this->doc->getVersionSelector($this->id);
+                       }
 
                                // Render the list of tables:
                        $dblist->generateList();
@@ -423,22 +421,13 @@ class SC_db_list {
        }
 }
 
-// Include extension?
+
 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/db_list.php'])      {
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/db_list.php']);
 }
 
 
 
-
-
-
-
-
-
-
-
-
 // Make instance:
 $SOBE = t3lib_div::makeInstance('SC_db_list');
 $SOBE->init();
@@ -449,4 +438,5 @@ foreach($SOBE->include_once as $INC_FILE)   include_once($INC_FILE);
 $SOBE->clearCache();
 $SOBE->main();
 $SOBE->printContent();
-?>
+
+?>
\ No newline at end of file