--- uc_quotes.module	2009-02-24 02:11:18.000000000 +0100
+++ uc_quotes.module.new	2009-10-27 08:21:00.000000000 +0100
@@ -51,8 +51,14 @@
 function theme_uc_quotes_product_grid($products) {
   $product_table = '<div class="category-grid-products"><table>';
   $count = 0;
+  $context = array(
+    'revision' => 'themed',
+    'type' => 'product',
+  );
+  
   foreach ($products as $nid) {
     $product = node_load($nid);
+    $context['subject'] = array('node' => $product);
 
     if ($count == 0) {
       $product_table .= "<tr>";
@@ -71,18 +77,18 @@
 
     $product_table .= '<td>';
     if (variable_get('uc_catalog_grid_display_title', TRUE)) {
-      $product_table .= '<span class="catalog_grid_title">'. $titlelink .'</span>';
+      $product_table .= '<span class="catalog-grid-title">'. $titlelink .'</span>';
     }
     if (variable_get('uc_catalog_grid_display_model', TRUE)) {
-      $product_table .= '<span class="catalog_grid_ref">'. $product->model .'</span>';
+      $product_table .= '<span class="catalog-grid-ref">'. $product->model .'</span>';
     }
-    $product_table .= '<span class="catalog_grid_image">'. $imagelink .'</span>';
+    $product_table .= '<span class="catalog-grid-image">'. $imagelink .'</span>';
     if (variable_get('uc_catalog_grid_display_sell_price', TRUE)) {
       if (db_result(db_query("SELECT quote FROM {uc_quotes} WHERE nid = %d", $nid))) {
-        $product_table .= '<span class="catalog_grid_sell_price">'. t('Inquire for Price') .'</span>';
+        $product_table .= '<span class="catalog-grid-sell-price">'. t('Inquire for Price') .'</span>';
       }
       else {
-        $product_table .= '<span class="catalog_grid_sell_price">'. uc_currency_format($product->sell_price) .'</span>';
+        $product_table .= '<span class="catalog-grid-sell-price">'. uc_price($product->sell_price, $context) .'</span>';
       }
       
     }
