Browse Source

change times to local timezone before page render

pull/40/head
Michael Save 12 years ago
parent
commit
78901785fd
  1. 5
      templates/index.html
  2. 1
      templates/main.js
  3. 4
      templates/thread.html

5
templates/index.html

@ -40,6 +40,11 @@
<input type="hidden" name="board" value="{{ board.uri }}" />
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
{{ body }}
{% if config.javascript_local_time %}
<script>{% raw %}init_localtime();{% endraw %}</script>
{% endif %}
<div class="delete">
{% trans %}Delete Post{% endtrans %} [<input title="Delete file only" type="checkbox" name="file" id="delete_file" />
<label for="delete_file">{% trans %}File{% endtrans %}</label>] <label for="password">{% trans %}Password{% endtrans %}</label>

1
templates/main.js

@ -226,7 +226,6 @@ function init() {
highlightReply(window.location.hash.substring(1));
{% endraw %}{% if config.inline_expanding %}{% raw %}init_expanding();{% endraw %}{% endif %}{% raw %}
{% endraw %}{% if config.javascript_local_time %}{% raw %}init_localtime();{% endraw %}{% endif %}{% raw %}
}
var RecaptchaOptions = {

4
templates/thread.html

@ -42,6 +42,10 @@
<input type="hidden" name="board" value="{{ board.uri }}" />
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
{{ body }}
{% if config.javascript_local_time %}
<script>{% raw %}init_localtime();{% endraw %}</script>
{% endif %}
<div class="delete">
{% trans %}Delete Post{% endtrans %} [<input title="Delete file only" type="checkbox" name="file" id="delete_file" />
<label for="delete_file">{% trans %}File{% endtrans %}</label>] <label for="password">{% trans %}Password{% endtrans %}</label>

Loading…
Cancel
Save