The block generation contains direct calls to theme_ functions. This prevents them being overridden by theme developers.
Index: modules/avatar_blocks/avatar_blocks.module
===================================================================
--- modules/avatar_blocks/avatar_blocks.module (revision 9516)
+++ modules/avatar_blocks/avatar_blocks.module (working copy)
@@ -319,7 +319,7 @@
while ($next_member = db_fetch_object($display_users)) {
$online_members[] = $next_member;
}
- $output = theme_avatar_blocks_block($online_members, $imagecache_preset);
+ $output = theme('avatar_blocks_block', $online_members, $imagecache_preset);
}
if (variable_get('avatar_blocks_ol_include_text', 0)) {
// Format the output with proper grammar.
@@ -356,7 +356,7 @@
while ($next_member = db_fetch_object($new_member_list)) {
$new_members[] = $next_member;
}
- $output = theme_avatar_blocks_block($new_members, $imagecache_preset);
+ $output = theme('avatar_blocks_block', $new_members, $imagecache_preset);
return $output;
}
@@ -388,7 +388,7 @@
while ($next_buddy = db_fetch_object($my_buddylist_list)) {
$buddies[] = $next_buddy;
}
- $output = theme_avatar_blocks_block($buddies, $imagecache_preset);
+ $output = theme('avatar_blocks_block', $buddies, $imagecache_preset);
}
}
return $output;
Comments
Comment #1
roopletheme commentedHey, thanks for pointing this out to me. Is the working copy referenced in your diff listing functioning as you expect?
Comment #2
roopletheme commentedThis is fixed in HEAD, and will be in the next release.