Index: comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment.module,v retrieving revision 1.317 diff -u -r1.317 comment.module --- comment.module 20 Dec 2004 02:05:00 -0000 1.317 +++ comment.module 22 Dec 2004 23:03:56 -0000 @@ -410,6 +410,11 @@ global $user; /* + ** Invoke other validation + */ + module_invoke_all('comment', 'validate', $edit); + + /* ** Validate the comment's body. */ @@ -1393,6 +1398,9 @@ // format selector $form .= filter_form('format', $edit['format']); + // Invoke other forms + $form .= implode('', module_invoke_all('comment', 'form', $edit)); + // preview button: $form .= form_hidden('cid', $edit['cid']); $form .= form_hidden('pid', $edit['pid']);