Project

General

Profile

Bug #18896 » v6_class.file_list.inc.diff

Administrator Admin, 2008-12-03 10:18

View differences:

typo3/class.file_list.inc (working copy)
while(list(,$field)=each($this->fieldArray)) {
switch($field) {
case 'size':
$theData[$field]=t3lib_div::formatSize($theFile[$field]);
$theData[$field] = t3lib_div::formatSize($theFile[$field], $GLOBALS['LANG']->getLL('byteSizeUnits', true));
break;
case 'rw':
$theData[$field]= (($theFile['readable'])?'':'<span class="typo3-red"><b>R</b></span>').(($theFile['writable'])?'':'<span class="typo3-red"><b>W</b></span>');
......
while(list(,$field)=each($this->fieldArray)) {
switch($field) {
case 'size':
$theData[$field]=t3lib_div::formatSize($theFile[$field]);
$theData[$field] = t3lib_div::formatSize($theFile[$field], $GLOBALS['LANG']->getLL('byteSizeUnits', true));
break;
case 'rw':
$theData[$field]= (($theFile['readable'])?'':'<span class="typo3-red"><b>R</b></span>').(($theFile['writable'])?'':'<span class="typo3-red"><b>W</b></span>');
(6-6/6)