diff options
| author | Chad Kieffer <ckieffer@gmail.com> | 2011-01-04 15:59:26 -0700 | 
|---|---|---|
| committer | Chad Kieffer <ckieffer@gmail.com> | 2011-01-04 15:59:26 -0700 | 
| commit | e921c3c5b5b8f963f121601d346c50a24bc0cf15 (patch) | |
| tree | a29064762c3b37812596cb82c3e910f7321a85b2 /modules/tag/controllers | |
| parent | dbff45cc91ac44f18ef02b8abdd220a2864f050f (diff) | |
| parent | d74aad072d8ccca70efb1c8b673e8368566a1974 (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/tag/controllers')
| -rw-r--r-- | modules/tag/controllers/tag.php | 12 | 
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)); | 
