<?php include_once '../doc-typo3-funcs.php'; $doxygen_vars = array( "title" => "TYPO3 4.0.1: typo3_src-4.0.1/typo3/alt_file_navframe.php Source File", "datetime" => "Sat Dec 2 19:22:20 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></div> <h1>alt_file_navframe.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="l00058"></a>00058 $BACK_PATH=''; <a name="l00059"></a>00059 require ('init.php'); <a name="l00060"></a>00060 require ('<span class="keyword">template</span>.php'); <a name="l00061"></a>00061 require_once (PATH_t3lib.'<span class="keyword">class</span>.t3lib_foldertree.php'); <a name="l00062"></a>00062 <a name="l00063"></a>00063 <a name="l00072"></a><a class="code" href="classlocalFolderTree.html">00072</a> <span class="keyword">class </span><a class="code" href="classlocalFolderTree.html">localFolderTree</a> <span class="keyword">extends</span> <a class="code" href="classt3lib__folderTree.html">t3lib_folderTree</a> { <a name="l00073"></a>00073 <a name="l00074"></a><a class="code" href="classlocalFolderTree.html#d5c079814730ba5310cd1d3c069fd5d3">00074</a> var <a class="code" href="classlocalFolderTree.html#d5c079814730ba5310cd1d3c069fd5d3">$ext_IconMode</a>; <a name="l00075"></a>00075 <a name="l00081"></a><a class="code" href="classlocalFolderTree.html#a47f1c2f1b6c6d725b72be0689e349ff">00081</a> function <a class="code" href="classlocalFolderTree.html#a47f1c2f1b6c6d725b72be0689e349ff">localFolderTree</a>() { <a name="l00082"></a>00082 parent::t3lib_folderTree(); <a name="l00083"></a>00083 } <a name="l00084"></a>00084 <a name="l00092"></a><a class="code" href="classlocalFolderTree.html#a097fc30b9e4689eeb1c3ac9065d2657">00092</a> function <a class="code" href="classlocalFolderTree.html#a097fc30b9e4689eeb1c3ac9065d2657">wrapIcon</a>($icon,&$row) { <a name="l00093"></a>00093 <a name="l00094"></a>00094 <span class="comment">// Add title attribute to input icon tag</span> <a name="l00095"></a>00095 $theFolderIcon = $this-><a class="code" href="classt3lib__treeView.html#0b387d1f3456da38e312b249fd2be85d">addTagAttributes</a>($icon,($this->titleAttrib ? $this->titleAttrib.'=<span class="stringliteral">"'.$this->getTitleAttrib($row).'"</span>' : '')); <a name="l00096"></a>00096 <a name="l00097"></a>00097 <span class="comment">// Wrap icon in click-menu link.</span> <a name="l00098"></a>00098 <span class="keywordflow">if</span> (!$this->ext_IconMode) { <a name="l00099"></a>00099 $theFolderIcon = $GLOBALS['TBE_TEMPLATE']->wrapClickMenuOnIcon($theFolderIcon,$row['path'],'',0); <a name="l00100"></a>00100 } elseif (!strcmp($this->ext_IconMode,'titlelink')) { <a name="l00101"></a>00101 $aOnClick = '<span class="keywordflow">return</span> jumpTo(\''.$this-><a class="code" href="classt3lib__folderTree.html#b4dda3fe8f95376ce939c4f53d24a2a4">getJumpToParam</a>($row).<span class="charliteral">'\'</span>,<span class="keyword">this</span>,\''.$this->domIdPrefix.$this->getId($row).<span class="charliteral">'\'</span>,'.$this->bank.');'; <a name="l00102"></a>00102 $theFolderIcon='<a href=<span class="stringliteral">"#"</span> onclick=<span class="stringliteral">"'.htmlspecialchars($aOnClick).'"</span>>'.$theFolderIcon.'</a>'; <a name="l00103"></a>00103 } <a name="l00104"></a>00104 <span class="comment">// Wrap icon in a drag/drop span.</span> <a name="l00105"></a>00105 $spanOnDrag = htmlspecialchars('<span class="keywordflow">return</span> dragElement(<span class="stringliteral">"'.$this->getJumpToParam($row).'"</span>, <span class="stringliteral">"'.$row['uid'].'"</span>)'); <a name="l00106"></a>00106 $spanOnDrop = htmlspecialchars('<span class="keywordflow">return</span> dropElement(<span class="stringliteral">"'.$this->getJumpToParam($row).'"</span>)'); <a name="l00107"></a>00107 $dragDropIcon = '<span <span class="keywordtype">id</span>=<span class="stringliteral">"dragIconID_'.$row['uid'].'"</span> ondragstart=<span class="stringliteral">"'.$spanOnDrag.'"</span> onmousedown=<span class="stringliteral">"'.$spanOnDrag.'"</span> onmouseup=<span class="stringliteral">"'.$spanOnDrop.'"</span>>'.$theFolderIcon.'</span>'; <a name="l00108"></a>00108 <a name="l00109"></a>00109 <span class="keywordflow">return</span> $dragDropIcon; <a name="l00110"></a>00110 } <a name="l00111"></a>00111 <a name="l00121"></a><a class="code" href="classlocalFolderTree.html#e8f511d174655d671581851d6c839dab">00121</a> function <a class="code" href="classlocalFolderTree.html#e8f511d174655d671581851d6c839dab">wrapTitle</a>(<a class="code" href="classt3lib__treeView.html#c87cf2c9099a38b0d2600b020d7a1f0e">$title</a>,$row,<a class="code" href="classt3lib__treeView.html#efd32bf020d1465e78b98c3591faca65">$bank</a>=0) { <a name="l00122"></a>00122 $aOnClick = '<span class="keywordflow">return</span> jumpTo(\''.$this-><a class="code" href="classt3lib__folderTree.html#b4dda3fe8f95376ce939c4f53d24a2a4">getJumpToParam</a>($row).<span class="charliteral">'\'</span>,<span class="keyword">this</span>,\''.$this->domIdPrefix.$this->getId($row).<span class="charliteral">'\'</span>,'.$bank.');'; <a name="l00123"></a>00123 $CSM = ''; <a name="l00124"></a>00124 <span class="keywordflow">if</span> ($GLOBALS['TYPO3_CONF_VARS']['BE']['useOnContextMenuHandler']) { <a name="l00125"></a>00125 $CSM = ' oncontextmenu=<span class="stringliteral">"'.htmlspecialchars($GLOBALS['TBE_TEMPLATE']->wrapClickMenuOnIcon('',$row['path'],'',0,'&bank='.$this->bank,'',TRUE)).'"</span>'; <a name="l00126"></a>00126 } <a name="l00127"></a>00127 $theFolderTitle='<a href=<span class="stringliteral">"#"</span> onclick=<span class="stringliteral">"'.htmlspecialchars($aOnClick).'"</span>'.$CSM.<span class="charliteral">'>'</span>.<a class="code" href="classt3lib__treeView.html#c87cf2c9099a38b0d2600b020d7a1f0e">$title</a>.'</a>'; <a name="l00128"></a>00128 <a name="l00129"></a>00129 <span class="comment">// Wrap title in a drag/drop span.</span> <a name="l00130"></a>00130 $spanOnDrag = htmlspecialchars('<span class="keywordflow">return</span> dragElement(<span class="stringliteral">"'.$this->getJumpToParam($row).'"</span>,<span class="stringliteral">"'.$row['uid'].'"</span>)'); <a name="l00131"></a>00131 $spanOnDrop = htmlspecialchars('<span class="keywordflow">return</span> dropElement(<span class="stringliteral">"'.$this->getJumpToParam($row).'"</span>)'); <a name="l00132"></a>00132 $dragDropTitle = '<span <span class="keywordtype">id</span>=<span class="stringliteral">"dragTitleID_'.$row['uid'].'"</span> ondragstart=<span class="stringliteral">"'.$spanOnDrag.'"</span> onmousedown=<span class="stringliteral">"'.$spanOnDrag.'"</span> onmouseup=<span class="stringliteral">"'.$spanOnDrop.'"</span>>'.$theFolderTitle.'</span>'; <a name="l00133"></a>00133 <span class="keywordflow">return</span> $dragDropTitle; <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="l00146"></a><a class="code" href="classSC__alt__file__navframe.html">00146</a> <span class="keyword">class </span><a class="code" href="classSC__alt__file__navframe.html">SC_alt_file_navframe</a> { <a name="l00147"></a>00147 <a name="l00148"></a>00148 <span class="comment">// Internal, dynamic:</span> <a name="l00149"></a><a class="code" href="classSC__alt__file__navframe.html#87a680ce2fd874abc1435cee841dbab9">00149</a> var <a class="code" href="classSC__alt__file__navframe.html#87a680ce2fd874abc1435cee841dbab9">$content</a>; <span class="comment">// Content accumulates in this variable.</span> <a name="l00150"></a><a class="code" href="classSC__alt__file__navframe.html#1c95812f455d0bf14e470b033275eef8">00150</a> var <a class="code" href="classSC__alt__file__navframe.html#1c95812f455d0bf14e470b033275eef8">$foldertree</a>; <span class="comment">// Folder tree object.</span> <a name="l00151"></a><a class="code" href="classSC__alt__file__navframe.html#8ed69ace221eef24948f35938ba0be02">00151</a> var <a class="code" href="classSC__alt__file__navframe.html#8ed69ace221eef24948f35938ba0be02">$doc</a>; <span class="comment">// Template object.</span> <a name="l00152"></a>00152 <a name="l00153"></a>00153 <span class="comment">// Internal, static: GPvar:</span> <a name="l00154"></a><a class="code" href="classSC__alt__file__navframe.html#34777adf7a85c58c8f4d2586632e4758">00154</a> var <a class="code" href="classSC__alt__file__navframe.html#34777adf7a85c58c8f4d2586632e4758">$currentSubScript</a>; <a name="l00155"></a><a class="code" href="classSC__alt__file__navframe.html#8292fd0e19fe25ad634dc19092580168">00155</a> var <a class="code" href="classSC__alt__file__navframe.html#8292fd0e19fe25ad634dc19092580168">$cMR</a>; <a name="l00156"></a>00156 <a name="l00157"></a>00157 <a name="l00163"></a><a class="code" href="classSC__alt__file__navframe.html#b9cc63dc7857c0bd7ce5825d6b2b51fb">00163</a> function <a class="code" href="classSC__alt__file__navframe.html#b9cc63dc7857c0bd7ce5825d6b2b51fb">init</a>() { <a name="l00164"></a>00164 global $BE_USER,$BACK_PATH,$CLIENT; <a name="l00165"></a>00165 <a name="l00166"></a>00166 <span class="comment">// Setting GPvars:</span> <a name="l00167"></a>00167 $this->currentSubScript = <a class="code" href="classt3lib__div.html#016d2190758279b2dbb953826c690118">t3lib_div::_GP</a>('currentSubScript'); <a name="l00168"></a>00168 $this->cMR = <a class="code" href="classt3lib__div.html#016d2190758279b2dbb953826c690118">t3lib_div::_GP</a>('cMR'); <a name="l00169"></a>00169 <a name="l00170"></a>00170 <span class="comment">// Create folder tree object:</span> <a name="l00171"></a>00171 $this->foldertree = <a class="code" href="classt3lib__div.html#b47f8a8e8be44b79a0b8064dcd427bc1">t3lib_div::makeInstance</a>('<a class="code" href="classlocalFolderTree.html">localFolderTree</a>'); <a name="l00172"></a>00172 $this->foldertree->ext_IconMode = $BE_USER->getTSConfigVal('options.folderTree.disableIconLinkToContextmenu'); <a name="l00173"></a>00173 $this->foldertree->thisScript = 'alt_file_navframe.php'; <a name="l00174"></a>00174 <a name="l00175"></a>00175 <span class="comment">// Setting highlight mode:</span> <a name="l00176"></a>00176 $this->doHighlight = !$BE_USER->getTSConfigVal('options.pageTree.disableTitleHighlight'); <a name="l00177"></a>00177 <a name="l00178"></a>00178 <span class="comment">// Create template object:</span> <a name="l00179"></a>00179 $this->doc = <a class="code" href="classt3lib__div.html#b47f8a8e8be44b79a0b8064dcd427bc1">t3lib_div::makeInstance</a>('<span class="keyword">template</span>'); <a name="l00180"></a>00180 $this->doc->docType='xhtml_trans'; <a name="l00181"></a>00181 <a name="l00182"></a>00182 <span class="comment">// Setting backPath</span> <a name="l00183"></a>00183 $this->doc->backPath = $BACK_PATH; <a name="l00184"></a>00184 <a name="l00185"></a>00185 <span class="comment">// Setting JavaScript for menu.</span> <a name="l00186"></a>00186 $this->doc->JScode=$this->doc->wrapScriptTags( <a name="l00187"></a>00187 ($this->currentSubScript?'top.currentSubScript=unescape(<span class="stringliteral">"'.rawurlencode($this->currentSubScript).'"</span>);<span class="charliteral">':'</span>').' <a name="l00188"></a>00188 <a name="l00189"></a>00189 <span class="comment">// Function, loading the list frame from navigation tree:</span> <a name="l00190"></a>00190 function jumpTo(<span class="keywordtype">id</span>,linkObj,highLightID,bank) { <span class="comment">//</span> <a name="l00191"></a>00191 var theUrl = top.TS.PATH_typo3+top.currentSubScript+<span class="stringliteral">"?id="</span>+<span class="keywordtype">id</span>; <a name="l00192"></a>00192 top.fsMod.currentBank = bank; <a name="l00193"></a>00193 <a name="l00194"></a>00194 if (top.condensedMode) { <a name="l00195"></a>00195 top.content.location.href=theUrl; <a name="l00196"></a>00196 } <span class="keywordflow">else</span> { <a name="l00197"></a>00197 parent.list_frame.location.href=theUrl; <a name="l00198"></a>00198 } <a name="l00199"></a>00199 <a name="l00200"></a>00200 '.($this->doHighlight?'hilight_row(<span class="stringliteral">"file"</span>,highLightID+<span class="stringliteral">"_"</span>+bank);<span class="charliteral">':'</span>').' <a name="l00201"></a>00201 '.(!$CLIENT['FORMSTYLE'] ? '' : '<span class="keywordflow">if</span> (linkObj) {linkObj.blur();}').' <a name="l00202"></a>00202 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00203"></a>00203 } <a name="l00204"></a>00204 <a name="l00205"></a>00205 <a name="l00206"></a>00206 <span class="comment">// Call this function, refresh_nav(), from another script in the backend if you want to refresh the navigation frame (eg. after having changed a page title or moved pages etc.)</span> <a name="l00207"></a>00207 <span class="comment">// See t3lib_BEfunc::getSetUpdateSignal()</span> <a name="l00208"></a>00208 function refresh_nav() { <span class="comment">//</span> <a name="l00209"></a>00209 window.setTimeout(<span class="stringliteral">"_refresh_nav();"</span>,0); <a name="l00210"></a>00210 } <a name="l00211"></a>00211 function _refresh_nav() { <span class="comment">//</span> <a name="l00212"></a>00212 window.location.href=<span class="stringliteral">"'.$this->pagetree->thisScript.'?unique='.time().'"</span>; <a name="l00213"></a>00213 } <a name="l00214"></a>00214 <a name="l00215"></a>00215 <span class="comment">// Highlighting rows in the folder tree:</span> <a name="l00216"></a>00216 function hilight_row(frameSetModule,highLightID) { <span class="comment">//</span> <a name="l00217"></a>00217 <a name="l00218"></a>00218 <span class="comment">// Remove old:</span> <a name="l00219"></a>00219 theObj = document.getElementById(top.fsMod.navFrameHighlightedID[frameSetModule]); <a name="l00220"></a>00220 <span class="keywordflow">if</span> (theObj) { <a name="l00221"></a>00221 theObj.style.backgroundColor=<span class="stringliteral">""</span>; <a name="l00222"></a>00222 } <a name="l00223"></a>00223 <a name="l00224"></a>00224 <span class="comment">// Set new:</span> <a name="l00225"></a>00225 top.fsMod.navFrameHighlightedID[frameSetModule] = highLightID; <a name="l00226"></a>00226 theObj = document.getElementById(highLightID); <a name="l00227"></a>00227 <span class="keywordflow">if</span> (theObj) { <a name="l00228"></a>00228 theObj.style.backgroundColor=<span class="stringliteral">"'.t3lib_div::modifyHTMLColorAll($this->doc->bgColor,-20).'"</span>; <a name="l00229"></a>00229 } <a name="l00230"></a>00230 } <a name="l00231"></a>00231 <a name="l00232"></a>00232 '.($this->cMR?<span class="stringliteral">"jumpTo(top.fsMod.recentIds['file'],'');"</span>:'').'; <a name="l00233"></a>00233 '); <a name="l00234"></a>00234 <a name="l00235"></a>00235 <span class="comment">// Click menu code is added:</span> <a name="l00236"></a>00236 $CMparts=$this->doc->getContextMenuCode(); <a name="l00237"></a>00237 $this->doc->bodyTagAdditions = $CMparts[1]; <a name="l00238"></a>00238 $this->doc->JScode.=$CMparts[0]; <a name="l00239"></a>00239 $this->doc->postCode.= $CMparts[2]; <a name="l00240"></a>00240 <a name="l00241"></a>00241 <span class="comment">// Drag and Drop code is added:</span> <a name="l00242"></a>00242 $DDparts=$this->doc->getDragDropCode('folders'); <a name="l00243"></a>00243 <span class="comment">// ignore the $DDparts[1] for now</span> <a name="l00244"></a>00244 $this->doc->JScode.= $DDparts[0]; <a name="l00245"></a>00245 $this->doc->postCode.= $DDparts[2]; <a name="l00246"></a>00246 } <a name="l00247"></a>00247 <a name="l00253"></a><a class="code" href="classSC__alt__file__navframe.html#65e8158ac4a816ff61ebcad6626bce10">00253</a> function main() { <a name="l00254"></a>00254 global $LANG,$CLIENT; <a name="l00255"></a>00255 <a name="l00256"></a>00256 <span class="comment">// Produce browse-tree:</span> <a name="l00257"></a>00257 $tree = $this->foldertree->getBrowsableTree(); <a name="l00258"></a>00258 <a name="l00259"></a>00259 $this->content = ''; <a name="l00260"></a>00260 $this->content.= $this->doc->startPage('Folder tree'); <a name="l00261"></a>00261 $this->content.= $tree; <a name="l00262"></a>00262 $refreshUrl = <a class="code" href="classt3lib__div.html#cd7ecd00954e9a6b0c14eb23cf875d3f">t3lib_div::getIndpEnv</a>('REQUEST_URI'); <a name="l00263"></a>00263 $this->content.= ' <a name="l00264"></a>00264 <p <span class="keyword">class</span>=<span class="stringliteral">"c-refresh"</span>> <a name="l00265"></a>00265 <a href=<span class="stringliteral">"'.htmlspecialchars($refreshUrl).'"</span>>'. <a name="l00266"></a>00266 '<img'.t3lib_iconWorks::skinImg('<span class="charliteral">','</span>gfx/refresh_n.gif<span class="charliteral">','</span>width=<span class="stringliteral">"14"</span> height=<span class="stringliteral">"14"</span>').' title=<span class="stringliteral">"'.$LANG->sL('LLL:EXT:lang/locallang_core.php:labels.refresh',1).'"</span> alt=<span class="stringliteral">""</span> />'. <a name="l00267"></a>00267 '</a><a href=<span class="stringliteral">"'.htmlspecialchars($refreshUrl).'"</span>>'. <a name="l00268"></a>00268 $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.refresh',1).'</a> <a name="l00269"></a>00269 </p> <a name="l00270"></a>00270 <br />'; <a name="l00271"></a>00271 $this->content.= <a class="code" href="classt3lib__BEfunc.html#a235b246dec429e439742b1fc76c9d97">t3lib_BEfunc::cshItem</a>('xMOD_csh_corebe', 'filetree', $GLOBALS['BACK_PATH']); <a name="l00272"></a>00272 <a name="l00273"></a>00273 <span class="comment">// Adding highlight - JavaScript</span> <a name="l00274"></a>00274 <span class="keywordflow">if</span> ($this->doHighlight) $this->content .=$this->doc->wrapScriptTags(' <a name="l00275"></a>00275 hilight_row(<span class="stringliteral">""</span>,top.fsMod.navFrameHighlightedID[<span class="stringliteral">"file"</span>]); <a name="l00276"></a>00276 '); <a name="l00277"></a>00277 } <a name="l00278"></a>00278 <a name="l00284"></a><a class="code" href="classSC__alt__file__navframe.html#52b1e4cdd59e571d83abdcc0f672f91e">00284</a> function printContent() { <a name="l00285"></a>00285 $this->content.= $this->doc->endPage(); <a name="l00286"></a>00286 $this->content = $this->doc->insertStylesAndJS($this->content); <a name="l00287"></a>00287 echo $this->content; <a name="l00288"></a>00288 } <a name="l00289"></a>00289 } <a name="l00290"></a>00290 <a name="l00291"></a>00291 <span class="comment">// Include extension?</span> <a name="l00292"></a>00292 <span class="keywordflow">if</span> (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/alt_file_navframe.php']) { <a name="l00293"></a>00293 include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/alt_file_navframe.php']); <a name="l00294"></a>00294 } <a name="l00295"></a>00295 <a name="l00296"></a>00296 <a name="l00297"></a>00297 <a name="l00298"></a>00298 <a name="l00299"></a>00299 <a name="l00300"></a>00300 <a name="l00301"></a>00301 <a name="l00302"></a>00302 <a name="l00303"></a>00303 <a name="l00304"></a>00304 <a name="l00305"></a>00305 <a name="l00306"></a>00306 <a name="l00307"></a>00307 <span class="comment">// Make instance:</span> <a name="l00308"></a>00308 $SOBE = <a class="code" href="classt3lib__div.html#b47f8a8e8be44b79a0b8064dcd427bc1">t3lib_div::makeInstance</a>('<a class="code" href="classSC__alt__file__navframe.html">SC_alt_file_navframe</a>'); <a name="l00309"></a>00309 $SOBE->init(); <a name="l00310"></a>00310 $SOBE->main(); <a name="l00311"></a>00311 $SOBE->printContent(); <a name="l00312"></a>00312 ?> </pre></div><?php include_once '../doc-typo3-funcs.php'; get_footer(); ?>