[drupal-devel] [bug] Don't hard code forms into comment.module
Robin Monks
drupal-devel at drupal.org
Thu Jun 9 11:24:19 UTC 2005
Issue status update for http://drupal.org/node/23620
Project: Drupal
Version: cvs
Component: comment.module
Category: bug reports
Priority: normal
Assigned to: Robin Monks
Reported by: Robin Monks
Updated by: Robin Monks
Status: patch
Attachment: http://drupal.org/files/issues/commentform.patch (4.04 KB)
Yelp, wrong patch....
Robin Monks
Previous comments:
------------------------------------------------------------------------
May 25, 2005 - 22:09 : Robin Monks
Attachment: http://drupal.org/files/issues/Comment.Control.hardcode.patch (4.02 KB)
This patch removes all those nasty hard coded forms from
comment.module's user Comment Control.
Robin
------------------------------------------------------------------------
May 25, 2005 - 22:16 : Robin Monks
Oh, and I've test this, and it works.
Robin
------------------------------------------------------------------------
May 25, 2005 - 22:26 : Robin Monks
Attachment: http://drupal.org/files/issues/Comment.Control.hardcode_0.patch (3.96 KB)
A bug I missed (thanks UnConeD!).
Robin
------------------------------------------------------------------------
May 25, 2005 - 23:44 : drumm
I read over the code quickly and this caught my eye:
+ $filter = db_fetch_object($result);
+ $filter[0] = t('-- threshold --');
Even though PHP might not complain we should prolly decide on array or
object.
------------------------------------------------------------------------
May 26, 2005 - 11:16 : Robin Monks
Attachment: http://drupal.org/files/issues/Comment.Control.hardcode_1.patch (3.96 KB)
Good point, I missed that.
Robin
------------------------------------------------------------------------
May 26, 2005 - 16:39 : Robin Monks
Attachment: http://drupal.org/files/issues/Comment.Control.hardcode..patch (3.96 KB)
Drumm hath found another bug...
Robin
------------------------------------------------------------------------
June 9, 2005 - 00:12 : Robin Monks
Attachment: http://drupal.org/files/issues/commentforms.patch (4.08 KB)
Updated version with killes' comments added in the code (whitespacing)
and with a lot less bulky code and theme recalls
Robin
------------------------------------------------------------------------
June 9, 2005 - 11:16 : Robin Monks
Attachment: http://drupal.org/files/issues/commentforms_0.patch (4.08 KB)
Final Version, removes 4 unneeded functions. Tested to work. Please
comment.
Robin
More information about the drupal-devel
mailing list