mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 12:23:48 +01:00
change times to local timezone before page render
This commit is contained in:
parent
e8bfdfd9c8
commit
78901785fd
@ -40,6 +40,11 @@
|
|||||||
<input type="hidden" name="board" value="{{ board.uri }}" />
|
<input type="hidden" name="board" value="{{ board.uri }}" />
|
||||||
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
|
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
|
||||||
{{ body }}
|
{{ body }}
|
||||||
|
|
||||||
|
{% if config.javascript_local_time %}
|
||||||
|
<script>{% raw %}init_localtime();{% endraw %}</script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="delete">
|
<div class="delete">
|
||||||
{% trans %}Delete Post{% endtrans %} [<input title="Delete file only" type="checkbox" name="file" id="delete_file" />
|
{% 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>
|
<label for="delete_file">{% trans %}File{% endtrans %}</label>] <label for="password">{% trans %}Password{% endtrans %}</label>
|
||||||
|
@ -226,7 +226,6 @@ function init() {
|
|||||||
highlightReply(window.location.hash.substring(1));
|
highlightReply(window.location.hash.substring(1));
|
||||||
|
|
||||||
{% endraw %}{% if config.inline_expanding %}{% raw %}init_expanding();{% endraw %}{% endif %}{% raw %}
|
{% 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 = {
|
var RecaptchaOptions = {
|
||||||
|
@ -42,6 +42,10 @@
|
|||||||
<input type="hidden" name="board" value="{{ board.uri }}" />
|
<input type="hidden" name="board" value="{{ board.uri }}" />
|
||||||
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
|
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
|
||||||
{{ body }}
|
{{ body }}
|
||||||
|
{% if config.javascript_local_time %}
|
||||||
|
<script>{% raw %}init_localtime();{% endraw %}</script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="delete">
|
<div class="delete">
|
||||||
{% trans %}Delete Post{% endtrans %} [<input title="Delete file only" type="checkbox" name="file" id="delete_file" />
|
{% 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>
|
<label for="delete_file">{% trans %}File{% endtrans %}</label>] <label for="password">{% trans %}Password{% endtrans %}</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user