2011-10-05 08:53:43 -04:00
|
|
|
{% filter remove_whitespace %}
|
|
|
|
{# tabs and new lines will be ignored #}
|
|
|
|
|
2012-05-03 10:21:16 -04:00
|
|
|
<div id="thread_{{ post.id }}">
|
2011-11-16 04:41:16 -05:00
|
|
|
|
2011-10-05 08:53:43 -04:00
|
|
|
{% if post.embed %}
|
|
|
|
{{ post.embed }}
|
|
|
|
{% elseif post.file == 'deleted' %}
|
2012-01-08 22:13:54 -05:00
|
|
|
<img src="{{ config.image_deleted }}" alt="" />
|
2011-10-05 08:53:43 -04:00
|
|
|
{% elseif post.file and post.file %}
|
2012-03-04 01:14:16 -05:00
|
|
|
<p class="fileinfo">{% trans %}File:{% endtrans %} <a href="{{ config.uri_img }}{{ post.file }}">{{ post.file }}</a> <span class="unimportant">
|
2011-10-05 08:53:43 -04:00
|
|
|
(
|
|
|
|
{% if post.thumb == 'spoiler' %}
|
2012-03-04 01:14:16 -05:00
|
|
|
{% trans %}Spoiler Image{% endtrans %},
|
2011-10-05 08:53:43 -04:00
|
|
|
{% endif %}
|
|
|
|
{{ post.filesize|filesize }}
|
|
|
|
{% if post.filex and post.filey %}
|
|
|
|
, {{ post.filex}}x{{ post.filey }}
|
|
|
|
{% if config.show_ratio %}
|
|
|
|
, {{ post.ratio }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2012-07-13 13:03:22 -04:00
|
|
|
{% if config.show_filename and post.filename %}
|
2011-10-05 08:53:43 -04:00
|
|
|
,
|
|
|
|
{% if post.filename|length > config.max_filename_display %}
|
|
|
|
<span title="{{ post.filename }}">{{ post.filename|truncate(config.max_filename_display) }}</span>
|
|
|
|
{% else %}
|
|
|
|
{{ post.filename }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2012-12-22 22:38:20 -05:00
|
|
|
{% if post.thumb != 'file' and config.image_identification %}
|
|
|
|
,
|
|
|
|
<span class='image_id'>
|
2012-12-28 13:08:25 -05:00
|
|
|
<a href="http://imgops.com/{{ config.domain }}{{ config.uri_img }}{{ post.file }}">io</a>
|
2012-12-22 22:38:20 -05:00
|
|
|
{% if post.file|extension == 'jpg' %}
|
|
|
|
<a href="http://regex.info/exif.cgi?url={{ config.domain }}{{ config.uri_img }}{{ post.file }}">e</a>
|
|
|
|
{% endif %}
|
|
|
|
<a href="http://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ post.file }}">g</a>
|
|
|
|
<a href="http://www.tineye.com/search?url={{ config.domain }}{{ config.uri_img }}{{ post.file }}">t</a>
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
2011-10-05 08:53:43 -04:00
|
|
|
)
|
|
|
|
</span></p>
|
2011-11-19 16:55:20 -05:00
|
|
|
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if post.thumb == 'file' %} class="file"{% endif %}>
|
2011-10-05 08:53:43 -04:00
|
|
|
<img src="
|
|
|
|
{% if post.thumb == 'file' %}
|
|
|
|
{{ config.root }}
|
|
|
|
{% if config.file_icons[post.filename|extension] %}
|
|
|
|
{{ config.file_thumb|sprintf(config.file_icons[post.filename|extension]) }}
|
|
|
|
{% else %}
|
|
|
|
{{ config.file_thumb|sprintf(config.file_icons.default) }}
|
|
|
|
{% endif %}
|
|
|
|
{% elseif post.thumb == 'spoiler' %}
|
|
|
|
{{ config.root }}{{ config.spoiler_image }}
|
|
|
|
{% else %}
|
|
|
|
{{ config.uri_thumb }}{{ post.thumb }}
|
|
|
|
{% endif %}" style="width:{{ post.thumbx }}px;height:{{ post.thumby }}px" alt="" /></a>
|
|
|
|
{% endif %}
|
2012-01-08 22:13:54 -05:00
|
|
|
<div class="post op"><p class="intro"{% if not index %} id="{{ post.id }}"{% endif %}>
|
2011-10-05 08:53:43 -04:00
|
|
|
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
|
|
|
|
<label for="delete_{{ post.id }}">
|
|
|
|
{% if post.subject|length > 0 %}
|
|
|
|
{# show subject #}
|
2012-01-08 22:13:54 -05:00
|
|
|
<span class="subject">{{ post.subject }}</span>
|
2011-10-05 08:53:43 -04:00
|
|
|
{% endif %}
|
|
|
|
{% if post.email|length > 0 %}
|
|
|
|
{# start email #}
|
2011-11-16 04:49:01 -05:00
|
|
|
<a class="email" href="mailto:{{ post.email }}">
|
2011-10-05 08:53:43 -04:00
|
|
|
{% endif %}
|
2011-12-04 18:33:31 -05:00
|
|
|
{% set capcode = post.capcode|capcode %}
|
|
|
|
<span {% if capcode.name %}style="{{ capcode.name }}" {% endif %}class="name">{{ post.name }}</span>
|
2011-10-05 08:53:43 -04:00
|
|
|
{% if post.trip|length > 0 %}
|
2011-12-04 18:33:31 -05:00
|
|
|
<span {% if capcode.trip %}style="{{ capcode.trip }}" {% endif %}class="trip">{{ post.trip }}</span>
|
2011-10-05 08:53:43 -04:00
|
|
|
{% endif %}
|
|
|
|
{% if post.email|length > 0 %}
|
|
|
|
{# end email #}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2011-12-04 18:33:31 -05:00
|
|
|
{% if capcode %}
|
|
|
|
{{ capcode.cap }}
|
2011-10-05 08:53:43 -04:00
|
|
|
{% endif %}
|
|
|
|
{% if post.mod and post.mod|hasPermission(config.mod.show_ip, board.uri) %}
|
|
|
|
[<a style="margin:0;" href="?/IP/{{ post.ip }}">{{ post.ip }}</a>]
|
|
|
|
{% endif %}
|
2013-07-20 00:09:51 -04:00
|
|
|
|
2012-02-19 07:38:55 -05:00
|
|
|
<time datetime="{{ post.time|date('%Y-%m-%dT%H:%M:%S') }}{{ timezone() }}">{{ post.time|date(config.post_date) }}</time>
|
2011-10-05 08:53:43 -04:00
|
|
|
</label>
|
|
|
|
{% if config.poster_ids %}
|
|
|
|
ID: {{ post.ip|poster_id(post.id) }}
|
|
|
|
{% endif %}
|
2013-07-20 00:09:51 -04:00
|
|
|
<a class="post_no" href="http://webchat.6irc.net/?channels=vichan-int-{{ board.uri }}-{{ post.id }}&nick=Anon....">
|
|
|
|
#</a>
|
|
|
|
|
|
|
|
<a class="post_no p1" href="{{ post.link }}">No.</a>
|
|
|
|
<a class="post_no p2"
|
2011-10-05 08:53:43 -04:00
|
|
|
{% if not index %}
|
|
|
|
onclick="citeReply({{ post.id }});"
|
|
|
|
{% endif %}
|
|
|
|
href="{% if index %}
|
|
|
|
{{ post.link('q') }}
|
|
|
|
{% else %}
|
|
|
|
javascript:void(0);
|
|
|
|
{% endif %}">
|
|
|
|
{{ post.id }}
|
|
|
|
</a>
|
|
|
|
{% if post.sticky %}
|
|
|
|
<img class="icon" title="Sticky" src="{{ config.image_sticky }}" alt="Sticky" />
|
|
|
|
{% endif %}
|
|
|
|
{% if post.locked %}
|
|
|
|
<img class="icon" title="Locked" src="{{ config.image_locked }}" alt="Locked" />
|
|
|
|
{% endif %}
|
2011-10-10 07:37:39 -04:00
|
|
|
{% if post.bumplocked and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %}
|
2012-02-23 13:35:32 -05:00
|
|
|
<img class="icon" title="Bumplocked" src="{{ config.image_bumplocked }}" alt="Bumplocked" />
|
2011-10-10 07:37:39 -04:00
|
|
|
{% endif %}
|
2011-10-05 08:53:43 -04:00
|
|
|
{% if index %}
|
2012-01-08 22:13:54 -05:00
|
|
|
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[{% trans %}Reply{% endtrans %}]</a>
|
2011-10-05 08:53:43 -04:00
|
|
|
{% endif %}
|
|
|
|
{{ post.postControls }}
|
2011-10-07 05:15:57 -04:00
|
|
|
</p>
|
2012-08-27 08:32:04 -04:00
|
|
|
<div class="body">
|
2011-10-05 08:53:43 -04:00
|
|
|
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
|
2012-08-27 08:32:04 -04:00
|
|
|
</div>
|
2011-10-05 08:53:43 -04:00
|
|
|
{% if post.omitted or post.omitted_images %}
|
|
|
|
<span class="omitted">
|
|
|
|
{% if post.omitted %}
|
2012-03-04 01:14:16 -05:00
|
|
|
{% trans %}
|
|
|
|
1 post
|
|
|
|
{% plural post.omitted %}
|
|
|
|
{{ count }} posts
|
|
|
|
{% endtrans %}
|
2011-10-05 08:53:43 -04:00
|
|
|
{% if post.omitted_images %}
|
2012-03-04 01:14:16 -05:00
|
|
|
{% trans %}and{% endtrans %}
|
2011-10-05 08:53:43 -04:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% if post.omitted_images %}
|
2012-03-04 01:14:16 -05:00
|
|
|
{% trans %}
|
|
|
|
1 image reply
|
|
|
|
{% plural post.omitted_images %}
|
|
|
|
{{ count }} image replies
|
|
|
|
{% endtrans %}
|
|
|
|
{% endif %} {% trans %}omitted. Click reply to view.{% endtrans %}
|
2011-10-05 08:53:43 -04:00
|
|
|
</span>
|
|
|
|
{% endif %}
|
2011-11-16 23:24:39 -05:00
|
|
|
{% if not index %}
|
|
|
|
{% endif %}
|
2011-10-05 08:53:43 -04:00
|
|
|
</div>{% endfilter %}
|
2011-10-05 09:42:27 -04:00
|
|
|
{% set hr = post.hr %}
|
2011-10-05 08:53:43 -04:00
|
|
|
{% for post in post.posts %}
|
|
|
|
{% include 'post_reply.html' %}
|
|
|
|
{% endfor %}
|
2011-10-05 09:42:27 -04:00
|
|
|
<br class="clear"/>{% if hr %}<hr/>{% endif %}
|
2012-05-03 10:21:16 -04:00
|
|
|
</div>
|