=== modified file 'captcha.install' --- captcha.install 2007-06-20 22:10:06 +0000 +++ captcha.install 2007-06-21 08:56:01 +0000 @@ -39,10 +39,13 @@ 'comment_form' => t('Comment form'), 'contact_mail_user' => t('User contact form'), 'contact_mail_page' => t('Sitewide contact form'), + 'user_register' => t('Registration of new user'), + 'user_pass' => t('Request for new password'), ); foreach($forms as $form_id=>$description) { - db_query("INSERT INTO {captcha_points} (form_id, description, captcha_type, visible) VALUES ('%s', '%s', '%s', %d)", $form_id, $description, 'NULL', 1); + db_query("INSERT INTO {captcha_points} (form_id, description, captcha_type, visible) VALUES ('%s', '%s', %s, %d)", $form_id, $description, 'NULL', 1); } + drupal_set_message(t('The installation of the captcha_points table and default entries was successful'), 'status'); } else { drupal_set_message(t('The installation of the captcha module was unsuccessful'), 'error'); } === modified file 'captcha.module' --- captcha.module 2007-06-21 08:11:05 +0000 +++ captcha.module 2007-06-21 08:57:08 +0000 @@ -1,7 +1,6 @@