Add option to limit the maximum thread depth of comments

This commit is contained in:
Kijin Sung 2024-10-09 16:45:36 +09:00
parent 81d9f46098
commit a4e9eb4a00
8 changed files with 60 additions and 0 deletions

View file

@ -19,6 +19,13 @@
<p class="x_help-inline">{$lang->about_comment_page_count}</p>
</div>
</div>
<div class="x_control-group">
<label for="max_thread_depth" class="x_control-label">{$lang->max_thread_depth}</label>
<div class="x_controls">
<input type="number" min="0" name="max_thread_depth" id="max_thread_depth" value="{$comment_config->max_thread_depth ?? ''}" />
<p class="x_help-inline">{$lang->about_max_thread_depth}</p>
</div>
</div>
<div class="x_control-group">
<label for="comment_count" class="x_control-label">{$lang->comment_default_page}</label>
<div class="x_controls">