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/akismet/helpers/akismet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/akismet') diff --git a/modules/akismet/helpers/akismet.php b/modules/akismet/helpers/akismet.php index d46556de..67be802f 100644 --- a/modules/akismet/helpers/akismet.php +++ b/modules/akismet/helpers/akismet.php @@ -21,7 +21,7 @@ class akismet_Core { public static $test_mode = TEST_MODE; static function get_configure_form() { - $form = new Forge("admin/akismet", "", "post"); + $form = new Forge("admin/akismet", "", "post", array("id" => "gConfigure_Akismet_Form")); $group = $form->group("configure_akismet")->label(t("Configure Akismet")); $group->input("api_key")->label(t("API Key"))->value(module::get_var("akismet", "api_key")); $group->api_key->error_messages("invalid", t("The API key you provided is invalid.")); -- cgit v1.2.3