[TYPO3-core] RFC #16218: Bug/Feature: TCE-Forms does not use sprite icons -- this leads to inconsistency

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Nov 16 16:15:18 CET 2010


Steffen Ritter schrieb am 16.11.2010 10:49:
> Am 16.11.2010 10:34, schrieb Steffen Gebert:
>> Steffen, could you please take the opportunity and extract the following
>> definition into a CSS class and only set the background-image inline?
>>  > $selectedStyle = ' style="background: #fff url(' . $selectIconFile .
>>  > ') 0% 50% no-repeat;
> 
> if this is what makes you feel happy, find patch attached...

+1 by testing and reading and adding
- missing sprite generation for a Wizard icon (e.g. "link wizard" etc)
- new sys_language flags below translated records

See screenshot with both new features. The link-popup wizard was just
added to tt_content's TCA temporary to see it working, we don't have a
sprite icon for it yet. As Steffen said, the conversion of system's
TCA's to use the sprites is a matter that can be tackled after this
patch is in.

v3 attached, also the diff between v2 and v3. I also moved the new
"getIconHtml" up to right below "getIcon".

Cheers,
Ernesto

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc16218_v3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101116/0c367c2c/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc16218_v2-v3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101116/0c367c2c/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16218-v3.png
Type: image/png
Size: 13661 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101116/0c367c2c/attachment-0001.png>


More information about the TYPO3-team-core mailing list