Index: google_admanager.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/google_admanager/google_admanager.module,v retrieving revision 1.8 diff -u -r1.8 google_admanager.module --- google_admanager.module 26 Oct 2009 09:25:21 -0000 1.8 +++ google_admanager.module 26 Oct 2009 09:33:10 -0000 @@ -26,7 +26,7 @@ if ($ad_slot = $ad_slots[$delta]) { $block = array( 'subject' => '', - 'content' => theme_google_admanager_block($id, $ad_slot), + 'content' => theme('google_admanager_block', $id, $ad_slot), 'cache' => 'BLOCK_NO_CACHE', ); } @@ -185,3 +185,14 @@ } return $text; } + +/** + * Implemention of hook_theme() + */ +function google_admanager_theme() { + return array( + 'google_admanager_block' => array( + 'arguments' => array('id' => NULL, 'ad_slot' => NULL), + ), + ); +} \ No newline at end of file