summaryrefslogtreecommitdiff
path: root/templates/post
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post')
-rw-r--r--templates/post/image_identification.html2
-rw-r--r--templates/post/name.html2
-rw-r--r--templates/post/poster_id.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/post/image_identification.html b/templates/post/image_identification.html
index eaef2259..ff25ff95 100644
--- a/templates/post/image_identification.html
+++ b/templates/post/image_identification.html
@@ -8,7 +8,7 @@
<a href="http://regex.info/exif.cgi?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">Exif</a>
{% endif %}
{% if config.image_identification_google %}
- <a href="https://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">Google</a>
+ <a href="https://www.google.com/searchbyimage?image_url={{ config.domain|url_encode }}{{ config.uri_img|url_encode }}{{ file.file|url_encode }}" target="_blank">Google</a>
{% endif %}
{% if config.image_identification_iqdb %}
<a href="http://iqdb.org/?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">iqdb</a>
diff --git a/templates/post/name.html b/templates/post/name.html
index 009b234d..13c676c7 100644
--- a/templates/post/name.html
+++ b/templates/post/name.html
@@ -1,5 +1,5 @@
{% set capcode = post.capcode|capcode %}
-{% if post.email|length > 0 %}
+{% if post.email|length > 0 and (config.hide_sage!=true or post.email!='sage') %}
{# start email #}
<a class="email" href="mailto:{{ post.email }}">
{% endif %}
diff --git a/templates/post/poster_id.html b/templates/post/poster_id.html
index 63cdf562..4efc56ff 100644
--- a/templates/post/poster_id.html
+++ b/templates/post/poster_id.html
@@ -1,7 +1,7 @@
{% if config.poster_ids %}
{% if post.thread %}
- ID: {{ post.ip|poster_id(post.thread) }}
+ ID: <span class="poster_id">{{ post.ip|poster_id(post.thread) }}</span>
{% else %}
- ID: {{ post.ip|poster_id(post.id) }}
+ ID: <span class="poster_id">{{ post.ip|poster_id(post.id) }}</span>
{% endif %}
{% endif %}