From cbff78daa8a642e1800916f92e43202857c3b677 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 24 Jan 2009 17:26:47 +0000 Subject: Supply a form id on all forms. This id can be used by modules other than the originating module to provide additional functionality to the form. --- modules/recaptcha/helpers/recaptcha.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/recaptcha/helpers') diff --git a/modules/recaptcha/helpers/recaptcha.php b/modules/recaptcha/helpers/recaptcha.php index 69361e23..eea000b1 100644 --- a/modules/recaptcha/helpers/recaptcha.php +++ b/modules/recaptcha/helpers/recaptcha.php @@ -31,7 +31,7 @@ class recaptcha_Core { private $options = array(); static function get_configure_form() { - $form = new Forge("admin/recaptcha", "", "post"); + $form = new Forge("admin/recaptcha", "", "post", array("id" => "gConfigure_Recaptcha_Form")); $group = $form->group("configure_recaptcha") ->label(t("Configure Recaptcha")); $group->hidden("orig_public_key") -- cgit v1.2.3