Index: nodeauthor/nodeauthor.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/nodeauthor/nodeauthor.module,v
retrieving revision 1.2.2.2
diff -u -r1.2.2.2 nodeauthor.module
--- nodeauthor/nodeauthor.module	3 Jan 2008 15:07:32 -0000	1.2.2.2
+++ nodeauthor/nodeauthor.module	3 Jan 2008 15:53:48 -0000
@@ -19,7 +19,7 @@
  * Implementation of hook_perm().
  */
 function nodeauthor_perm() {
-  return array("edit own info", "view author info");
+  return array('edit own info', 'view author info');
 }
 
 /**
@@ -99,7 +99,6 @@
   return system_settings_form($form);
 }
 
-
 /**
  * Implementation of hook_nodeapi().
  */
@@ -117,8 +116,7 @@
             } else {
               $picture = NULL;
             }
-            $path = drupal_get_path('module', 'nodeauthor');
-            drupal_add_css($path . '/nodeauthor.css');
+            drupal_add_css(drupal_get_path('module', 'nodeauthor') .'/nodeauthor.css');
             $info = check_markup($user->info, $user->format);
             $node->body .= theme('authorinfo', $info, $picture);
           }
@@ -145,9 +143,9 @@
  * @ingroup themeable
  */
 function theme_authorinfo($info, $picture) {
-  $output = "<div class=\"nodeauthor-info\"><span>" . t("About the author") . "</span>";
+  $output = '<div class="nodeauthor-info"><span>'. t('About the author') .'</span>';
   if (isset($picture)) {
-    $output .= "<div class=\"nodeauthor-pic\"><img src=\"/" . check_plain($picture)."\" alt=\"".t("User picture")."\" /></div>";
+    $output .= '<div class="nodeauthor-pic"><img src="/'. check_plain($picture) .'" alt="'. t("User picture") .'" /></div>';
   }
   $output .= $info;
   $output .= '</div>';
