summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Theme_View.php
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/gallery/libraries/Theme_View.php
parentc2a1ea64eda2bf3e22ecaf4df4714c091bc5d7c4 (diff)
parentde5b06ae7442db2c7a8999c0c806997248ddb151 (diff)
Merge remote branch 'upstream/master'
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());
}