*/ /** * [CLASS/FUNCTION INDEX of SCRIPT] * * * * 75: class SC_alt_intro * 84: function init() * 98: function main() * 148: function printContent() * * TOTAL FUNCTIONS: 3 * (This index is automatically created/updated by the extension "extdeveval") * */ require ('init.php'); require ('template.php'); require_once ('class.alt_menu_functions.inc'); $LANG->includeLLFile('EXT:lang/locallang_alt_intro.xml'); /** * Script Class for the introduction screen, alias "About > Modules" which shows the description of each available module for the user. * * @author Kasper Skaarhoj * @package TYPO3 * @subpackage core */ class SC_alt_intro { /** * Object for backend modules. * * @var t3lib_loadModules */ var $loadModules; var $content; /** * Initialization of script class * * @return void */ function init() { global $TBE_MODULES; // Loads the available backend modules so we can create the description overview. $this->loadModules = t3lib_div::makeInstance('t3lib_loadModules'); $this->loadModules->observeWorkspaces = TRUE; $this->loadModules->load($TBE_MODULES); } /** * Main content - displaying the module descriptions * * @return void */ function main() { global $BE_USER,$LANG,$TYPO3_CONF_VARS; global $TBE_TEMPLATE; $alt_menuObj = t3lib_div::makeInstance('alt_menu_functions'); $TBE_TEMPLATE->divClass = $TBE_TEMPLATE->bodyTagId; $this->content.= $TBE_TEMPLATE->startPage('About modules'); $this->content .= '

TYPO3 '.TYPO3_version.'
'.$LANG->getLL('introtext').'

'.t3lib_BEfunc::TYPO3_copyRightNotice().'

'; $this->content .= ' '.t3lib_BEfunc::displayWarningMessages(); $this->content .= '

'.$LANG->getLL('introtext2').'

'; // Printing the description of the modules available $this->content.=$alt_menuObj->topMenu($this->loadModules->modules,0,'',1); $this->content.='
'; // end text: 'Features may vary depending on your website and permissions' $this->content.='

('.$LANG->getLL('endText').')

'; $this->content .= '
'; // End page $this->content.= $TBE_TEMPLATE->endPage(); } /** * Outputting the accumulated content to screen * * @return void */ function printContent() { echo $this->content; } } if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/alt_intro.php']) { include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/alt_intro.php']); } // Make instance: $SOBE = t3lib_div::makeInstance('SC_alt_intro'); $SOBE->init(); $SOBE->main(); $SOBE->printContent(); ?>