Documentation TYPO3 par Ameos

index.php

00001 <?php
00002 /***************************************************************
00003 *  Copyright notice
00004 *
00005 *  (c) 1999-2004 Kasper Skaarhoj (kasperYYYY@typo3.com)
00006 *  All rights reserved
00007 *
00008 *  This script is part of the TYPO3 project. The TYPO3 project is
00009 *  free software; you can redistribute it and/or modify
00010 *  it under the terms of the GNU General Public License as published by
00011 *  the Free Software Foundation; either version 2 of the License, or
00012 *  (at your option) any later version.
00013 *
00014 *  The GNU General Public License can be found at
00015 *  http://www.gnu.org/copyleft/gpl.html.
00016 *  A copy is found in the textfile GPL.txt and important notices to the license
00017 *  from the author is found in LICENSE.txt distributed with these scripts.
00018 *
00019 *
00020 *  This script is distributed in the hope that it will be useful,
00021 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00022 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00023 *  GNU General Public License for more details.
00024 *
00025 *  This copyright notice MUST APPEAR in all copies of the script!
00026 ***************************************************************/
00052 unset($MCONF);
00053 require ('conf.php');
00054 require ($BACK_PATH.'init.php');
00055 require ($BACK_PATH.'template.php');
00056 $LANG->includeLLFile('EXT:lang/locallang_mod_help_about.xml');
00057 $BE_USER->modAccess($MCONF,1);
00058 
00059 
00060 
00061 
00062 
00063 
00064 
00065 
00073 class SC_mod_help_about_index {
00074 
00075                 // Internal, dynamic:
00076         var $MCONF=array();
00077         var $MOD_MENU=array();
00078         var $MOD_SETTINGS=array();
00079         var $content;
00080 
00081 
00082 
00083 
00091         function main() {
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 &#169; 1998-2004', 'Kasper Sk&#229;rh&#248;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         }
00119 
00125         function printContent() {
00126                 echo $this->content;
00127         }
00128 }
00129 
00130 // Include extension?
00131 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/mod/help/about/index.php'])  {
00132         include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/mod/help/about/index.php']);
00133 }
00134 
00135 
00136 
00137 
00138 
00139 
00140 
00141 
00142 
00143 
00144 
00145 
00146 // Make instance:
00147 $SOBE = t3lib_div::makeInstance('SC_mod_help_about_index');
00148 $SOBE->main();
00149 $SOBE->printContent();
00150 ?>


Généré par Les experts TYPO3 avec  doxygen 1.4.6