LifesGreatestGift
11-25-2010, 10:00 PM
https://vborg.vbsupport.ru/external/2010/11/8.jpg
Open template postbit_attachment, Replace all with:
<!-- 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 -->
Open template postbit_attachment, Replace all with:
<!-- 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 -->