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.
This commit is contained in:
Bharat Mediratta
2009-01-18 05:01:00 +00:00
parent 245cb11c58
commit 3d1ea2904d
13 changed files with 14 additions and 16 deletions

View File

@@ -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),