logo

New Response

« Return to the main article

You are replying to:

  1. Less sophisticated, but with icon showing for all attachments not referenced.

    @If(!@Attachments; @Return("<tr><td colspan=4>There are no attachments on this document.</td></tr>"); ""); @Implode("<tr><td width=10><img src=/icons/vwicn" + @If( @Right(@AttachmentNames;".")="doc"; "142"; @Right(@AttachmentNames;".")="dot"; "142"; @Right(@AttachmentNames;".")="xls"; "141"; @Right(@AttachmentNames;".")="xlt"; "141"; @Right(@AttachmentNames;".")="txt"; "020"; @Right(@AttachmentNames;".")="zip"; "051"; @Right(@AttachmentNames;".")="exe"; "159"; @Right(@AttachmentNames;".")="gif"; "013"; @Right(@AttachmentNames;".")="jpg"; "013"; @Right(@AttachmentNames;".")="bmp"; "013"; @Right(@AttachmentNames;".")="html"; "070"; @Right(@AttachmentNames;".")="htm"; "070"; @Right(@AttachmentNames;".")="wav"; "015"; "006") + ".gif></td><td></td><td> <a href=\"" + @Text(@DocumentUniqueID) + "/$file/" + @AttachmentNames+ "\">" + @AttachmentNames + "</a></td><td>" + @Text(@Round(@AttachmentLengths/1024)) + " (KB)</td></tr>";@NewLine)

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: