Public Member Functions | |
| main () | |
| Main function, producing the module output. | |
| printContent () | |
| Outputting the accumulated content to screen. | |
Public Attributes | |
| $MCONF = array() | |
| $MOD_MENU = array() | |
| $MOD_SETTINGS = array() | |
| $content | |
|
|
Main function, producing the module output. In this case, the module output is a very simple screen telling the version of TYPO3 and that's basically it... The content is set in the internal variable $this->content
Definition at line 91 of file index.php. References $content, and $TBE_TEMPLATE. 00091 {
00092 global $TBE_TEMPLATE,$LANG,$BACK_PATH;
00093
00094 $this->MCONF = $GLOBALS['MCONF'];
00095
00096 // **************************
00097 // Main
00098 // **************************
00099 #$TBE_TEMPLATE->bgColor = '#cccccc';
00100 $TBE_TEMPLATE->backPath = $GLOBALS['BACK_PATH'];
00101 $TBE_TEMPLATE->docType = 'xhtml_trans';
00102 $this->content.= $TBE_TEMPLATE->startPage('About');
00103
00104 $minorText = sprintf($LANG->getLL('minor'), 'TYPO3 Ver. '.TYPO3_version.', Copyright © 1998-2004', 'Kasper Skårhøj');
00105
00106 $content='
00107 <div id="typo3-mod-help-about-index-php-outer">
00108 <img src="'.$BACK_PATH.'gfx/typo3logo.gif" width="333" height="43" vspace="10" alt="TYPO3 logo" />
00109 <div id="typo3-mod-help-about-index-php-inner">
00110 <h2>TYPO3 Information</h2>
00111 <h3>'.$LANG->getLL('welcome',1).'</h3>
00112 <p>'.$minorText.'</p>
00113 </div>
00114 </div>
00115 ';
00116 $this->content.= $content;
00117 $this->content.= $TBE_TEMPLATE->endPage();
00118 }
|
|
|
Outputting the accumulated content to screen.
Definition at line 125 of file index.php. 00125 {
00126 echo $this->content;
00127 }
|
|
|
Definition at line 79 of file index.php. Referenced by main(). |
|
|
|
|
|
|
|
|
|
1.3.8-20040913