Closed (fixed)
Project:
Drupal core
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 May 2005 at 22:09 UTC
Updated:
12 Oct 2005 at 22:20 UTC
Jump to comment: Most recent file
This patch removes all those nasty hard coded forms from comment.module's user Comment Control.
Robin
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | moderation_forms.patch | 4.48 KB | robin monks |
| #8 | commentform.patch | 4.04 KB | robin monks |
| #7 | commentforms_0.patch | 4.08 KB | robin monks |
| #6 | commentforms.patch | 4.08 KB | robin monks |
| #5 | Comment.Control.hardcode..patch | 3.96 KB | robin monks |
Comments
Comment #1
robin monks commentedOh, and I've test this, and it works.
Robin
Comment #2
robin monks commentedA bug I missed (thanks UnConeD!).
Robin
Comment #3
drummI read over the code quickly and this caught my eye:
Even though PHP might not complain we should prolly decide on array or object.
Comment #4
robin monks commentedGood point, I missed that.
Robin
Comment #5
robin monks commentedDrumm hath found another bug...
Robin
Comment #6
robin monks commentedUpdated version with killes' comments added in the code (whitespacing) and with a lot less bulky code and theme recalls
Robin
Comment #7
robin monks commentedFinal Version, removes 4 unneeded functions. Tested to work. Please comment.
Robin
Comment #8
robin monks commentedYelp, wrong patch....
Comment #9
jose reyero commentedAfter applying this patch, the "threshold" drop-down is gone.
Comment #10
robin monks commentedThere was a glitch in the patch that caused the threshhold dropdown never to display. This version fixes that, although moderation may be broken already by Moshe's patch (as it won't work with, or without, this patch).
Robin
Comment #11
killes@www.drop.org commentedThe patch looks very nice becasue it removes a lot of crufty code. I've no time to test it, though.
Comment #12
dries commentedThis patch is likely to be deprecated when the new form API is ready. I'm OK with it but haven't tested it yet.
Comment #13
drummI think this can only make the form converting job easier. Lets go ahead and put this patch in once reviewed unless anyone working directly on the new form api objects.
Comment #14
killes@www.drop.org commentedDries, please commit I can't bear it to see that crufty code in Drupal.
Comment #15
robin monks commentedPlacing in queue per Dries.
Robin
Comment #16
dries commentedCommitted to HEAD. Thanks.
Comment #17
(not verified) commentedComment #18
(not verified) commentedComment #19
(not verified) commentedComment #20
(not verified) commented