Fixed bug with custom file icons for non-image uploads

This commit is contained in:
Savetheinternet 2011-11-20 08:55:20 +11:00
parent 7e4a58cbf6
commit 7e40483b68
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@
)
</span>
</p>
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if this.thumb == 'file' %} class="file"{% endif %}>
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if post.thumb == 'file' %} class="file"{% endif %}>
<img src="
{% if post.thumb == 'file' %}
{{ config.root }}

View File

@ -32,7 +32,7 @@
{% endif %}
)
</span></p>
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if this.thumb == 'file' %} class="file"{% endif %}>
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if post.thumb == 'file' %} class="file"{% endif %}>
<img src="
{% if post.thumb == 'file' %}
{{ config.root }}