--- comment.module-4.6.2 2005-06-29 21:53:35.000000000 +0200 +++ comment.module 2005-07-18 13:06:23.000000000 +0200 @@ -429,6 +429,8 @@ function comment_validate_form($edit) { global $user; + module_invoke_all('comment', 'validate', $edit); + // Validate the comment's subject. If not specified, extract // one from the comment's body. if (trim($edit['subject']) == '') { @@ -1411,6 +1413,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']);