[TYPO3-core] RFC #12025: Make statuses in the status report sort alphabetical and grouped
Rupert Germann
rupi at gmx.li
Mon Sep 21 22:21:26 CEST 2009
hi,
just found that getLL() will cause a problem when extensions have a
localized statusprovider label.
sL() should be used instead.
greets
rupert
Rupert Germann schrieb:
> Susanne Moog schrieb:
>>> Solution:
>> Group by statusProvider and sort statuses alphabetically.
>>
>> *scratch*
>>
>> Please feel free to criticize as I'm not that good with PHP.
>
> line 96 in class tx_reports_reports_Status:
>
> $providerLabel = $GLOBALS['LANG']->getLL('status_' . $provider) ?
> $GLOBALS['LANG']->getLL('status_' . $provider) : $provider;
>
> I'd do it like this:
> $providerLabel = $GLOBALS['LANG']->getLL('status_' . $provider);
> $providerLabel = $providerLabel ? $providerLabel : $provider;
>
> besides this
> +1 by reading and testing
>
> and thanks for this pro-active reaction ;-)
>
> greets
> rupert
More information about the TYPO3-team-core
mailing list