Index: pontomail.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pontomail/pontomail.module,v retrieving revision 1.20 diff -u -r1.20 pontomail.module --- pontomail.module 16 Aug 2006 15:45:12 -0000 1.20 +++ pontomail.module 20 Aug 2006 11:34:29 -0000 @@ -1064,12 +1064,11 @@ array('data' => t('User Name')), array('data' => ' ')); $rows = array(); - $icon_path = drupal_get_path('module', 'pontomail') . '/mimeicons/'; + while($current_row = db_fetch_object($current_imap_servers)) { $row = array(); $active_icon = $current_row->enabled == 1 ? 'accept.png' : 'cancel.png'; - $active = array('#value' => - ""); + $active = array('#value' => theme('image', drupal_get_path('module', 'pontomail').'/mimeicons/'.$active_icon)); $row[] = form_render($active); $row[] = $current_row->server_name; $row[] = $current_row->user;