summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Admin_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/Admin_View.php
parentcfaa62370ecbdb3badf4ab68bbefa7cfedaea154 (diff)
Using array support introduced in 8295201adf948ea35f21f75801b7a8bf36c27569
Diffstat (limited to 'modules/gallery/libraries/Admin_View.php')
-rw-r--r--modules/gallery/libraries/Admin_View.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/gallery/libraries/Admin_View.php b/modules/gallery/libraries/Admin_View.php
index bff13ace..28a003cc 100644
--- a/modules/gallery/libraries/Admin_View.php
+++ b/modules/gallery/libraries/Admin_View.php
@@ -34,11 +34,11 @@ class Admin_View_Core extends Gallery_View {
$this->theme_name = Input::instance()->get("theme", $this->theme_name);
}
$this->sidebar = "";
- $this->set_global("theme", $this);
- $this->set_global("user", identity::active_user());
- $this->set_global("page_type", "admin");
- $this->set_global("page_subtype", $name);
- $this->set_global("page_title", null);
+ $this->set_global(array("theme" => $this,
+ "user" => identity::active_user(),
+ "page_type" => "admin",
+ "page_subtype" => $name,
+ "page_title" => null));
}
public function admin_menu() {