Project

General

Profile

Feature #18842 » 8505_filelist.diff

Administrator Admin, 2008-10-23 00:41

View differences:

typo3/class.file_list.inc (working copy)
if (!$GLOBALS['TYPO3_CONF_VARS']['GFX']['thumbnails']) {
$this->thumbScript='gfx/notfound_thumb.gif';
}
$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_common.xml');
}
/**
......
**/
function getFolderInfo() {
if($this->counter == 1) {
$fileLabel = 'File';
$fileLabel = $GLOBALS['LANG']->getLL('file', true);
} else {
$fileLabel = 'Files';
$fileLabel = $GLOBALS['LANG']->getLL('files', true);
}
return $this->counter.' '.$fileLabel.', '.t3lib_div::formatSize($this->totalbytes).'bytes';
return $this->counter . ' ' . $fileLabel . ', ' . t3lib_div::formatSize($this->totalbytes, $GLOBALS['LANG']->getLL('byteSizeUnits', true));
}
/**
typo3/sysext/lang/locallang_common.xml (working copy)
<label index="about">About</label>
<label index="ascending">Ascending</label>
<label index="back">Back</label>
<label index="byteSizeUnits"> B| KB| MB| GB</label>
<label index="cancel">Cancel</label>
<label index="category">Category</label>
<label index="close">Close</label>
(6-6/6)