summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Theme_View.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2011-01-04 15:59:26 -0700
committerChad Kieffer <ckieffer@gmail.com>2011-01-04 15:59:26 -0700
commite921c3c5b5b8f963f121601d346c50a24bc0cf15 (patch)
treea29064762c3b37812596cb82c3e910f7321a85b2 /modules/gallery/libraries/Theme_View.php
parentdbff45cc91ac44f18ef02b8abdd220a2864f050f (diff)
parentd74aad072d8ccca70efb1c8b673e8368566a1974 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r--modules/gallery/libraries/Theme_View.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php
index d22bb03a..ba1862c0 100644
--- a/modules/gallery/libraries/Theme_View.php
+++ b/modules/gallery/libraries/Theme_View.php
@@ -37,11 +37,11 @@ class Theme_View_Core extends Gallery_View {
}
$this->item = null;
$this->tag = null;
- $this->set_global("theme", $this);
- $this->set_global("user", identity::active_user());
- $this->set_global("page_type", $page_type);
- $this->set_global("page_subtype", $page_subtype);
- $this->set_global("page_title", null);
+ $this->set_global(array("theme" => $this,
+ "user" => identity::active_user(),
+ "page_type" => $page_type,
+ "page_subtype" => $page_subtype,
+ "page_title" => null));
if ($page_type == "collection") {
$this->set_global("thumb_proportion", $this->thumb_proportion());
}