| 
					
				 | 
			
			
				@@ -113,12 +113,12 @@ function uc_payment_method_cod($op, &$order, $form = NULL, $form_state = NULL) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   switch ($op) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     case 'cart-details': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       $build['policy'] = array( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        '#markup' => '<p>' . variable_get('uc_cod_policy', t('Full payment is expected upon delivery or prior to pick-up.')) . '</p>' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        '#markup' => '<p>' . variable_get('uc_cod_policy', t('Full payment is expected upon delivery or prior to pick-up.')) . '</p>', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (($max = variable_get('uc_cod_max_order', 0)) > 0 && is_numeric($max)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $build['eligibility'] = array( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          '#markup' => '<p>' . t('Orders totalling more than !number are <b>not eligible</b> for COD.', array('!number' => uc_currency_format($max))) . '</p>' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          '#markup' => '<p>' . t('Orders totalling more than !number are <b>not eligible</b> for COD.', array('!number' => uc_currency_format($max))) . '</p>', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -186,7 +186,7 @@ function uc_payment_method_cod($op, &$order, $form = NULL, $form_state = NULL) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           $order->order_total > $max) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $result[] = array( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           'pass' => FALSE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          'message' => t('Your final order total exceeds the maximum for COD payment.  Please go back and select a different method of payment.') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          'message' => t('Your final order total exceeds the maximum for COD payment.  Please go back and select a different method of payment.'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $_SESSION['expanded_panes'][] = 'payment'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return $result; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -264,7 +264,7 @@ function uc_payment_method_check($op, &$order, $form = NULL, &$form_state = NULL 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   switch ($op) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     case 'cart-details': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       $build['instructions'] = array( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        '#markup' => t('Checks should be made out to:') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        '#markup' => t('Checks should be made out to:'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (!variable_get('uc_check_mailing_street1', FALSE)) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -303,7 +303,7 @@ function uc_payment_method_check($op, &$order, $form = NULL, &$form_state = NULL 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       $build['policy'] = array( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        '#markup' => '<p>' . variable_get('uc_check_policy', '') . '</p>' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        '#markup' => '<p>' . variable_get('uc_check_policy', '') . '</p>', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return $build; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -321,7 +321,7 @@ function uc_payment_method_check($op, &$order, $form = NULL, &$form_state = NULL 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             variable_get('uc_store_zone', ''), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             variable_get('uc_store_postal_code', ''), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             variable_get('uc_store_country', 840) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -337,7 +337,7 @@ function uc_payment_method_check($op, &$order, $form = NULL, &$form_state = NULL 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             variable_get('uc_check_mailing_zone', ''), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             variable_get('uc_check_mailing_postal_code', ''), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             variable_get('uc_check_mailing_country', 840) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return $review; 
			 |