--- quotes.module.old	2005-02-27 05:00:56.000000000 -0500
+++ quotes.module	2005-09-23 14:42:24.000000000 -0400
@@ -155,6 +155,13 @@
 } // function quotes_menu
 
 /**
+ * Implementation of hook_node_info().
+ */
+function quotes_node_info() {
+  return array('quotes' => array('name' => t('quote'), 'base' => 'quotes'));
+}
+
+/**
  * Implementation of hook_node_name().
  */
 function quotes_node_name($in_node) {
@@ -603,8 +610,8 @@
  * @ingroup themeable
  */
 function theme_quotes_quote($in_node) {
-  $in_node->body = check_output($in_node->body, $in_node->format);
-  $the_author = ($in_node->quotes_author ? check_output(variable_get('quotes_leader', '&mdash;') . ' ' . $in_node->quotes_author, $in_node->format) : '');
+  $in_node->body = check_markup($in_node->body, $in_node->format);
+  $the_author = ($in_node->quotes_author ? check_markup(variable_get('quotes_leader', '&mdash;') . ' ' . $in_node->quotes_author, $in_node->format) : '');
 
   return "
 <div class=\"quotes-quote\">
@@ -948,8 +955,7 @@
       $the_output .= form(form_submit(t('Install')));
     }
 
-    print theme('page', $the_output);
-    return;
+    return $the_output;
   }
 
   $the_form = form_item(t('Status'), t('Installed'));
@@ -959,7 +965,7 @@
   $the_form .= form_submit(t('Submit'));
   $the_output = form($the_form);
 
-  print theme('page', $the_output);
+  return $the_output;
 } //function _quotes_admin_overview
 
 /**
@@ -1017,7 +1023,7 @@
     $the_output .= theme('table', $the_header, array(array(array('data' => t('No blocks are defined.'), 'colspan' => 5))));
   }
 
-  print theme('page', $the_output);
+  return $the_output;
 } // function _quotes_blocks
 
 /**
@@ -1128,7 +1134,7 @@
 
   $the_output .= form($the_form);
 
-  print theme('page', $the_output);
+  return $the_output;
 } // function _quotes_blocks_form
 
 /**
@@ -1146,6 +1152,6 @@
   $the_output = t('<p>Are you sure you want to delete the block <em>%name</em>?', array('%name' => $the_block->name));
   $the_output .= form(form_submit(t('Delete')));
 
-  print theme('page', $the_output);
+  return $the_output;
 } // function _quotes_blocks_delete
 ?>
