[drupal-devel] theme 'page'... ideas

Negyesi Karoly karoly at negyesi.net
Mon Mar 14 17:55:52 UTC 2005


Hi,

Currently, theme('page', $output) $output is a string which is built by 
concatenating other themed elements.

Let it be an array, and let the themer decide what to do with it. An 
associative array maybe would be practical.

I'd suggest replacing the argument of form to be also an array, and it would 
call theme_form.

Also, the remaining HTML code shall disappear from the code. I have even 
found a <br>! 

I know that code is golden, but first, a bit of talk is necessary, 
especially for the first proposal...

Regards

Karoly Negyesi



More information about the drupal-devel mailing list