--- comment.module 2005-04-01 22:00:01.000000000 +0200 +++ comment.module 2005-04-04 13:57:05.000000000 +0200 @@ -440,6 +440,8 @@ } // Validate the comment's body. + // Invoke other validation + module_invoke_all('comment', 'validate', $edit); if ($edit['comment'] == '') { form_set_error('comment', t('The body of your comment is empty.')); } @@ -1417,6 +1419,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']);