-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03 Jun 2005, at 6:17 PM, Nedjo Rogers wrote:
Only in form() itself we'd generate the html. form() should be a themable function.
A great step forward--better control, more flexibility. Anything that moves us away from hard-coded HTML generation and toward separation of content and presentation is a good thing.
The "weight" parameter suggestion sounds good. I've often been frustrated at not having control over the order of form elements (e.g., not being able to insert new elements at a specified place).
Also, it opens up the ability to pass the elements of nodes to the theme_node as an array, meaning we can use this as a display mechanism too. - -- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCoIHPgegMqdGlkasRApz4AJ4hfFWPV/fNYk5Kl9honPfCunOekACfZyPc lqlLIPWT0XXWaoX2aQTre70= =yvSk -----END PGP SIGNATURE-----