00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00053 require ('init.php');
00054 require ('template.php');
00055 require_once (PATH_t3lib.'class.t3lib_loadmodules.php');
00056 require_once (PATH_t3lib.'class.t3lib_basicfilefunc.php');
00057 require_once ('class.alt_menu_functions.inc');
00058
00059
00060
00061
00062
00063
00064
00065
00073 class SC_alt_menu_sel {
00074 var $content;
00075
00081 function main() {
00082 global $TBE_MODULES,$TBE_TEMPLATE;
00083
00084
00085 $loadModules = t3lib_div::makeInstance('t3lib_loadModules');
00086 $loadModules->load($TBE_MODULES);
00087
00088
00089 $TBE_TEMPLATE->form = '<form action="">';
00090 $TBE_TEMPLATE->docType = 'xhtml_trans';
00091
00092 $this->content.=$TBE_TEMPLATE->startPage('Selector box menu');
00093
00094
00095 $alt_menuObj = t3lib_div::makeInstance('alt_menu_functions');
00096 $this->content.=$alt_menuObj->topMenu($loadModules->modules,0,'',2);
00097
00098
00099 $this->content.=$TBE_TEMPLATE->endPage();
00100 }
00101
00107 function printContent() {
00108 echo $this->content;
00109 }
00110 }
00111
00112
00113 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/alt_menu_sel.php']) {
00114 include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/alt_menu_sel.php']);
00115 }
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128 $SOBE = t3lib_div::makeInstance('SC_alt_menu_sel');
00129 $SOBE->main();
00130 $SOBE->printContent();
00131 ?>