[TYPO3-core] RFC: Remove empty label tags

Michael Stucki michael at typo3.org
Tue Jan 10 15:17:33 CET 2006


Just a small thing...

Problem:
The FORM element adds <label> tags around parts where it shouldn't.

Solution:
Change the list of excluded types into a preg_match list and add "comment" and 
"hidden" to the list.

Comments:
The "comment" type is not documented in TSref and probably this is ok. However 
it is assigned by default if no other type matches, so still it makes sense 
to list it above.

Regards
- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: labelfix.diff
Type: text/x-diff
Size: 820 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060110/8f86e442/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060110/8f86e442/attachment.pgp 


More information about the TYPO3-team-core mailing list