Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
statistics.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Feb 2007 at 17:51 UTC
Updated:
17 Jul 2007 at 20:37 UTC
Jump to comment: Most recent file
This function builds a table when it should use the theme function instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | stats-table.patch | 2.41 KB | Zen |
| #5 | statistics.module_4.patch | 2.13 KB | davidtrainer |
| #2 | statistics.module.diff__0.txt | 1.91 KB | davidtrainer |
| statistics.module.diff_.txt | 1.91 KB | davidtrainer |
Comments
Comment #1
killes@www.drop.org commentedThe patch appears to use tabs but otherwise looks good. Should be first applied to HEAD and D5.
Comment #2
davidtrainer commentedFixed - sorry about that.
Comment #3
davidtrainer commentedComment #4
dries commentedWe usually write
$rows[] =instead ofarray_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?
Comment #5
davidtrainer commentedUpdated, per Dries' comments
Comment #6
Zen commentedWasn't applying; re-rolled. Also:
No changes of importance made to Dave's patch. Setting to RTBC.
-K
Comment #7
killes@www.drop.org commentedStill works as advertized.
Comment #8
dries commentedCommitted to CVS HEAD. Thanks.
Comment #9
(not verified) commented