diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-25 06:28:04 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-25 06:28:04 +0000 |
| commit | a8233ed9795e42bb013a4d860fa063d8710d71eb (patch) | |
| tree | 8c3fe5f7b994cc2e6d50508fbe2d883018ad7388 /modules/tag | |
| parent | b0ad4e0222f573825e26bcaf73e08b80a3bc1f47 (diff) | |
Undo the adding underscores to the id on forge generated forms
Diffstat (limited to 'modules/tag')
| -rw-r--r-- | modules/tag/helpers/tag.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php index faed5c51..5077255b 100644 --- a/modules/tag/helpers/tag.php +++ b/modules/tag/helpers/tag.php @@ -76,7 +76,7 @@ class tag_Core { } static function get_add_form($item) { - $form = new Forge("tags", "", "post", array("id" => "gAdd_Tag_Form")); + $form = new Forge("tags", "", "post", array("id" => "gAddTagForm")); $group = $form->group("add_tag")->label(t("Add Tag")); $group->input("name")->label(t("Add tag")); $group->hidden("item_id")->value($item->id); @@ -86,7 +86,7 @@ class tag_Core { } static function get_rename_form($tag) { - $form = new Forge("admin/tags/rename/$tag->id", "", "post", array("id" => "gRename_Tag_Form")); + $form = new Forge("admin/tags/rename/$tag->id", "", "post", array("id" => "gRenameTagForm")); $group = $form->group("rename_tag")->label(t("Rename Tag")); $group->input("name")->label(t("Tag name"))->value($tag->name); $group->inputs["name"]->error_messages("in_use", t("There is already a tag with that name")); @@ -96,7 +96,7 @@ class tag_Core { } static function get_delete_form($tag) { - $form = new Forge("admin/tags/delete/$tag->id", "", "post", array("id" => "gDelete_Tag_Form")); + $form = new Forge("admin/tags/delete/$tag->id", "", "post", array("id" => "gDeleteTagForm")); $group = $form->group("delete_tag") ->label(t("Really delete tag %tag_name?", array("tag_name" => $tag->name))); $group->submit("")->value(t("Delete Tag")); |
