Hi Xi Chen, one of the big changes in 2.0, under the hood, was switching from FCKeditor (which is end of life and increasingly buggy) to CKeditor for the WYSIWYG editing. I just tested and this seems to work in 2.0. However, I also just installed 1.0.1 and it worked for me there, too, on my localhost. So I'm not sure what's going on. But, in control/includes/classes/sp_Pluslet.php, this is the offending section (I think):
case "fil":
$ext = explode(".", $fields[1]);
$our_icon = showDocIcon($ext[1]);
$file = "$UserPath/$fields[1]";
$tokenized.= "<a href=\"$file\" $target>$fields[2]</a> <img style=\"position:relative; top:.3em;\" src=\"$IconPath/$our_icon\" alt=\"$ext[1]\" />";
break;
It seems like that IconPath is put in there fine, but not the $our_icon. You might want to print out that $ext[1]--it should show docx, that should be passed to showDocIcon (in functions.php), and it should return doc.png. But obviously that's not quite happening.
Andrew