Using array support introduced in 8295201adf948ea35f21f75801b7a8bf36c27569

This commit is contained in:
Joe7
2011-01-03 11:38:21 -08:00
committed by Bharat Mediratta
parent cfaa62370e
commit f364e8a96b
4 changed files with 20 additions and 20 deletions
+5 -5
View File
@@ -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());
}