summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-18 09:28:48 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-18 09:28:48 -0700
commit090c4d016baec6376d6d26c347c3e1ca11a929d5 (patch)
treeddab7b8e10cf635b7f45c0c18bdf809c848334a3 /modules/tag/helpers
parentc9a030dd08711f89a985504ce26378a315d7ff1f (diff)
parent4949a2ce0b5daca7afe86a261be447440fce7eff (diff)
Merge branch 'master' into talmdal_dev
Conflicts: lib/gallery.common.css themes/admin_wind/views/admin.html.php themes/night_wind/views/sidebar.html.php themes/wind/views/sidebar.html.php
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag.php2
-rw-r--r--modules/tag/helpers/tag_theme.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php
index a2104e9d..b1d79458 100644
--- a/modules/tag/helpers/tag.php
+++ b/modules/tag/helpers/tag.php
@@ -111,7 +111,7 @@ class tag_Core {
}
static function get_rename_form($tag) {
- $form = new Forge("admin/tags/rename/$tag->id", "", "post", array("id" => "g-rename-tag-form"));
+ $form = new Forge("admin/tags/rename/$tag->id", "", "post", array("id" => "g-edit-tag-form", "class" => "g-short-form"));
$group = $form->group("rename_tag")->label(t("Rename Tag"));
$group->input("name")->label(t("Tag name"))->value($tag->name)->rules("required|length[1,64]");
$group->inputs["name"]->error_messages("in_use", t("There is already a tag with that name"));
diff --git a/modules/tag/helpers/tag_theme.php b/modules/tag/helpers/tag_theme.php
index 4f22d2ac..e3743824 100644
--- a/modules/tag/helpers/tag_theme.php
+++ b/modules/tag/helpers/tag_theme.php
@@ -21,6 +21,7 @@ class tag_theme_Core {
static function head($theme) {
$theme->css("jquery.autocomplete.css");
$theme->script("jquery.autocomplete.js");
+ $theme->css("tag.css");
$theme->script("tag.js");
}