### Eclipse Workspace Patch 1.0
#P pay
Index: theme/pay.theme.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/pay/theme/pay.theme.inc,v
retrieving revision 1.10
diff -u -r1.10 pay.theme.inc
--- theme/pay.theme.inc	2 Nov 2010 01:13:52 -0000	1.10
+++ theme/pay.theme.inc	10 Nov 2010 16:49:48 -0000
@@ -115,7 +115,7 @@
   if ($variables['element']['cc_type']) {
     $path = drupal_get_path('module', 'pay') . '/theme/images/';
     foreach ($variables['element']['cc_type']['#options'] as $card => $label) {
-      $variables['element']['cc_type'][$card]['#title'] = '<img src="/'. $path . $card .'.png">';
+      $variables['element']['cc_type'][$card]['#title'] = theme('image', $path. $card .'.png', $label);
     }
   }
 
