Index: webfm.module =================================================================== RCS file: /cvs/drupal/contributions/modules/webfm/webfm.module,v retrieving revision 1.30 diff -u -r1.30 webfm.module --- webfm.module 9 Dec 2008 18:24:58 -0000 1.30 +++ webfm.module 2 Feb 2009 13:15:47 -0000 @@ -1687,7 +1687,7 @@ * Function to pass base_url, icon directory, debug and cleanurl flags */ function webfm_inline_js($base_url, $base_path, $clean_url, $uid) { - $js = '' ; + $js = '' ; drupal_set_html_head($js); return $js; } Index: webfm_theme.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/webfm/webfm_theme.inc,v retrieving revision 1.3 diff -u -r1.3 webfm_theme.inc --- webfm_theme.inc 2 Dec 2008 17:53:50 -0000 1.3 +++ webfm_theme.inc 2 Feb 2009 13:15:47 -0000 @@ -15,7 +15,7 @@ $rows = array(); foreach ($files as $file) { // 0 =inline : 1 = attach - $icon_path = $base_url.'/'.variable_get('webfm_icon_dir', '').'/'._webfm_get_icon($file->e); + $icon_path = $base_url.'/'.variable_get('webfm_icon_dir', drupal_get_path('module', 'webfm') . '/image/icon').'/'._webfm_get_icon($file->e); $description = ''; if(variable_get('webfm_attach_desc', '') && !empty($file->fdesc)) { $description = '
'.$file->fdesc.'
';