diff options
| author | czaks <marcin@6irc.net> | 2013-08-16 10:07:24 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-08-16 10:07:24 -0400 |
| commit | 146243c473f24e6b86e711dd1afeebfcdd711af7 (patch) | |
| tree | 9b50f4b5bf76ada14b29cd9b672758f37522bd03 /templates/post_reply.html | |
| parent | c2ffd324369dc8db4f67e6f035ccc335b3b20be7 (diff) | |
| parent | 0565e2119d54cb4be8c6931ee42acfb586188893 (diff) | |
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
inc/config.php
inc/display.php
inc/functions.php
Diffstat (limited to 'templates/post_reply.html')
| -rw-r--r-- | templates/post_reply.html | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/templates/post_reply.html b/templates/post_reply.html index b0391f19..518a8edf 100644 --- a/templates/post_reply.html +++ b/templates/post_reply.html @@ -28,6 +28,11 @@ {% 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 %} + {% if config.display_flags and post.modifiers.flag %} + <img class="flag" src="{{ config.uri_flags|sprintf(post.modifiers.flag) }}" + style="{% if post.modifiers['flag style'] %}{{ post.modifiers['flag style'] }}{% else %}{{ config.flag_style }}{% endif %}" + {% if post.modifiers['flag alt'] %}title="{{ post.modifiers['flag alt'] | e('html_attr') }}"{% endif %}> + {% endif %} <time datetime="{{ post.time|date('%Y-%m-%dT%H:%M:%S') }}{{ timezone() }}">{{ post.time|date(config.post_date) }}</time> </label> {% if config.poster_ids %} @@ -49,7 +54,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">File: <a href="{{ config.uri_img }}{{ post.file }}">{{ post.file }}</a> <span class="unimportant"> ( @@ -87,7 +92,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] %} @@ -99,12 +104,15 @@ {{ config.root }}{{ config.spoiler_image }} {% else %} {{ config.uri_thumb }}{{ post.thumb }} - {% endif %}" style="width:{{ post.thumbx }}px;height:{{ post.thumby }}px" alt="" /> + {% endif %}" style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" alt="" /> </a> {% endif %} {{ post.postControls }} <div class="body"> {% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %} + {% if post.modifiers['ban message'] %} + {{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }} + {% endif %} </div> </div> <br/> |
