summaryrefslogtreecommitdiff
path: root/modules/tag
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-05-08 21:09:15 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-05-08 21:09:15 -0700
commit357d20a6800d75c266ebe4281ebdd08e88a6e13a (patch)
tree16c04abd61e0b5721b051142b55fd9ca6f226cd1 /modules/tag
parent14683ec0e8b8b9622539990c8d56310b0e0ced21 (diff)
parentb2f7f80efb4fc8de7c1be966720a5006310fefdb (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/tag')
-rw-r--r--modules/tag/controllers/admin_tags.php1
-rw-r--r--modules/tag/helpers/tag.php2
-rw-r--r--modules/tag/views/admin_tags.html.php2
3 files changed, 3 insertions, 2 deletions
diff --git a/modules/tag/controllers/admin_tags.php b/modules/tag/controllers/admin_tags.php
index 03a14814..9e875d14 100644
--- a/modules/tag/controllers/admin_tags.php
+++ b/modules/tag/controllers/admin_tags.php
@@ -22,6 +22,7 @@ class Admin_Tags_Controller extends Admin_Controller {
$filter = Input::instance()->get("filter");
$view = new Admin_View("admin.html");
+ $view->page_title = t("Manage tags");
$view->content = new View("admin_tags.html");
$view->content->filter = $filter;
diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php
index 8df4210d..14d27c94 100644
--- a/modules/tag/helpers/tag.php
+++ b/modules/tag/helpers/tag.php
@@ -98,7 +98,7 @@ class tag_Core {
($item->is_photo() ? t("Add tag to photo") : t("Add tag to movie"));
$group = $form->group("add_tag")->label("Add Tag");
- $group->input("name")->label($label)->rules("required");
+ $group->input("name")->label($label)->rules("required")->id("name");
$group->hidden("item_id")->value($item->id);
$group->submit("")->value(t("Add Tag"));
return $form;
diff --git a/modules/tag/views/admin_tags.html.php b/modules/tag/views/admin_tags.html.php
index b637a7f1..e1db387b 100644
--- a/modules/tag/views/admin_tags.html.php
+++ b/modules/tag/views/admin_tags.html.php
@@ -16,7 +16,7 @@
<? $column_tag_count = 0 ?>
<div class="g-block">
- <h1> <?= t("Tag Admin") ?> </h1>
+ <h1> <?= t("Manage tags") ?> </h1>
<div class="g-block-content">
<table id="g-tag-admin">