### Eclipse Workspace Patch 1.0
#P zeb
Index: sites/all/modules/contrib/ubercart/uc_cart/uc_cart.module
===================================================================
--- sites/all/modules/contrib/ubercart/uc_cart/uc_cart.module	(revision 23924)
+++ sites/all/modules/contrib/ubercart/uc_cart/uc_cart.module	(working copy)
@@ -237,6 +237,9 @@
     'cart_review_table' => array(
       'arguments' => array('show_subtotal' => TRUE),
     ),
+    'cart_review_item' => array(
+      'arguments' => array('item' => NULL, 'tproduct' => NULL),
+    ),
     'uc_cart_checkout_form' => array(
       'arguments' => array('form' => NULL),
       'file' => 'uc_cart.pages.inc',
Index: sites/all/modules/contrib/ubercart/uc_cart/uc_cart_checkout_pane.inc
===================================================================
--- sites/all/modules/contrib/ubercart/uc_cart/uc_cart_checkout_pane.inc	(revision 23924)
+++ sites/all/modules/contrib/ubercart/uc_cart/uc_cart_checkout_pane.inc	(working copy)
@@ -44,19 +44,9 @@
             $tnode = $node;
           }
         }
-        $desc = check_plain($tnode->title) . uc_product_get_description($item);
 
-        $price_info = array(
-          'price' => $item->price,
-          'qty' => $item->qty,
-        );
-        $context['subject'] = array(
-          'cart' => $items,
-          'cart_item' => $item,
-          'node' => node_load($item->nid),
-        );
-        $output .= '<tr valign="top"><td>'. $item->qty .'&times;</td><td width="100%">'. $desc
-                  .'</td><td nowrap="nowrap">'. uc_price($price_info, $context) .'</td></tr>';
+        // Theme one item and add to $output.
+        $output .= theme('cart_review_item', $item, $tnode);
       }
       $output .= '</table>';
       $review[] = $output;
@@ -445,6 +435,34 @@
   }
 }
 
+
+/**
+ * Theme one item in the checkout review page.
+ * Add the picture for the product.
+ *
+ * @param stdClass $item Every distinct item in the shopping cart to be reviewed.
+ * @param stdClass $tproduct The product node (translated).
+ */
+function theme_cart_review_item($item, $tproduct) {
+  $desc = check_plain($tproduct->title) . uc_product_get_description($item);
+
+  $price_info = array(
+    'price' => $item->price,
+    'qty' => $item->qty,
+  );
+  $context['subject'] = array(
+    'cart' => $items,
+    'cart_item' => $item,
+    'node' => node_load($item->nid),
+  );
+
+  $output .= '<tr valign="top"><td>'. $item->qty .'&times;</td><td width="100%">'. $desc
+            .'</td><td nowrap="nowrap">'. uc_price($price_info, $context) .'</td></tr>';
+
+  return $output;
+}
+
+
 /**
  * Theme the delivery/billing address forms in tables.
  *
