--- content_panels_orig.inc	2008-02-29 03:52:51.000000000 +0000
+++ content_panels.inc	2008-02-29 04:07:31.000000000 +0000
@@ -42,20 +42,24 @@ function content_content_node_cck_group(
     // Print out the contents of the given group
     // Note, not using drupal_render($node->content[$groupname]) here to avoid printing the fieldset
     if (is_array($node->content[$groupname])) {
+      $vars = array();
       foreach ($node->content[$groupname] as $key => $value) {
         if (is_array($value)) {
           if (array_key_exists('#value', $value)) {
-            $output .= $value['#value'] ;
+            $vars[$key] = $value['#value'] ;
           }
         }
       }
     }
 
-    if (empty($output)) {
+    if (!empty($vars)) {
+      $block->content = theme('panels_content_group',$vars,$node->nid);   
+    } 
+    else {
       // Output the given empty text
-      $output = $conf['empty'];
+      $block->content = $conf['empty'];
     }
-    $block->content = $output;
+    
     $block->delta = $node->nid;
   }
   else {
@@ -68,6 +72,17 @@ function content_content_node_cck_group(
 }
 
 /**
+ * Allows users to theme the group
+ */
+function theme_panels_content_group($vars, $nid) {
+  foreach($vars as $field) {
+    $output .= $field;
+  }
+  
+  return $output;
+}
+
+/**
  * Return all content types available.
  */
 function content_admin_content_types_node_cck_group() {
