diff -upr stock/adsense/adsense_basic.module modified/adsense/adsense_basic.module
--- stock/adsense/adsense_basic.module	2008-02-12 20:10:59.000000000 -0600
+++ modified/adsense/adsense_basic.module	2008-03-31 20:47:53.000000000 -0500
@@ -30,7 +30,7 @@ function adsense_basic_settings() {
   $module = 'adsense_basic';
   include_once(drupal_get_path('module', $module) .'/'. $module .'_help.inc');
   
-  $function = $module . '_adsense';
+  $function = $module .'_adsense';
   $error_flag = $function('status');
 
   $form['help'] = array(
diff -upr stock/adsense/adsense.module modified/adsense/adsense.module
--- stock/adsense/adsense.module	2008-03-31 17:03:53.000000000 -0500
+++ modified/adsense/adsense.module	2008-03-31 20:47:53.000000000 -0500
@@ -211,7 +211,7 @@ function adsense_perm() {
 }
 
 function adsense_admin_module_settings($module) {
-  $function = $module . '_adsense';
+  $function = $module .'_adsense';
   $form = $function('settings');
 
   return system_settings_form($form);
@@ -220,7 +220,7 @@ function adsense_admin_module_settings($
 function adsense_admin_settings() {
   // force a display of errors, if any
   $module = variable_get(ADSENSE_ID_MODULE, 'adsense_basic');
-  $function = $module . '_adsense';
+  $function = $module .'_adsense';
   if (function_exists($function)) {
     $error = $function('status');
   }
@@ -1135,7 +1135,8 @@ function _adsense_format($format, $group
 
   if (!empty($slot)) {
     $output .= _adsense_add_nl('google_ad_slot = "'. $slot .'";');
-  } else {
+  }
+  else {
   $group = _adsense_validate_group($group);
 
   $text     = variable_get(ADSENSE_COLOR_TEXT .   $group, '000000');
@@ -1510,7 +1511,7 @@ function adsense_get_client_id() {
   $module = variable_get(ADSENSE_ID_MODULE, 'adsense_basic');
 
   // Compose the function to be called
-  $function = $module . '_adsense';
+  $function = $module .'_adsense';
   // Call the function
   if (!function_exists($function)) {
     adsense_error(ADSENSE_ERROR_NO_MODULE);
@@ -1524,7 +1525,7 @@ function adsense_get_client_id() {
 }
 
 function adsense_error($error_code) {
-  switch($error_code) {
+  switch ($error_code) {
     case ADSENSE_ERROR_NO_MODULE:
       $text = t('No Google Adsense client ID choosing module is enabled. Please check your settings.');
       break;
diff -upr stock/adsense/revenue_sharing_basic.module modified/adsense/revenue_sharing_basic.module
--- stock/adsense/revenue_sharing_basic.module	2008-02-20 16:53:48.000000000 -0600
+++ modified/adsense/revenue_sharing_basic.module	2008-03-31 20:47:53.000000000 -0500
@@ -286,7 +286,7 @@ function revenue_sharing_basic_get_node_
 }
 
 function revenue_sharing_basic_error($error_code) {
-  switch($error_code) {
+  switch ($error_code) {
     case REVENUE_SHARING_BASIC_ERROR_CACHING_ENABLED:
       $text = t('Drupal page cache is enabled. This causes conflicts with revenue sharing, since the pages are stored in the cache and are not dynamically generated. If you experience issues with revenue sharing, then disable the page cache.');
       break;
