summaryrefslogtreecommitdiff
path: root/modules/tag/controllers
diff options
context:
space:
mode:
authorcolings <colings@example.com>2011-01-09 11:43:45 -0600
committercolings <colings@example.com>2011-01-09 11:43:45 -0600
commit02a349f68ac480d5b1a630e14b4f2e3558328673 (patch)
tree25bf25960b6811d8dbcbed6f6c9d63de7c03bd4e /modules/tag/controllers
parentc2a1ea64eda2bf3e22ecaf4df4714c091bc5d7c4 (diff)
parentde5b06ae7442db2c7a8999c0c806997248ddb151 (diff)
Merge remote branch 'upstream/master'
Diffstat (limited to 'modules/tag/controllers')
-rw-r--r--modules/tag/controllers/tag.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/tag/controllers/tag.php b/modules/tag/controllers/tag.php
index 0e924f3d..7bfa7d58 100644
--- a/modules/tag/controllers/tag.php
+++ b/modules/tag/controllers/tag.php
@@ -35,12 +35,12 @@ class Tag_Controller extends Controller {
}
$template = new Theme_View("page.html", "collection", "tag");
- $template->set_global("page", $page);
- $template->set_global("max_pages", $max_pages);
- $template->set_global("page_size", $page_size);
- $template->set_global("tag", $tag);
- $template->set_global("children", $tag->items($page_size, $offset));
- $template->set_global("children_count", $children_count);
+ $template->set_global(array("page" => $page,
+ "max_pages" => $max_pages,
+ "page_size" => $page_size,
+ "tag" => $tag,
+ "children" => $tag->items($page_size, $offset),
+ "children_count" => $children_count));
$template->content = new View("dynamic.html");
$template->content->title = t("Tag: %tag_name", array("tag_name" => $tag->name));