Fix #1216 restrict max level if max_input_vars is low

This commit is contained in:
Kijin Sung 2019-11-22 20:13:04 +09:00
parent 6213708216
commit b158aeb9d5
4 changed files with 9 additions and 4 deletions

View file

@ -18,8 +18,8 @@
<div class="x_control-group">
<label for="max_level" class="x_control-label">{$lang->max_level}</label>
<div class="x_controls">
<input type="number" min="0" max="1000" value="{$config->max_level}" name="max_level" id="max_level" />
<p class="x_help-block">{$lang->about_max_level}</p>
<input type="number" min="0" max="{$system_max_level}" value="{$config->max_level}" name="max_level" id="max_level" />
<p class="x_help-block">{sprintf($lang->about_max_level, $system_max_level)}</p>
</div>
</div>
<div class="x_control-group">