Public Member Functions | |
init () | |
Initialization of script class. | |
main () | |
Main content - displaying the module descriptions. | |
printContent () | |
Outputting the accumulated content to screen. | |
Public Attributes | |
$loadModules | |
$content |
|
Initialization of script class.
Definition at line 84 of file alt_intro.php. 00084 { 00085 global $TBE_MODULES; 00086 00087 // Loads the available backend modules so we can create the description overview. 00088 $this->loadModules = t3lib_div::makeInstance('t3lib_loadModules'); 00089 $this->loadModules->load($TBE_MODULES); 00090 }
|
|
Main content - displaying the module descriptions.
Definition at line 97 of file alt_intro.php. References $LANG, $TBE_TEMPLATE, TYPO3_copyRightNotice(), and TYPO3_version. 00097 { 00098 global $BE_USER,$LANG,$TYPO3_CONF_VARS; 00099 global $TBE_TEMPLATE; 00100 00101 $alt_menuObj = t3lib_div::makeInstance('alt_menu_functions'); 00102 00103 $TBE_TEMPLATE->docType = 'xhtml_trans'; 00104 $TBE_TEMPLATE->divClass = $TBE_TEMPLATE->bodyTagId; 00105 $this->content.= $TBE_TEMPLATE->startPage('About modules'); 00106 00107 $this->content.= sprintf(' 00108 <h1>%s<br />%s</h1> 00109 00110 <p>%s</p> 00111 <p> </p> 00112 <p>%s</p>', 00113 'TYPO3 '.TYPO3_version, 00114 $LANG->getLL('introtext'), 00115 t3lib_BEfunc::TYPO3_copyRightNotice(), 00116 $LANG->getLL('introtext2') 00117 ); 00118 00119 00120 00121 00122 // Printing the description of the modules available 00123 $this->content.=$alt_menuObj->topMenu($this->loadModules->modules,0,'',1); 00124 $this->content.='<br />'; 00125 00126 // end text: 'Features may vary depending on your website and permissions' 00127 $this->content.='<p class="c-features"><em>('.$LANG->getLL('endText').')</em></p>'; 00128 $this->content.='<hr />'; 00129 00130 // Logged in user, eg: 'You're logged in as user: admin (John Doe, john@doe.email)' 00131 $this->content.='<p class="c-user">'. 00132 htmlspecialchars($LANG->getLL('userInfo')). 00133 sprintf(' <strong>%s</strong> (%s)', 00134 $BE_USER->user['username'], 00135 (implode(', ',array($BE_USER->user['realName'],$BE_USER->user['email']))) 00136 ). 00137 '</p> 00138 <br /> 00139 <br />'; 00140 00141 // End page 00142 $this->content.= $TBE_TEMPLATE->endPage(); 00143 }
|
|
Outputting the accumulated content to screen.
Definition at line 150 of file alt_intro.php. 00150 { 00151 echo $this->content; 00152 }
|
|
Definition at line 77 of file alt_intro.php. |
|
Definition at line 76 of file alt_intro.php. |