--- nodeauthor.module	2008-03-10 21:51:25.000000000 +0100
+++ nodeauthor.new.module	2008-03-28 02:22:45.000000000 +0100
@@ -20,7 +20,7 @@
  */
 
 function nodeauthor_perm() {
-  return array("edit own info", "view author info");
+  return array('edit own info', 'view author info');
 }
 
 /**
@@ -54,8 +54,8 @@
 function nodeauthor_menu() {
   $items = array();
   $items['admin/content/nodeauthor'] = array(
-      'title' => 'Nodeauthor',
-      'description' => 'Modify which node types displays nodeauthor information',
+      'title' => t('Nodeauthor'),
+      'description' => t('Modify which node types displays nodeauthor information'),
       'page callback' => 'drupal_get_form',
       'page arguments' => array('nodeauthor_admin_settings'),
       'access arguments' => array('administer site configuration'),
@@ -106,7 +106,7 @@
 function nodeauthor_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
   switch ($op) {
     case 'alter':
-      if (user_access("view author info")) {
+      if (user_access('view author info')) {
         $allowed = variable_get('nodes_add_info', array());    
         if ($allowed[$node->type]) {
           $user = user_load(array('uid' => $node->uid));
@@ -144,11 +144,11 @@
  * @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=\"" . file_create_url(check_plain($picture))."\" alt=\"".t("User picture")."\" /></div>";
+    $output .= '<div class="nodeauthor-pic"><img src="'. file_create_url(check_plain($picture)) .'" alt="'. t('User picture') .'" /></div>';
   }
   $output .= $info;
-  $ret .= '</div>';
+  $output .= '</div>';
   return $output;
 }
