summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Theme_View.php
diff options
context:
space:
mode:
authorJoe7 <jozsef.rnagy@site.hu>2011-01-03 20:28:54 +0100
committerBharat Mediratta <bharat@menalto.com>2011-01-03 11:38:21 -0800
commitf364e8a96b47f0e4f674c8b36317fc80184b219a (patch)
treea8d4734945e8b97b62952f13b8b6ea9c0858a425 /modules/gallery/libraries/Theme_View.php
parentcfaa62370ecbdb3badf4ab68bbefa7cfedaea154 (diff)
Using array support introduced in 8295201adf948ea35f21f75801b7a8bf36c27569
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());
}