summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-19 06:27:18 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-19 06:27:18 -0700
commit1b530e4680b09391d7f99e91f1b0b1eb6b2069fc (patch)
tree9beee9ad047c5efa41dae7f64a0195b304770b61 /modules/tag/helpers
parent9a6a404a3239c964528b501d3c187ead84b1f7a0 (diff)
parentb2d0b3ebbb1764593e387a2e07e0d4e67f4f5474 (diff)
Merge branch 'master' into talmdal_dev
Conflicts: modules/user/views/admin_users.html.php
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag.php3
-rw-r--r--modules/tag/helpers/tag_theme.php1
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php
index b1d79458..01972a65 100644
--- a/modules/tag/helpers/tag.php
+++ b/modules/tag/helpers/tag.php
@@ -79,7 +79,6 @@ class tag_Core {
}
}
-
/**
* Return all the tags for a given item.
* @return array
@@ -111,7 +110,7 @@ class tag_Core {
}
static function get_rename_form($tag) {
- $form = new Forge("admin/tags/rename/$tag->id", "", "post", array("id" => "g-edit-tag-form", "class" => "g-short-form"));
+ $form = new Forge("admin/tags/rename/$tag->id", "", "post", array("id" => "g-rename-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 e3743824..ac0dd016 100644
--- a/modules/tag/helpers/tag_theme.php
+++ b/modules/tag/helpers/tag_theme.php
@@ -26,6 +26,7 @@ class tag_theme_Core {
}
static function admin_head($theme) {
+ $theme->css("tag.css");
$theme->script("tag.js");
}