? drupalorg-patch-1.patch
? drupalorg-patch-2.patch
? x
Index: branches.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drupalorg/blocks_and_nodes/branches.module,v
retrieving revision 1.1
diff -u -F^f -r1.1 branches.module
--- branches.module	1 Jul 2008 21:06:47 -0000	1.1
+++ branches.module	1 Jul 2008 22:25:35 -0000
@@ -3,14 +3,16 @@
 
 function branches_nodeapi(&$node, $op = 'view', $teaser = FALSE, $page = FALSE) {
   if ($op == 'view' && $page) {
+    $extra = '';
     switch ($node->nid) {
       case 97084:
-        $node->body .= branches_body_contrib();
-        return;
+        $extra = branches_body_contrib();
+        break;
       case 93997:
-        $node->body .= branches_body_core();
-        return;
+        $extra = branches_body_core();
+        break;
     }
+    $node->content['body']['#value'] .= $extra;
   }
 }
 
@@ -28,7 +30,6 @@ function branches_body_contrib() {
 }
 
 function branches_body_core() {
-
   $output = '<ul>';
   $query= db_query("SELECT tag
     FROM {cvs_tags}
Index: handbook.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drupalorg/blocks_and_nodes/handbook.module,v
retrieving revision 1.1
diff -u -F^f -r1.1 handbook.module
--- handbook.module	1 Jul 2008 21:06:47 -0000	1.1
+++ handbook.module	1 Jul 2008 22:25:35 -0000
@@ -3,36 +3,38 @@
 
 function handbook_nodeapi(&$node, $op = 'view', $teaser = FALSE, $page = FALSE) {
   if ($op == 'view' && $page) {
+    $extra = '';
     switch ($node->nid) {
       case 43633: // Handbook pages with comments
-        $node->body .= handbook_with_comments();
-        return;
+        $extra = handbook_with_comments();
+        break;
       case 43639: // Most popular handbooks
-        $node->body .= handbook_most_popular();
-        return;
+        $extra = handbook_most_popular();
+        break;
       case 322: // Mailing list subscription
-        $node->body .= drupal_get_form('lists_subscribe');
-        return;
+        $extra = drupal_get_form('lists_subscribe');
+        break;
       case 318: // Coding standards, filtered for XSS
         $file = file_get_contents('/var/www/drupal.org/project/cvs/contrib-cvs/CODING_STANDARDS.html');
-        $node->body .= filter_xss_admin($file);
-        return;
+        $extra = filter_xss_admin($file);
+        break;
       case 13355: // Site maintainers
-        $node->body .= handbook_site_maintainers();
-        return;
+        $extra = handbook_site_maintainers();
+        break;
       case 109372: // Handbook maintainers
-        $node->body .= handbook_maintainers();
-        return;
+        $extra = handbook_maintainers();
+        break;
       case 14205: // Book contributors
-        $node->body .= handbook_book_contributors();
-        return;
+        $extra = handbook_book_contributors();
+        break;
       case 263594: // Revision maintainers
-        $node->body .= handbook_revision_maintainers();
-        return;
+        $extra = handbook_revision_maintainers();
+        break;
       case 23192: // Recent updates
-        $node->body .= handbook_recent_updates();
-        return;
+        $extra = handbook_recent_updates();
+        break;
     }
+    $node->content['body']['#value'] .= $extra;
   }
 }
 
Index: project_stuff.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drupalorg/blocks_and_nodes/project_stuff.module,v
retrieving revision 1.1
diff -u -F^f -r1.1 project_stuff.module
--- project_stuff.module	1 Jul 2008 21:06:47 -0000	1.1
+++ project_stuff.module	1 Jul 2008 22:25:35 -0000
@@ -3,14 +3,16 @@
 
 function project_stuff_nodeapi(&$node, $op = 'view', $teaser = FALSE, $page = FALSE) {
   if ($op == 'view' && $page) {
+    $extra = '';
     switch ($node->nid) {
       case 206666:
-        $node->body .= project_stuff_by_core();
-        return;
+        $extra = project_stuff_by_core();
+        break;
       case 199251:
-        $node->body .= project_stuff_cvs_rss();
-        return;
+        $extra = project_stuff_cvs_rss();
+        break;
     }
+    $node->content['body']['#value'] .= $extra;
   }
 }
 
Index: quick_stats.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drupalorg/blocks_and_nodes/quick_stats.module,v
retrieving revision 1.1
diff -u -F^f -r1.1 quick_stats.module
--- quick_stats.module	1 Jul 2008 21:06:47 -0000	1.1
+++ quick_stats.module	1 Jul 2008 22:25:35 -0000
@@ -3,14 +3,16 @@
 
 function quick_stats_nodeapi(&$node, $op = 'view', $teaser = FALSE, $page = FALSE) {
   if ($op == 'view' && $page) {
+    $extra = '';
     switch ($node->nid) {
       case 146019:
-        $node->body .= quick_stats_handbook();
-        return;
+        $extra = quick_stats_handbook();
+        break;
       case 190833:
-        $node->body .= quick_stats_report();
-        return;
+        $extra = quick_stats_report();
+        break;
     }
+    $node->content['body']['#value'] .= $extra;
   }
 }
 
Index: searchquery.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drupalorg/blocks_and_nodes/searchquery.module,v
retrieving revision 1.1
diff -u -F^f -r1.1 searchquery.module
--- searchquery.module	1 Jul 2008 21:06:47 -0000	1.1
+++ searchquery.module	1 Jul 2008 22:25:35 -0000
@@ -3,11 +3,13 @@
 
 function searchquery_nodeapi(&$node, $op = 'view', $teaser = FALSE, $page = FALSE) {
   if ($op == 'view' && $page) {
+    $extra = '';
     switch ($node->nid) {
       case 48380:
-        $node->body .= search_query_list();
-        return;
+        $extra = search_query_list();
+        break;
     }
+    $node->content['body']['#value'] .= $extra;
   }
 }
 
