Actions
Feature #16981
closedFilelinks content element: FormatSize should be configurable via TypoScript
Start date:
2007-02-13
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
In
typo3\sysext\css_styled_content\pi1\class.tx_cssstyledcontent_pi1.php
line 359, the call to formatSize does not send any further parameters, so falls back to (imo not so nice) defaults:
<p>'.t3lib_div::formatSize($fileD['filesize']).'</p>
It would be nice if that could be configured via TypoScript.
Workaround to make the Output look nicer:
<p>'.t3lib_div::formatSize($fileD['filesize'],' Bytes| KB| MB| GB').'</p>
(issue imported from #M4979)
Actions