diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-18 05:01:00 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-18 05:01:00 +0000 |
commit | 3d1ea2904d982422ce24c43b25d0d4bca6f29aa3 (patch) | |
tree | 81ac211d0f298791090126bf8061d3aec43ac134 /core/libraries | |
parent | 245cb11c5855d023d9bd4f7e693f0eafaeb7deb7 (diff) |
Rename theme callback helpers from xxx_block to xxx_theme to make room
for us to rename the dashboard helper to be a block helper since
sidebar blocks are not just in the dashboard.
Diffstat (limited to 'core/libraries')
-rw-r--r-- | core/libraries/Admin_View.php | 2 | ||||
-rw-r--r-- | core/libraries/Theme_View.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/libraries/Admin_View.php b/core/libraries/Admin_View.php index af2d7fa8..e15c0d68 100644 --- a/core/libraries/Admin_View.php +++ b/core/libraries/Admin_View.php @@ -93,7 +93,7 @@ class Admin_View_Core extends View { case "admin_head": $blocks = array(); foreach (module::installed() as $module) { - $helper_class = "{$module->name}_block"; + $helper_class = "{$module->name}_theme"; if (method_exists($helper_class, $function)) { $blocks[] = call_user_func_array( array($helper_class, $function), diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php index 38e8e056..1f8ca559 100644 --- a/core/libraries/Theme_View.php +++ b/core/libraries/Theme_View.php @@ -165,7 +165,7 @@ class Theme_View_Core extends View { case "photo_bottom": $blocks = array(); foreach (module::installed() as $module) { - $helper_class = "{$module->name}_block"; + $helper_class = "{$module->name}_theme"; if (method_exists($helper_class, $function)) { $blocks[] = call_user_func_array( array($helper_class, $function), |