mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 01:09:19 -04:00
Fix for ticket #541
Added a theme_info variable to the theme globals. The properties in the theme.info file are now contained in this theme_info structure. Access is: <?= $theme_info->author ?> will display the theme author.
This commit is contained in:
@@ -38,6 +38,7 @@ class Theme_View_Core extends Gallery_View {
|
||||
$this->item = null;
|
||||
$this->tag = null;
|
||||
$this->set_global(array("theme" => $this,
|
||||
"theme_info" => theme::get_info($this->theme_name),
|
||||
"user" => identity::active_user(),
|
||||
"page_type" => $page_type,
|
||||
"page_subtype" => $page_subtype,
|
||||
|
||||
Reference in New Issue
Block a user