|
TYPO3 API
SVNRelease
|
00001 <?php 00002 /*************************************************************** 00003 * Copyright notice 00004 * 00005 * (c) 1999-2011 Kasper Skårhøj (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 ***************************************************************/ 00027 /** 00028 * Shows information about a database or file item 00029 * 00030 * $Id: show_item.php 10121 2011-01-18 20:15:30Z ohader $ 00031 * Revised for TYPO3 3.7 May/2004 by Kasper Skårhøj 00032 * 00033 * @author Kasper Skårhøj <kasperYYYY@typo3.com> 00034 */ 00035 /** 00036 * [CLASS/FUNCTION INDEX of SCRIPT] 00037 * 00038 * 00039 * 00040 * 84: class transferData extends t3lib_transferData 00041 * 101: function regItem($table, $id, $field, $content) 00042 * 00043 * 00044 * 135: class SC_show_item 00045 * 160: function init() 00046 * 225: function main() 00047 * 273: function renderDBInfo() 00048 * 327: function renderFileInfo($returnLinkTag) 00049 * 449: function printContent() 00050 * 462: function makeRef($table,$ref) 00051 * 524: function makeRefFrom($table,$ref) 00052 * 00053 * TOTAL FUNCTIONS: 8 00054 * (This index is automatically created/updated by the extension "extdeveval") 00055 * 00056 */ 00057 00058 00059 $BACK_PATH = ''; 00060 require($BACK_PATH.'init.php'); 00061 require($BACK_PATH.'template.php'); 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 /** 00075 * Extension of transfer data class 00076 * 00077 * @author Kasper Skårhøj <kasperYYYY@typo3.com> 00078 * @package TYPO3 00079 * @subpackage core 00080 */ 00081 class transferData extends t3lib_transferData { 00082 00083 var $formname = 'loadform'; 00084 var $loading = 1; 00085 00086 // Extra for show_item.php: 00087 var $theRecord = Array(); 00088 00089 /** 00090 * Register item function. 00091 * 00092 * @param string Table name 00093 * @param integer Record uid 00094 * @param string Field name 00095 * @param string Content string. 00096 * @return void 00097 */ 00098 function regItem($table, $id, $field, $content) { 00099 t3lib_div::loadTCA($table); 00100 $config = $GLOBALS['TCA'][$table]['columns'][$field]['config']; 00101 switch($config['type']) { 00102 case 'input': 00103 if (isset($config['checkbox']) && $content==$config['checkbox']) {$content=''; break;} 00104 if (t3lib_div::inList($config['eval'],'date')) {$content = Date($GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'],$content); } 00105 break; 00106 case 'group': 00107 break; 00108 case 'select': 00109 break; 00110 } 00111 $this->theRecord[$field]=$content; 00112 } 00113 } 00114 00115 00116 00117 00118 00119 00120 00121 00122 00123 00124 00125 /** 00126 * Script Class for showing information about an item. 00127 * 00128 * @author Kasper Skårhøj <kasperYYYY@typo3.com> 00129 * @package TYPO3 00130 * @subpackage core 00131 */ 00132 class SC_show_item { 00133 00134 // GET vars: 00135 var $table; // Record table (or filename) 00136 var $uid; // Record uid (or '' when filename) 00137 00138 // Internal, static: 00139 var $perms_clause; // Page select clause 00140 var $access; // If true, access to element is granted 00141 var $type; // Which type of element: "file" or "db" 00142 var $doc; // Document Template Object 00143 00144 // Internal, dynamic: 00145 var $content; // Content Accumulation 00146 var $file; // For type "file": Filename 00147 var $pageinfo; // For type "db": Set to page record of the parent page of the item set (if type="db") 00148 var $row; // For type "db": The database record row. 00149 00150 00151 /** 00152 * Initialization of the class 00153 * Will determine if table/uid GET vars are database record or a file and if the user has access to view information about the item. 00154 * 00155 * @return void 00156 */ 00157 function init() { 00158 global $BE_USER,$BACK_PATH,$TCA; 00159 00160 // Setting input variables. 00161 $this->table = t3lib_div::_GET('table'); 00162 $this->uid = t3lib_div::_GET('uid'); 00163 00164 // Initialize: 00165 $this->perms_clause = $BE_USER->getPagePermsClause(1); 00166 $this->access = 0; // Set to true if there is access to the record / file. 00167 $this->type = ''; // Sets the type, "db" or "file". If blank, nothing can be shown. 00168 00169 // Checking if the $table value is really a table and if the user has access to it. 00170 if (isset($TCA[$this->table])) { 00171 t3lib_div::loadTCA($this->table); 00172 $this->type = 'db'; 00173 $this->uid = intval($this->uid); 00174 00175 // Check permissions and uid value: 00176 if ($this->uid && $BE_USER->check('tables_select',$this->table)) { 00177 if ((string)$this->table=='pages') { 00178 $this->pageinfo = t3lib_BEfunc::readPageAccess($this->uid,$this->perms_clause); 00179 $this->access = is_array($this->pageinfo) ? 1 : 0; 00180 $this->row = $this->pageinfo; 00181 } else { 00182 $this->row = t3lib_BEfunc::getRecordWSOL($this->table, $this->uid); 00183 if ($this->row) { 00184 $this->pageinfo = t3lib_BEfunc::readPageAccess($this->row['pid'],$this->perms_clause); 00185 $this->access = is_array($this->pageinfo) ? 1 : 0; 00186 } 00187 } 00188 00189 $treatData = t3lib_div::makeInstance('t3lib_transferData'); 00190 $treatData->renderRecord($this->table, $this->uid, 0, $this->row); 00191 $cRow = $treatData->theRecord; 00192 } 00193 } else { 00194 // if the filereference $this->file is relative, we correct the path 00195 if (substr($this->table,0,3)=='../') { 00196 $this->file = PATH_site.preg_replace('/^\.\.\//','',$this->table); 00197 } else { 00198 $this->file = $this->table; 00199 } 00200 if (@is_file($this->file) && t3lib_div::isAllowedAbsPath($this->file)) { 00201 $this->type = 'file'; 00202 $this->access = 1; 00203 } 00204 } 00205 00206 // Initialize document template object: 00207 $this->doc = t3lib_div::makeInstance('template'); 00208 $this->doc->backPath = $BACK_PATH; 00209 00210 // Starting the page by creating page header stuff: 00211 $this->content.=$this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.viewItem')); 00212 $this->content.='<h3 class="t3-row-header">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.viewItem') . '</h3>'; 00213 $this->content.=$this->doc->spacer(5); 00214 } 00215 00216 /** 00217 * Main function. Will generate the information to display for the item set internally. 00218 * 00219 * @return void 00220 */ 00221 function main() { 00222 00223 if ($this->access) { 00224 $returnLink = t3lib_div::sanitizeLocalUrl(t3lib_div::_GP('returnUrl')); 00225 $returnLinkTag = $returnLink ? '<a href="' . $returnLink . '" class="typo3-goBack">' : '<a href="#" onclick="window.close();">'; 00226 00227 // render type by user func 00228 $typeRendered = false; 00229 if (is_array ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/show_item.php']['typeRendering'])) { 00230 foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/show_item.php']['typeRendering'] as $classRef) { 00231 $typeRenderObj = t3lib_div::getUserObj($classRef); 00232 if(is_object($typeRenderObj) && method_exists($typeRenderObj, 'isValid') && method_exists($typeRenderObj, 'render')) { 00233 if ($typeRenderObj->isValid($this->type, $this)) { 00234 $this->content .= $typeRenderObj->render($this->type, $this); 00235 $typeRendered = true; 00236 break; 00237 } 00238 } 00239 } 00240 } 00241 00242 // if type was not rendered use default rendering functions 00243 if(!$typeRendered) { 00244 // Branch out based on type: 00245 switch($this->type) { 00246 case 'db': 00247 $this->renderDBInfo(); 00248 break; 00249 case 'file': 00250 $this->renderFileInfo($returnLinkTag); 00251 break; 00252 } 00253 } 00254 00255 // If return Url is set, output link to go back: 00256 if (t3lib_div::sanitizeLocalUrl(t3lib_div::_GP('returnUrl'))) { 00257 $this->content = $this->doc->section('',$returnLinkTag.'<strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.goBack',1).'</strong></a><br /><br />').$this->content; 00258 00259 $this->content .= $this->doc->section('','<br />'.$returnLinkTag.'<strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.goBack',1).'</strong></a>'); 00260 } 00261 } 00262 } 00263 00264 /** 00265 * Main function. Will generate the information to display for the item set internally. 00266 * 00267 * @return void 00268 */ 00269 function renderDBInfo() { 00270 global $TCA; 00271 00272 // Print header, path etc: 00273 $code = $this->doc->getHeader($this->table,$this->row,$this->pageinfo['_thePath'],1).'<br />'; 00274 $this->content.= $this->doc->section('',$code); 00275 00276 // Initialize variables: 00277 $tableRows = Array(); 00278 $i = 0; 00279 00280 // Traverse the list of fields to display for the record: 00281 $fieldList = t3lib_div::trimExplode(',', $TCA[$this->table]['interface']['showRecordFieldList'], 1); 00282 foreach ($fieldList as $name) { 00283 $name = trim($name); 00284 if ($TCA[$this->table]['columns'][$name]) { 00285 if (!$TCA[$this->table]['columns'][$name]['exclude'] || $GLOBALS['BE_USER']->check('non_exclude_fields', $this->table . ':' . $name)) { 00286 $i++; 00287 $tableRows[] = ' 00288 <tr> 00289 <td class="t3-col-header">' . $GLOBALS['LANG']->sL(t3lib_BEfunc::getItemLabel($this->table, $name), 1) . '</td> 00290 <td>' . htmlspecialchars(t3lib_BEfunc::getProcessedValue($this->table, $name, $this->row[$name], 0, 0, FALSE, $this->row['uid'])) . '</td> 00291 </tr>'; 00292 } 00293 } 00294 } 00295 00296 // Create table from the information: 00297 $tableCode = ' 00298 <table border="0" cellpadding="0" cellspacing="0" id="typo3-showitem" class="t3-table-info"> 00299 '.implode('',$tableRows).' 00300 </table>'; 00301 $this->content.=$this->doc->section('',$tableCode); 00302 00303 // Add path and table information in the bottom: 00304 $code = ''; 00305 $code.= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.path').': '.t3lib_div::fixed_lgd_cs($this->pageinfo['_thePath'],-48).'<br />'; 00306 $code.= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.table').': '.$GLOBALS['LANG']->sL($TCA[$this->table]['ctrl']['title']).' ('.$this->table.') - UID: '.$this->uid.'<br />'; 00307 $this->content.= $this->doc->section('', $code); 00308 00309 // References: 00310 $this->content.= $this->doc->section($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.referencesToThisItem'),$this->makeRef($this->table,$this->row['uid'])); 00311 00312 // References: 00313 $this->content.= $this->doc->section($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.referencesFromThisItem'),$this->makeRefFrom($this->table,$this->row['uid'])); 00314 } 00315 00316 /** 00317 * Main function. Will generate the information to display for the item set internally. 00318 * 00319 * @param string <a> tag closing/returning. 00320 * @return void 00321 */ 00322 function renderFileInfo($returnLinkTag) { 00323 00324 // Initialize object to work on the image: 00325 $imgObj = t3lib_div::makeInstance('t3lib_stdGraphic'); 00326 $imgObj->init(); 00327 $imgObj->mayScaleUp = 0; 00328 $imgObj->absPrefix = PATH_site; 00329 00330 // Read Image Dimensions (returns false if file was not an image type, otherwise dimensions in an array) 00331 $imgInfo = ''; 00332 $imgInfo = $imgObj->getImageDimensions($this->file); 00333 00334 // File information 00335 $fI = t3lib_div::split_fileref($this->file); 00336 $ext = $fI['fileext']; 00337 00338 $code = ''; 00339 00340 // Setting header: 00341 $fileName = t3lib_iconWorks::getSpriteIconForFile($ext) . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.file', TRUE) . ':</strong> ' . $fI['file']; 00342 if (t3lib_div::isFirstPartOfStr($this->file,PATH_site)) { 00343 $code.= '<a href="../'.substr($this->file,strlen(PATH_site)).'" target="_blank">'.$fileName.'</a>'; 00344 } else { 00345 $code.= $fileName; 00346 } 00347 $code.=' <strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.filesize').':</strong> '.t3lib_div::formatSize(@filesize($this->file)).'<br /> 00348 '; 00349 if (is_array($imgInfo)) { 00350 $code.= '<strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.dimensions').':</strong> '.$imgInfo[0].'x'.$imgInfo[1].' '.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.pixels'); 00351 } 00352 $this->content.=$this->doc->section('',$code); 00353 $this->content.=$this->doc->divider(2); 00354 00355 // If the file was an image...: 00356 if (is_array($imgInfo)) { 00357 00358 $imgInfo = $imgObj->imageMagickConvert($this->file,'web','346','200m','','','',1); 00359 $imgInfo[3] = '../'.substr($imgInfo[3],strlen(PATH_site)); 00360 $code = '<br /> 00361 <div align="center">'.$returnLinkTag.$imgObj->imgTag($imgInfo).'</a></div>'; 00362 $this->content.= $this->doc->section('', $code); 00363 } else { 00364 $this->content.= $this->doc->spacer(10); 00365 $lowerFilename = strtolower($this->file); 00366 00367 // Archive files: 00368 if (TYPO3_OS!='WIN' && !$GLOBALS['TYPO3_CONF_VARS']['BE']['disable_exec_function']) { 00369 if ($ext=='zip') { 00370 $code = ''; 00371 $t = array(); 00372 t3lib_utility_Command::exec('unzip -l ' . $this->file, $t); 00373 if (is_array($t)) { 00374 reset($t); 00375 next($t); 00376 next($t); 00377 next($t); 00378 while(list(,$val)=each($t)) { 00379 $parts = explode(' ',trim($val),7); 00380 $code.= ' 00381 '.$parts[6].'<br />'; 00382 } 00383 $code = ' 00384 <span class="nobr">'.$code.' 00385 </span> 00386 <br /><br />'; 00387 } 00388 $this->content.= $this->doc->section('', $code); 00389 } elseif($ext=='tar' || $ext=='tgz' || substr($lowerFilename,-6)=='tar.gz' || substr($lowerFilename,-5)=='tar.z') { 00390 $code = ''; 00391 if ($ext=='tar') { 00392 $compr = ''; 00393 } else { 00394 $compr = 'z'; 00395 } 00396 $t = array(); 00397 t3lib_utility_Command::exec('tar t' . $compr . 'f ' . $this->file, $t); 00398 if (is_array($t)) { 00399 foreach($t as $val) { 00400 $code.=' 00401 '.$val.'<br />'; 00402 } 00403 00404 $code.=' 00405 -------<br/> 00406 '.count($t).' '.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.files'); 00407 00408 $code = ' 00409 <span class="nobr">'.$code.' 00410 </span> 00411 <br /><br />'; 00412 } 00413 $this->content.= $this->doc->section('',$code); 00414 } 00415 } elseif ($GLOBALS['TYPO3_CONF_VARS']['BE']['disable_exec_function']) { 00416 $this->content.= $this->doc->section('',$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.cannotDisplayArchive')); 00417 } 00418 00419 // Font files: 00420 if ($ext=='ttf') { 00421 $thumbScript = 'thumbs.php'; 00422 $check = basename($this->file).':'.filemtime($this->file).':'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']; 00423 $params = '&file='.rawurlencode($this->file); 00424 $params.= '&md5sum='.t3lib_div::shortMD5($check); 00425 $url = $thumbScript.'?&dummy='.$GLOBALS['EXEC_TIME'].$params; 00426 $thumb = '<br /> 00427 <div align="center">'.$returnLinkTag.'<img src="'.htmlspecialchars($url).'" border="0" title="'.htmlspecialchars(trim($this->file)).'" alt="" /></a></div>'; 00428 $this->content.= $this->doc->section('',$thumb); 00429 } 00430 } 00431 00432 00433 // References: 00434 $this->content.= $this->doc->section($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.referencesToThisItem'),$this->makeRef('_FILE',$this->file)); 00435 } 00436 00437 /** 00438 * End page and print content 00439 * 00440 * @return void 00441 */ 00442 function printContent() { 00443 $this->content.= $this->doc->endPage(); 00444 $this->content = $this->doc->insertStylesAndJS($this->content); 00445 echo $this->content; 00446 } 00447 00448 /** 00449 * Make reference display 00450 * 00451 * @param string Table name 00452 * @param string Filename or uid 00453 * @return string HTML 00454 */ 00455 function makeRef($table,$ref) { 00456 00457 if ($table==='_FILE') { 00458 // First, fit path to match what is stored in the refindex: 00459 $fullIdent = $ref; 00460 00461 if (t3lib_div::isFirstPartOfStr($fullIdent,PATH_site)) { 00462 $fullIdent = substr($fullIdent,strlen(PATH_site)); 00463 } 00464 00465 // Look up the path: 00466 $rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( 00467 '*', 00468 'sys_refindex', 00469 'ref_table='.$GLOBALS['TYPO3_DB']->fullQuoteStr('_FILE','sys_refindex'). 00470 ' AND ref_string='.$GLOBALS['TYPO3_DB']->fullQuoteStr($fullIdent,'sys_refindex'). 00471 ' AND deleted=0' 00472 ); 00473 } else { 00474 // Look up the path: 00475 $rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( 00476 '*', 00477 'sys_refindex', 00478 'ref_table='.$GLOBALS['TYPO3_DB']->fullQuoteStr($table,'sys_refindex'). 00479 ' AND ref_uid='.intval($ref). 00480 ' AND deleted=0' 00481 ); 00482 } 00483 00484 // Compile information for title tag: 00485 $infoData = array(); 00486 if (count($rows)) { 00487 $infoData[] = '<tr class="t3-row-header">' . 00488 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.table').'</td>' . 00489 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.uid').'</td>' . 00490 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.field').'</td>'. 00491 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.flexpointer').'</td>'. 00492 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.softrefKey').'</td>'. 00493 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.sorting').'</td>'. 00494 '</tr>'; 00495 } 00496 foreach($rows as $row) { 00497 $infoData[] = '<tr class="bgColor4"">' . 00498 '<td>'.$row['tablename'].'</td>' . 00499 '<td>'.$row['recuid'].'</td>' . 00500 '<td>'.$row['field'].'</td>'. 00501 '<td>'.$row['flexpointer'].'</td>'. 00502 '<td>'.$row['softref_key'].'</td>'. 00503 '<td>'.$row['sorting'].'</td>'. 00504 '</tr>'; 00505 } 00506 00507 return count($infoData) ? '<table border="0" cellpadding="0" cellspacing="0" class="typo3-dblist">' . implode('', $infoData) . '</table>' : ''; 00508 } 00509 00510 /** 00511 * Make reference display (what this elements points to) 00512 * 00513 * @param string Table name 00514 * @param string Filename or uid 00515 * @return string HTML 00516 */ 00517 function makeRefFrom($table,$ref) { 00518 00519 // Look up the path: 00520 $rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( 00521 '*', 00522 'sys_refindex', 00523 'tablename='.$GLOBALS['TYPO3_DB']->fullQuoteStr($table,'sys_refindex'). 00524 ' AND recuid='.intval($ref) 00525 ); 00526 00527 // Compile information for title tag: 00528 $infoData = array(); 00529 if (count($rows)) { 00530 $infoData[] = '<tr class="t3-row-header">' . 00531 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.field').'</td>'. 00532 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.flexpointer').'</td>'. 00533 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.softrefKey').'</td>'. 00534 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.sorting').'</td>'. 00535 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.refTable').'</td>' . 00536 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.refUid').'</td>' . 00537 '<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.refString').'</td>' . 00538 '</tr>'; 00539 } 00540 foreach($rows as $row) { 00541 $infoData[] = '<tr class="bgColor4"">' . 00542 '<td>'.$row['field'].'</td>'. 00543 '<td>'.$row['flexpointer'].'</td>'. 00544 '<td>'.$row['softref_key'].'</td>'. 00545 '<td>'.$row['sorting'].'</td>'. 00546 '<td>'.$row['ref_table'].'</td>' . 00547 '<td>'.$row['ref_uid'].'</td>' . 00548 '<td>'.$row['ref_string'].'</td>' . 00549 '</tr>'; 00550 } 00551 00552 return count($infoData) ? '<table border="0" cellpadding="0" cellspacing="0" class="typo3-dblist">' . implode('', $infoData) . '</table>' : ''; 00553 } 00554 } 00555 00556 00557 if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/show_item.php'])) { 00558 include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/show_item.php']); 00559 } 00560 00561 00562 00563 // Make instance: 00564 $SOBE = t3lib_div::makeInstance('SC_show_item'); 00565 $SOBE->init(); 00566 $SOBE->main(); 00567 $SOBE->printContent(); 00568 00569 ?>
1.8.0