--- hotel_calendars.module	2010-01-04 00:28:09.000000000 +0000
+++ hotel_calendarsNew.module	2010-01-11 11:58:40.000000000 +0000
@@ -513,6 +513,10 @@ function hotel_calendars_month($node, $y
     $day_prices[$day]['cor'] = ($results['nocheckout'] > 0) ? TRUE : FALSE;
   }
 
+  // Get Currency Sign
+  $cur_sign_prefix = (variable_get('uc_sign_after_amount', FALSE)) ? '' : variable_get('uc_currency_sign', '$');
+  $cur_sign_suffix = (variable_get('uc_sign_after_amount', FALSE)) ? variable_get('uc_currency_sign', '$') : '';
+
   // Count up the days, until the end of the month
   while ($day_num <= $days_in_month) {
     $output .= '<td class="';
@@ -549,14 +553,11 @@ function hotel_calendars_month($node, $y
     if (variable_get('hotel_booking_display_calprices', TRUE)) {
       $output .= '<div class="calprice">';
       if ($day_prices[$day_num]['qty'] > 0) {
-        if ($day_prices[$day_num]['rate']) {
-          $output .='$'; // prefix monetary sign (this should be changed to a variable rather than hardcoded)
-        }
-        else {
+        if (!$day_prices[$day_num]['rate']) {
           $output .='&nbsp;'; // blank space to even out spacing of empty vs full dates.
         }
-        $output .= (round($day_prices[$day_num]['rate']) > 0) ?  round($day_prices[$day_num]['rate']) .'</div></td>' : '</div></td>';
-      }
+        $rate = round($day_prices[$day_num]['rate']);
+        $output .= (round($day_prices[$day_num]['rate']) > 0) ?  $cur_sign_prefix . round($day_prices[$day_num]['rate']) . $cur_sign_suffix .'</div></td>' : '&nbsp;</div></td>'; }
       else {
         $output .= '&nbsp;</div></td>';
       }
