From e034b9179dd2777353c369910e65350d5496b779 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 6 Apr 2014 21:48:31 +0200 Subject: fix paths in templates --- templates/post_reply.html | 33 ++++++++++++++++++++++++--------- templates/post_thread.html | 42 +++++++++++++++++++++++++++++------------- 2 files changed, 53 insertions(+), 22 deletions(-) (limited to 'templates') diff --git a/templates/post_reply.html b/templates/post_reply.html index 713ddac9..bdac289d 100644 --- a/templates/post_reply.html +++ b/templates/post_reply.html @@ -93,20 +93,35 @@ )

- - + {% if post.thumb|extension == 'webm' %} + + {% else %} + + {% endif %} {% endif %} {{ post.postControls }} diff --git a/templates/post_thread.html b/templates/post_thread.html index 113444be..fdf6369a 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -41,20 +41,36 @@ {% endif %} )

- - + {% if post.thumb|extension == 'webm' %} + {% else %} - {{ config.uri_thumb }}{{ post.thumb }} - {% endif %}" style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" alt="" /> + + {% endif %} + {% endif %}

-- cgit v1.3 From 15c0802c061ea8e49536d32ce5b3d55c641b39ca Mon Sep 17 00:00:00 2001 From: czaks Date: Thu, 10 Apr 2014 11:01:37 +0200 Subject: Disable the sucky chrome autofill MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It used to force login into "embed" field and password into post password. Disabling autocomplete (at form) didn't work. Recreating the fields either. Trying to induce default values didn't as well. x-autocompletetype didn't. What worked – creating two dummy fields: ...just before the real post password. --- templates/post_form.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/post_form.html b/templates/post_form.html index 450377d8..09c2d48f 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -101,7 +101,7 @@ {{ antibot.html() }} - + {% endif %} @@ -130,9 +130,14 @@ {% trans %}Password{% endtrans %} {{ antibot.html() }} + + + + + - + {% trans %}(For file deletion.){% endtrans %} {{ antibot.html() }} -- cgit v1.3 From 677e428a4dc6a2144d96c185efc65463efea08b6 Mon Sep 17 00:00:00 2001 From: Michael Reiley Date: Sat, 12 Apr 2014 11:12:42 -0700 Subject: Update copyright years. --- LICENSE.md | 2 +- mod.php | 2 +- post.php | 2 +- templates/generic_page.html | 2 +- templates/index.html | 2 +- templates/page.html | 4 ++-- templates/thread.html | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'templates') diff --git a/LICENSE.md b/LICENSE.md index 74cf71ee..2bc2f186 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,5 +1,5 @@ # License -Copyright (c) 2010-2013 Tinyboard Development Group (tinyboard.org) +Copyright (c) 2010-2014 Tinyboard Development Group (tinyboard.org) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/mod.php b/mod.php index f6a4aa0c..2cf7bd16 100644 --- a/mod.php +++ b/mod.php @@ -1,7 +1,7 @@ {{ boardlist.bottom }}

-

Powered by Tinyboard {{ config.version }} | Tinyboard Copyright © 2010-2013 Tinyboard Development Group

+

Powered by Tinyboard {{ config.version }} | Tinyboard Copyright © 2010-2014 Tinyboard Development Group

{% for footer in config.footer %}

{{ footer }}

{% endfor %}