Bug #27602 » show_item.php.patch
typo3/show_item.php | ||
---|---|---|
$fI = t3lib_div::split_fileref($this->file);
|
||
$ext = $fI['fileext'];
|
||
$code = '';
|
||
$code = '<div class="fileInfoContainer">';
|
||
// Setting header:
|
||
$fileName = t3lib_iconWorks::getSpriteIconForFile($ext) . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.file', TRUE) . ':</strong> ' . $fI['file'];
|
||
... | ... | |
} else {
|
||
$code.= $fileName;
|
||
}
|
||
$code.=' <strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.filesize').':</strong> '.t3lib_div::formatSize(@filesize($this->file)).'<br />
|
||
$code.=' <strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.filesize').':</strong> '.t3lib_div::formatSize(@filesize($this->file)).'</div>
|
||
';
|
||
if (is_array($imgInfo)) {
|
||
$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');
|
||
$code.= '<div class="fileInfoContainer fileDimensions"><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').'</div>';
|
||
}
|
||
$this->content.=$this->doc->section('',$code);
|
||
$this->content.=$this->doc->divider(2);
|
- « Previous
- 1
- 2
- 3
- Next »