main.js: refactor captcha parameters to be managed in JS

This commit is contained in:
Zankaria 2024-08-04 01:16:51 +02:00
parent 584fac7caa
commit 1b3b8cb9b6
6 changed files with 29 additions and 17 deletions

View file

@ -8,7 +8,7 @@
, board_name = "{{ board.uri }}"
, thread_id = "{{ thread.id }}";
</script>
{% include 'captcha_script.html' %}
{{ include('captcha_script.html', { form_action_type: 'post_reply' }) }}
{% include 'header.html' %}
@ -54,7 +54,7 @@
{{ config.ad.top }}
{{ include('post_form.html', {form_action_type: 'post-reply'}) }}
{% include 'post_form.html' %}
{% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
<hr />