diff -r 4fbfb5cf79df drupal6/sites/all/modules/image_fupload/image_fupload_imagefield/image_fupload_imagefield.module --- a/drupal6/sites/all/modules/image_fupload/image_fupload_imagefield/image_fupload_imagefield.module Wed Jul 08 20:06:25 2009 +0700 +++ b/drupal6/sites/all/modules/image_fupload/image_fupload_imagefield/image_fupload_imagefield.module Thu Jul 09 21:57:49 2009 +0700 @@ -93,7 +93,7 @@ $fupload_widget_weight = $field['widget']['weight']; $file_max_size = parse_size($field['widget']['max_filesize_per_file']); // maximal allowed file size (bytes) - drupal_add_js(theme('swfupload_settings', base_path() . $module_path, url('fupload/flash'), round($file_max_size/1024), ("*." .str_replace(" ", "; *.", $field['widget']['file_extensions'])), (!empty($user->sid) ? $user->sid : session_id()), $upload_limit_count, $node_type, $field_name, (!empty($field['required']) ? "true" : "false"), $field['widget']['fupload_mode'], $redirect_url), 'inline'); + drupal_add_js(theme('swfupload_settings', base_path() . $module_path, url('fupload/flash'), round($file_max_size/1024), ("*." .str_replace(" ", "; *.", $field['widget']['file_extensions'] . ' ' . strtoupper($field['widget']['file_extensions']))), (!empty($user->sid) ? $user->sid : session_id()), $upload_limit_count, $node_type, $field_name, (!empty($field['required']) ? "true" : "false"), $field['widget']['fupload_mode'], $redirect_url), 'inline'); drupal_add_css($module_path .'/image_fupload-style.css', 'module', 'all', FALSE); // unvisible elements, will be written in cache