[contributions(DRUPAL-6--1):dries] /modules/mollom mollom.module /modules/mollom/tests mollom.test
User: dries Branch: DRUPAL-6--1 Date: Mon, 08 Dec 2008 15:26:42 +0000 Modified files: /modules/mollom mollom.module /modules/mollom/tests mollom.test Log message: - Patch by Damien Tournoud. Refactors the form manipulation logic to make it cleaner and to avoid the side-effects of having to rebuild forms. Defined a custom form #type = 'mollom', that we simply form-alter in protected forms. The analysis/captcha logic is performed in the #process of that form. This will work in any form types (including multi-step ones) because process functions are not cached. As an added benefit, Mollom fields are now self-contained in the 'mollom' form element, so that 'session-id' doesn't pollute the form anymore. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/mollom/mollom.modu... http://cvs.drupal.org/diff.php?path=contributions/modules/mollom/tests/mollo...
participants (1)
-
drupal-cvs@drupal.org