Remove hard-coded markup from the PHP code; see the theme() function documentation for details. Send your patches to the developers mailing list.

Comments

dries’s picture

Priority: Major » Normal
moshe weitzman’s picture

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()?

al’s picture

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. Only local images are allowed.

claybutterfly’s picture

Title: Remove hard-coded markup from the PHP code » Re: [drupal-devel] task #1319 : Remove hard-coded markup from the PHPcode

What do you like todo about this? Replacement of all tables into

and 's ?

Stefan.
Stefan@Frontaal-Online.com

moshe weitzman’s picture

Title: Re: [drupal-devel] task #1319 : Remove hard-coded markup from the PHPcode » Remove hard-coded markup from th
moshe weitzman’s picture

Component: Theme system » theme system

The search.module currently hard codes some HTML. Any other examples?

Anonymous’s picture