This function builds a table when it should use the theme function instead.

Comments

killes@www.drop.org’s picture

Version: 4.7.x-dev » 6.x-dev
Status: Needs review » Needs work

The patch appears to use tabs but otherwise looks good. Should be first applied to HEAD and D5.

davidtrainer’s picture

StatusFileSize
new1.91 KB

Fixed - sorry about that.

davidtrainer’s picture

Status: Needs work » Needs review
dries’s picture

We usually write $rows[] = instead of array_push(). It would be slightly more consistent to use the former.

The issue with this patch (and its quite minor) is that it doesn't generate semantically correct HTML -- titles/headers are no longer th-ed. So from that point of view, this patch is a small regression, especially because it wouldn't be themed consistently.

Thoughts?

davidtrainer’s picture

StatusFileSize
new2.13 KB

Updated, per Dries' comments

Zen’s picture

Category: bug » task
Priority: Minor » Normal
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new2.41 KB

Wasn't applying; re-rolled. Also:

  • Sync with HEAD - url() now takes an options array.
  • Patch did not retain pre-existing comment.

No changes of importance made to Dave's patch. Setting to RTBC.

-K

killes@www.drop.org’s picture

Still works as advertized.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)