Documentation TYPO3 par Ameos |
00001 <?php 00002 /*************************************************************** 00003 * Copyright notice 00004 * 00005 * (c) 1999-2005 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 ***************************************************************/ 00030 unset($MCONF); 00031 require ("conf.php"); 00032 require ($BACK_PATH."init.php"); 00033 require ($BACK_PATH."template.php"); 00034 00035 $BE_USER->modAccess($MCONF,1); 00036 00037 00038 00039 // *************************** 00040 // Script Classes 00041 // *************************** 00042 class SC_mod_help_quick_index { 00043 var $MCONF=array(); 00044 var $MOD_MENU=array(); 00045 var $MOD_SETTINGS=array(); 00046 00047 function main() { 00048 global $BE_USER,$LANG,$BACK_PATH,$TCA_DESCR,$TCA,$CLIENT,$TYPO3_CONF_VARS; 00049 $this->MCONF = $GLOBALS["MCONF"]; 00050 00051 // ********************** 00052 // *** Online Support *** 00053 // ********************** 00054 // This document redirects to the TYPO3-website for usersupport. 00055 00056 00057 if (substr($LANG->typo3_help_url,0,4)=="http") { 00058 Header("Location: ".$LANG->typo3_help_url); 00059 } else { 00060 Header("Location: ".t3lib_div::locationHeaderUrl($BACK_PATH.$LANG->typo3_help_url."index.htm")); 00061 } 00062 } 00063 } 00064 00065 // Include extension? 00066 if (defined("TYPO3_MODE") && $TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/quickhelp/quick/index.php"]) { 00067 include_once($TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/quickhelp/quick/index.php"]); 00068 } 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 // Make instance: 00082 $SOBE = t3lib_div::makeInstance("SC_mod_help_quick_index"); 00083 $SOBE->main(); 00084 ?>