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:
Bharat Mediratta
2009-07-29 17:25:53 -07:00
parent ca96d47196
commit 15f148349e
4 changed files with 8 additions and 7 deletions
+1
View File
@@ -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";