Hi.
Try this instead of the core - download Control.
You also have to write an Method getEndung(), wich returns the type of the file (doc, xls, txt etc)
Further you have to replace the icon (path) or just remove them.
Hope I could help.
CODE:
<xp:table>
<xp:repeat id="repeat1"
                                                rows="30" var="rowData" indexVar="rowIndex"><br/>
                                                   <xp:this.value><![CDATA[#{javascript:try{
var dwnAttach;
var dwnContent;
var dwnAll;
dwnAttach = document1.getAttachmentList("attach");
dwnContent = document1.getAttachmentList("content");
dwnAll = dwnAttach.concat(dwnContent);
dwnAll.sort();
}catch(e){
}
return dwnAll;}]]></xp:this.value>
                                                <xp:tr><br/>
                                                    <xp:td></xp:td><br/>
                                                    <xp:td></xp:td><br/>
                                                </xp:tr><br/>
                                                <xp:tr><br/>
                                                    <xp:td<br/>
                                                        style="height:25.0px;padding-bottom:px;padding-top:px;padding-right:10px"><br/>
                                                        <xp:text<br/>
                                                            escape="true" id="computedField4"<br/>
                                                               value="#{javascript:print_r(rowData);}"
                                                            rendered="false"><br/>
                                                        </xp:text><br/>
                                                        <xp:link<br/>
                                                            escape="true" id="link7"><br/>
                                                               <xp:this.value><![CDATA[#{javascript:try{
return document1.getDocument().getUniversalID() + "/$FILE/" +rowData.getName()
}catch (e) {
}}]]></xp:this.value>
                                                               <xp:this.text><![CDATA[#{javascript:try{
rowData.getName()
}catch(e){
}}]]></xp:this.text>
                                                        </xp:link><br/>
                                                    </xp:td><br/>
                                                    <xp:td><br/>
                                                        <xp:image<br/>
                                                            id="image8" style="width:27px;height:27px"><br/>
                                                               <xp:this.url><![CDATA[#{javascript:try{
var icon;
var endung = getEndung(rowData.getName());
//Method to get the ending of the icon file - have to write by yourself
if (endung == false){
return "/file.png";
}
return "/"+endung+".png";
}catch(e){
<br/>
}}]]></xp:this.url>
                                                        </xp:image><br/>
                                                         <br/>
                                                        <xp:text<br/>
                                                            escape="true" id="computedField7"><br/>
                                                               <xp:this.value><![CDATA[#{javascript:try{
rowData.getType()
}catch(e){
<br/>
}}]]></xp:this.value>
                                                        </xp:text><br/>
                                                    </xp:td><br/>
                                                </xp:tr><br/>
                                            </xp:repeat><br/>
                                        </xp:table>