diff options
| author | Chad Kieffer <ckieffer@gmail.com> | 2011-01-04 15:59:26 -0700 |
|---|---|---|
| committer | Chad Kieffer <ckieffer@gmail.com> | 2011-01-04 15:59:26 -0700 |
| commit | e921c3c5b5b8f963f121601d346c50a24bc0cf15 (patch) | |
| tree | a29064762c3b37812596cb82c3e910f7321a85b2 /modules/gallery/libraries/Admin_View.php | |
| parent | dbff45cc91ac44f18ef02b8abdd220a2864f050f (diff) | |
| parent | d74aad072d8ccca70efb1c8b673e8368566a1974 (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/libraries/Admin_View.php')
| -rw-r--r-- | modules/gallery/libraries/Admin_View.php | 10 |
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() { |
