Remove hard-coded markup from th
Dries - March 11, 2003 - 23:10
| Project: | Drupal |
| Version: | HEAD |
| Component: | theme system |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Remove hard-coded markup from the PHP code; see the theme() function documentation for details. Send your patches to the developers mailing list.

#1
#2
there isn't much left in the core distro. i know that my node_form() patch (see my sandbox) is outstanding, but not much else. anyone else know of HTML which can't be overriden by a theme()?
#3
It's not just stuff that should be theme()able.
It's also things like the book module that use lots of tables and s (generally in width="100%" type ways guaranteed to annoy web designers trying to make things work with CSS and divs in IE6).
I do have a patch for the book module that fixes this, but all the other CSS stuff could do with landing first. I'm not going to be so bold as to assign this task to myself, mind.
#4
What do you like todo about this? Replacement of all tables into
and 's ?
Stefan.
Stefan@Frontaal-Online.com
#5
#6
The search.module currently hard codes some HTML. Any other examples?
#7