<?php include_once '../doc-typo3-funcs.php'; $doxygen_vars = array( "title" => "TYPO3 4.0.1: typo3_src-4.0.1/typo3/mod/help/about/index.php Source File", "datetime" => "Sat Dec 2 19:22:16 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?> <!-- Generated by Doxygen 1.4.6 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="nav"> <a class="el" href="dir_c8daf1ad746050abf985cc546c89e248.html">typo3_src-4.0.1</a> » <a class="el" href="dir_18071ae4545d8b3e0364d30c0659c74a.html">typo3</a> » <a class="el" href="dir_043f73deddcbf30ebd8272920411d69b.html">mod</a> » <a class="el" href="dir_430b06ec7c1432aa5d5b3b95a9710e41.html">help</a> » <a class="el" href="dir_b5d0bfc5f5ec5eeccbe69f2dee63249d.html">about</a></div> <h1>index.php</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <?php <a name="l00002"></a>00002 <span class="comment">/***************************************************************</span> <a name="l00003"></a>00003 <span class="comment">* Copyright notice</span> <a name="l00004"></a>00004 <span class="comment">*</span> <a name="l00005"></a>00005 <span class="comment">* (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)</span> <a name="l00006"></a>00006 <span class="comment">* All rights reserved</span> <a name="l00007"></a>00007 <span class="comment">*</span> <a name="l00008"></a>00008 <span class="comment">* This script is part of the TYPO3 project. The TYPO3 project is</span> <a name="l00009"></a>00009 <span class="comment">* free software; you can redistribute it and/or modify</span> <a name="l00010"></a>00010 <span class="comment">* it under the terms of the GNU General Public License as published by</span> <a name="l00011"></a>00011 <span class="comment">* the Free Software Foundation; either version 2 of the License, or</span> <a name="l00012"></a>00012 <span class="comment">* (at your option) any later version.</span> <a name="l00013"></a>00013 <span class="comment">*</span> <a name="l00014"></a>00014 <span class="comment">* The GNU General Public License can be found at</span> <a name="l00015"></a>00015 <span class="comment">* http://www.gnu.org/copyleft/gpl.html.</span> <a name="l00016"></a>00016 <span class="comment">* A copy is found in the textfile GPL.txt and important notices to the license</span> <a name="l00017"></a>00017 <span class="comment">* from the author is found in LICENSE.txt distributed with these scripts.</span> <a name="l00018"></a>00018 <span class="comment">*</span> <a name="l00019"></a>00019 <span class="comment">*</span> <a name="l00020"></a>00020 <span class="comment">* This script is distributed in the hope that it will be useful,</span> <a name="l00021"></a>00021 <span class="comment">* but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00022"></a>00022 <span class="comment">* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> <a name="l00023"></a>00023 <span class="comment">* GNU General Public License for more details.</span> <a name="l00024"></a>00024 <span class="comment">*</span> <a name="l00025"></a>00025 <span class="comment">* This copyright notice MUST APPEAR in all copies of the script!</span> <a name="l00026"></a>00026 <span class="comment">***************************************************************/</span> <a name="l00052"></a>00052 unset($MCONF); <a name="l00053"></a>00053 require ('conf.php'); <a name="l00054"></a>00054 require ($BACK_PATH.'init.php'); <a name="l00055"></a>00055 require ($BACK_PATH.'<span class="keyword">template</span>.php'); <a name="l00056"></a>00056 $LANG->includeLLFile('EXT:lang/locallang_mod_help_about.xml'); <a name="l00057"></a>00057 $BE_USER->modAccess($MCONF,1); <a name="l00058"></a>00058 <a name="l00059"></a>00059 <a name="l00060"></a>00060 <a name="l00061"></a>00061 <a name="l00062"></a>00062 <a name="l00063"></a>00063 <a name="l00064"></a>00064 <a name="l00065"></a>00065 <a name="l00073"></a><a class="code" href="classSC__mod__help__about__index.html">00073</a> <span class="keyword">class </span><a class="code" href="classSC__mod__help__about__index.html">SC_mod_help_about_index</a> { <a name="l00074"></a>00074 <a name="l00075"></a>00075 <span class="comment">// Internal, dynamic:</span> <a name="l00076"></a><a class="code" href="classSC__mod__help__about__index.html#be07b7a068e4881cc0a311b8f4f1cb91">00076</a> var <a class="code" href="classSC__mod__help__about__index.html#be07b7a068e4881cc0a311b8f4f1cb91">$MCONF</a>=array(); <a name="l00077"></a><a class="code" href="classSC__mod__help__about__index.html#b6208f3aced7741e14c61364e2517831">00077</a> var <a class="code" href="classSC__mod__help__about__index.html#b6208f3aced7741e14c61364e2517831">$MOD_MENU</a>=array(); <a name="l00078"></a><a class="code" href="classSC__mod__help__about__index.html#094491e32e845f87db382afce9761ef0">00078</a> var <a class="code" href="classSC__mod__help__about__index.html#094491e32e845f87db382afce9761ef0">$MOD_SETTINGS</a>=array(); <a name="l00079"></a><a class="code" href="classSC__mod__help__about__index.html#e736f81daf374ec8ec5744afa6565cb9">00079</a> var <a class="code" href="classSC__mod__help__about__index.html#e736f81daf374ec8ec5744afa6565cb9">$content</a>; <a name="l00080"></a>00080 <a name="l00081"></a>00081 <a name="l00082"></a>00082 <a name="l00083"></a>00083 <a name="l00091"></a><a class="code" href="classSC__mod__help__about__index.html#f36088202af8acbe261dd61a00bde5bd">00091</a> function <a class="code" href="classSC__mod__help__about__index.html#f36088202af8acbe261dd61a00bde5bd">main</a>() { <a name="l00092"></a>00092 global $TBE_TEMPLATE,$LANG,$BACK_PATH; <a name="l00093"></a>00093 <a name="l00094"></a>00094 $this->MCONF = $GLOBALS['MCONF']; <a name="l00095"></a>00095 <a name="l00096"></a>00096 <span class="comment">// **************************</span> <a name="l00097"></a>00097 <span class="comment">// Main</span> <a name="l00098"></a>00098 <span class="comment">// **************************</span> <a name="l00099"></a>00099 <span class="preprocessor"> #$TBE_TEMPLATE->bgColor = '#cccccc';</span> <a name="l00100"></a>00100 <span class="preprocessor"></span> $TBE_TEMPLATE->backPath = $GLOBALS['BACK_PATH']; <a name="l00101"></a>00101 $TBE_TEMPLATE->docType = 'xhtml_trans'; <a name="l00102"></a>00102 $this->content.= $TBE_TEMPLATE->startPage('About'); <a name="l00103"></a>00103 <a name="l00104"></a>00104 $minorText = sprintf($LANG->getLL('minor'), 'TYPO3 Ver. '.htmlspecialchars(TYPO3_version).', Copyright &copy; '.htmlspecialchars(TYPO3_copyright_year), 'Kasper Sk&aring;rh&oslash;j'); <a name="l00105"></a>00105 <a name="l00106"></a>00106 <a class="code" href="classSC__mod__help__about__index.html#e736f81daf374ec8ec5744afa6565cb9">$content</a>=' <a name="l00107"></a>00107 <div <span class="keywordtype">id</span>=<span class="stringliteral">"typo3-mod-help-about-index-php-outer"</span>> <a name="l00108"></a>00108 <img src=<span class="stringliteral">"'.$BACK_PATH.'gfx/typo3logo.gif"</span> width=<span class="stringliteral">"123"</span> height=<span class="stringliteral">"34"</span> vspace=<span class="stringliteral">"10"</span> alt=<span class="stringliteral">"TYPO3 logo"</span> /> <a name="l00109"></a>00109 <div <span class="keywordtype">id</span>=<span class="stringliteral">"typo3-mod-help-about-index-php-inner"</span>> <a name="l00110"></a>00110 <h2>TYPO3 Information</h2> <a name="l00111"></a>00111 <h3>'.$LANG->getLL('welcome',1).'</h3> <a name="l00112"></a>00112 <p>'.$minorText.'</p> <a name="l00113"></a>00113 </div> <a name="l00114"></a>00114 </div> <a name="l00115"></a>00115 '; <a name="l00116"></a>00116 $this->content.= $content; <a name="l00117"></a>00117 $this->content.= $TBE_TEMPLATE->endPage(); <a name="l00118"></a>00118 } <a name="l00119"></a>00119 <a name="l00125"></a><a class="code" href="classSC__mod__help__about__index.html#49a0d213316943f67a803850aa9a1974">00125</a> function <a class="code" href="classSC__mod__help__about__index.html#49a0d213316943f67a803850aa9a1974">printContent</a>() { <a name="l00126"></a>00126 echo $this->content; <a name="l00127"></a>00127 } <a name="l00128"></a>00128 } <a name="l00129"></a>00129 <a name="l00130"></a>00130 <span class="comment">// Include extension?</span> <a name="l00131"></a>00131 <span class="keywordflow">if</span> (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/mod/help/about/index.php']) { <a name="l00132"></a>00132 include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/mod/help/about/index.php']); <a name="l00133"></a>00133 } <a name="l00134"></a>00134 <a name="l00135"></a>00135 <a name="l00136"></a>00136 <a name="l00137"></a>00137 <a name="l00138"></a>00138 <a name="l00139"></a>00139 <a name="l00140"></a>00140 <a name="l00141"></a>00141 <a name="l00142"></a>00142 <a name="l00143"></a>00143 <a name="l00144"></a>00144 <a name="l00145"></a>00145 <a name="l00146"></a>00146 <span class="comment">// Make instance:</span> <a name="l00147"></a>00147 $SOBE = <a class="code" href="classt3lib__div.html#b47f8a8e8be44b79a0b8064dcd427bc1">t3lib_div::makeInstance</a>('<a class="code" href="classSC__mod__help__about__index.html">SC_mod_help_about_index</a>'); <a name="l00148"></a>00148 $SOBE->main(); <a name="l00149"></a>00149 $SOBE->printContent(); <a name="l00150"></a>00150 ?> </pre></div><?php include_once '../doc-typo3-funcs.php'; get_footer(); ?>