TW7S - Alternate Attachment View
Open template postbit_attachment, Replace all with: Code:
<!-- TW7S - Alternate Attachment View --> <li> <img class="inlineimg" src="{vb:stylevar imgdir_attach}/{vb:raw attachment.attachmentextension}.gif" alt="{vb:rawphrase file_type_x, {vb:raw attachment.attachmentextension}}" /> <a href="attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&d={vb:raw attachment.dateline}"<vb:if condition="$show['newwindow']"> target="_blank"</vb:if>>{vb:raw attachment.filename}</a> ({vb:raw attachment.filesize}) <br /> <vb:if condition="$show['views']"><p style="padding-left:20px;">This file has been downloaded {vb:raw attachment.counter} times.</p></vb:if> </li> <!-- TW7S - Alternate Attachment View --> Download No files for download. |