mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-31 12:10:51 -04:00
Using array support introduced in 8295201adf948ea35f21f75801b7a8bf36c27569
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user