summaryrefslogtreecommitdiff
path: root/modules/recaptcha/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-01-24 17:26:47 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-01-24 17:26:47 +0000
commitcbff78daa8a642e1800916f92e43202857c3b677 (patch)
tree1cb8302d4da07fbb384d44d94644088c718c6339 /modules/recaptcha/helpers
parenteed57674f99621e5354a13543067e9556eb9c6d0 (diff)
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.
Diffstat (limited to 'modules/recaptcha/helpers')
-rw-r--r--modules/recaptcha/helpers/recaptcha.php2
1 files changed, 1 insertions, 1 deletions
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")