Project

General

Profile

Feature #18842 » 8505_#4_class.file_list.inc.diff

Administrator Admin, 2008-07-16 22:05

View differences:

typo3/class.file_list.inc (working copy)
**/
function getFolderInfo() {
if($this->counter == 1) {
$fileLabel = 'File';
$fileLabel = $GLOBALS['LANG']->getLL('fileSingular', true);
} else {
$fileLabel = 'Files';
$fileLabel = $GLOBALS['LANG']->getLL('filesPlural', true);
}
return $this->counter.' '.$fileLabel.', '.t3lib_div::formatSize($this->totalbytes).'bytes';
return $this->counter . ' ' . $fileLabel . ', ' . t3lib_div::formatSize($this->totalbytes) . $GLOBALS['LANG']->getLL('bytes', true);
}
/**
(4-4/6)