--- comment.module 2006-05-03 14:42:50.000000000 +0200 +++ comment.module 2006-05-03 14:56:23.000000000 +0200 @@ -428,6 +428,7 @@ function comment_reply($nid, $pid = NULL 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. @@ -1411,6 +1412,8 @@ function theme_comment_form($edit, $titl // format selector $form .= filter_form('format', $edit['format']); + $form .= implode('', module_invoke_all('comment', 'form', $edit)); + // preview button: $form .= form_hidden('cid', $edit['cid']); $form .= form_hidden('pid', $edit['pid']);