Bug #18896 » 8590_class.file_list.inc.diff
typo3/class.file_list.inc (working copy) | ||
---|---|---|
while(list(,$field)=each($this->fieldArray)) {
|
||
switch($field) {
|
||
case 'size':
|
||
$theData[$field]=t3lib_div::formatSize($theFile[$field]);
|
||
break;
|
||
$theData[$field] = t3lib_div::formatSize($theFile[$field]) . $GLOBALS['LANG']->getLL('bytes');
|
||
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>');
|
||
break;
|