[TYPO3-core] RFC: Feature #6710: Use optgroups in selectorboxes

Ingmar Schlecht ingmar at typo3.org
Wed Nov 14 15:51:20 CET 2007


Committed to trunk.

cheers
Ingmar

Ingmar Schlecht schrieb:
> This is an SVN patch request.
> 
> Type: New feature / Code cleanup
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=6710
> 
> Branch: trunk
> 
> Problem:
> The page and content type selectors now group their options using
> --div-- dividers. TCEForm renders them as optically grouped bunches of
> options, but doesn't use the optgroup tag, which is meant for that.
> 
> Solution:
> Use the optgroup tag.
> 
> The patch is easy to review, as the else {} part is exactly what was
> there before, and only if a divider should be rendered which is
> if(!strcmp($p[1],'--div--')) now the optgroup tag is rendered.
> 
> Notes:
> Tested with FF2, IE6, IE7 and Konqueror, whereas Konqueror still doesn't
> perform well, but at least better than with the old way of grouping.
> 
> cheers
> Ingmar
> 
> 


-- 
Ingmar Schlecht
TYPO3 Association Active Member


More information about the TYPO3-team-core mailing list