Fixed bug #9748: Some extensions do not work anymore in the frontend
[Packages/TYPO3.CMS.git] / typo3 / alt_menu_sel.php
index 4d7de14..97c13be 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -88,7 +88,6 @@ class SC_alt_menu_sel {
 
                        // Start page
                $TBE_TEMPLATE->form = '<form action="">';
-               $TBE_TEMPLATE->docType = 'xhtml_trans';
 
                        // add menu JS
                $alt_menuObj = t3lib_div::makeInstance('alt_menu_functions');
@@ -113,23 +112,16 @@ class SC_alt_menu_sel {
        }
 }
 
-// Include extension?
+
 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/alt_menu_sel.php']) {
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/alt_menu_sel.php']);
 }
 
 
 
-
-
-
-
-
-
-
-
 // Make instance:
 $SOBE = t3lib_div::makeInstance('SC_alt_menu_sel');
 $SOBE->main();
 $SOBE->printContent();
-?>
+
+?>
\ No newline at end of file