diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-12 07:50:04 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-12 07:50:04 +0000 |
commit | ae73ef3d5743b2afba65db7d89e78b135d8c9090 (patch) | |
tree | 52faf725a5756933a0547b2ea908a6d05051b1e4 /modules/akismet/helpers | |
parent | b19729435cd918e03e1bd6fbb91f7281bf3e5873 (diff) |
Updated for new Form_Submit API.
OLD:
$form->submit("Foo") --> <input type="submit" value="Foo">
New:
$form->submit("foo_button")->("Foo") --> <input type="submit" name="foo_button" value="Foo">
Mostly we don't care what the button is so we leave the name blank.
Diffstat (limited to 'modules/akismet/helpers')
-rw-r--r-- | modules/akismet/helpers/akismet.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/akismet/helpers/akismet.php b/modules/akismet/helpers/akismet.php index dd657d17..47353caf 100644 --- a/modules/akismet/helpers/akismet.php +++ b/modules/akismet/helpers/akismet.php @@ -25,7 +25,7 @@ class akismet_Core { $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.")); - $group->submit(t("Save")); + $group->submit("")->value(t("Save")); return $form; } |