summaryrefslogtreecommitdiff
path: root/templates/post_thread.html
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-16 21:08:01 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-16 21:08:01 +1000
commitb666886416f793074669a7e2bc1d7cc3c2b4746a (patch)
treee5f69f4279621ce72747707e164aa358354b084c /templates/post_thread.html
parent88dff2a683ea580930b95ffa33cccdf648d89cab (diff)
A few modifications:
1. Finally, clean up some of the crappy code in inc/display.php; no more extreme clutter. new Thread() and new Post() take an array as the first parameter now. 2. Poster country flags. Currently requires the "geoip" extension. 3. Give post images a classname. This was also long-overdue.
Diffstat (limited to 'templates/post_thread.html')
-rw-r--r--templates/post_thread.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/post_thread.html b/templates/post_thread.html
index 21add308..5caca9a4 100644
--- a/templates/post_thread.html
+++ b/templates/post_thread.html
@@ -6,7 +6,7 @@
{% if post.embed %}
{{ post.embed }}
{% elseif post.file == 'deleted' %}
- <img src="{{ config.image_deleted }}" alt="" />
+ <img class="post-image deleted" src="{{ config.image_deleted }}" alt="" />
{% elseif post.file and post.file %}
<p class="fileinfo">{% trans %}File:{% endtrans %} <a href="{{ config.uri_img }}{{ post.file }}">{{ post.file }}</a> <span class="unimportant">
(
@@ -42,7 +42,7 @@
)
</span></p>
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if post.thumb == 'file' %} class="file"{% endif %}>
-<img src="
+<img class="post-image" src="
{% if post.thumb == 'file' %}
{{ config.root }}
{% if config.file_icons[post.filename|extension] %}