27 Apr
2007
27 Apr
'07
4:39 a.m.
If someone implements the following. Change theme('table') so that it uses a fapi style array and render it with drupal_render. To upgrade existing tables, for a cell, a) if the content was just 'foo' , make that array('#value' => 'foo') b) if there was a 'data' key use #value instead . All other keys go under #attributes For a row, if there was no data key, nothing to do. If there was, move everything else to #attributes and make the 'data' the content of row. Thoughts and volunteers are welcome. Regards, NK Ps. Rationale, we require non-Drupaler coders to learn several structured complex arrays. This decreases the number. And eventually we will want drupal_render to pwn the page so this is a step...