mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-26 09:43:54 -04:00
Make body_attributes() a theme callback instead of a method on the
View. This allows modules to piggyback on it.
This commit is contained in:
@@ -78,6 +78,7 @@ class Admin_View_Core extends Gallery_View {
|
||||
case "admin_page_bottom":
|
||||
case "admin_page_top":
|
||||
case "admin_head":
|
||||
case "body_attributes":
|
||||
$blocks = array();
|
||||
foreach (module::active() as $module) {
|
||||
$helper_class = "{$module->name}_theme";
|
||||
|
||||
Reference in New Issue
Block a user