Add helper function to assemble CSS class name lists in templates, and use it to fix #4614.
Authored by: cmlenz 2007-01-29
Parent: [r4666]
Child: [r4668]