2013-07-31 04:28:26 -04:00
|
|
|
{% filter remove_whitespace %}
|
|
|
|
{# tabs and new lines will be ignored #}
|
|
|
|
<div class="post reply" id="reply_{{ post.id }}">
|
|
|
|
|
|
|
|
<p class="intro"{% if not index %} id="{{ post.id }}"{% endif %}>
|
|
|
|
<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 #}
|
|
|
|
<span class="subject">{{ post.subject|bidi_cleanup }}</span>
|
|
|
|
{% endif %}
|
|
|
|
{% if post.email|length > 0 %}
|
|
|
|
{# start email #}
|
|
|
|
<a class="email" href="mailto:{{ post.email }}">
|
|
|
|
{% endif %}
|
|
|
|
{% set capcode = post.capcode|capcode %}
|
|
|
|
<span {% if capcode.name %}style="{{ capcode.name }}" {% endif %}class="name">{{ post.name|bidi_cleanup }}</span>
|
|
|
|
{% if post.trip|length > 0 %}
|
|
|
|
<span {% if capcode.trip %}style="{{ capcode.trip }}" {% endif %}class="trip">{{ post.trip }}</span>
|
|
|
|
{% endif %}
|
|
|
|
{% if post.email|length > 0 %}
|
|
|
|
{# end email #}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% if capcode %}
|
|
|
|
{{ capcode.cap }}
|
|
|
|
{% endif %}
|
|
|
|
{% if post.mod and post.mod|hasPermission(config.mod.show_ip, board.uri) %}
|
2013-08-19 09:47:56 -04:00
|
|
|
[<a class="ip-link" style="margin:0;" href="?/IP/{{ post.ip }}">{{ post.ip }}</a>]
|
2013-07-31 04:28:26 -04:00
|
|
|
{% endif %}
|
2014-04-16 05:54:41 -04:00
|
|
|
{% include 'post/flag.html' %}
|
2013-07-31 04:28:26 -04:00
|
|
|
<time datetime="{{ post.time|date('%Y-%m-%dT%H:%M:%S') }}{{ timezone() }}">{{ post.time|date(config.post_date) }}</time>
|
|
|
|
</label>
|
|
|
|
{% if config.poster_ids %}
|
|
|
|
ID: {{ post.ip|poster_id(post.thread) }}
|
|
|
|
{% endif %}
|
2013-12-25 08:16:28 -05:00
|
|
|
<a class="post_no" onclick="return document.querySelectorAll('div.banner').length ? highlightReply({{ post.id }}) : true;" href="{{ post.link }}">No.</a>
|
|
|
|
<a class="post_no" onclick="return document.querySelectorAll('div.banner').length ? citeReply({{ post.id }}) : true;" href="{{ post.link('q') }}">
|
2013-07-31 04:28:26 -04:00
|
|
|
{{ post.id }}
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
{% if post.embed %}
|
|
|
|
{{ post.embed }}
|
|
|
|
{% elseif post.file == 'deleted' %}
|
2013-08-16 07:08:01 -04:00
|
|
|
<img class="post-image deleted" src="{{ config.image_deleted }}" alt="" />
|
2013-07-31 04:28:26 -04:00
|
|
|
{% elseif post.file and post.file %}
|
|
|
|
<p class="fileinfo">File: <a href="{{ config.uri_img }}{{ post.file }}">{{ post.file }}</a> <span class="unimportant">
|
|
|
|
(
|
|
|
|
{% if post.thumb == 'spoiler' %}
|
2014-04-16 05:54:41 -04:00
|
|
|
{% trans %}Spoiler Image{% endtrans %},
|
2013-07-31 04:28:26 -04:00
|
|
|
{% endif %}
|
|
|
|
{{ post.filesize|filesize }}
|
2013-08-16 14:07:32 -04:00
|
|
|
{% if post.filewidth and post.fileheight %}
|
|
|
|
, {{ post.filewidth}}x{{ post.fileheight }}
|
2013-07-31 04:28:26 -04:00
|
|
|
{% if config.show_ratio %}
|
|
|
|
, {{ post.ratio }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% if config.show_filename and post.filename %}
|
|
|
|
,
|
|
|
|
{% if post.filename|length > config.max_filename_display %}
|
2013-08-18 15:19:54 -04:00
|
|
|
<span class="postfilename" title="{{ post.filename|e }}">{{ post.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span>
|
2013-07-31 04:28:26 -04:00
|
|
|
{% else %}
|
2013-07-31 16:34:50 -04:00
|
|
|
<span class="postfilename">{{ post.filename|e|bidi_cleanup }}</span>
|
2013-07-31 04:28:26 -04:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2014-04-16 05:54:41 -04:00
|
|
|
{% include "post/image_identification.html" %}
|
2013-07-31 04:28:26 -04:00
|
|
|
)
|
2014-04-16 05:54:41 -04:00
|
|
|
</span></p>
|
|
|
|
{% include "post/image.html" %}
|
2013-07-31 04:28:26 -04:00
|
|
|
{% endif %}
|
|
|
|
{{ post.postControls }}
|
|
|
|
<div class="body">
|
|
|
|
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
|
2013-08-16 07:25:56 -04:00
|
|
|
{% if post.modifiers['ban message'] %}
|
|
|
|
{{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }}
|
|
|
|
{% endif %}
|
2013-07-31 04:28:26 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
{% endfilter %}
|