관리페이지 설정 폼에서 숫자 입력 항목 필드의 type 을 number 로 변경

음수 및 `0`으로 입력되지 않아야 할 항목에 최소 값을 `0` 또는 `1`로 설정
This commit is contained in:
kkigomi 2024-01-10 00:12:21 +09:00
parent 1a913c3e49
commit 5486ec28e2
No known key found for this signature in database
GPG key ID: 99CF0633E78395B9
6 changed files with 17 additions and 17 deletions

View file

@ -179,7 +179,7 @@
<div class="x_control-group">
<label class="x_control-label" for="cache_default_ttl">{$lang->cache_default_ttl}</label>
<div class="x_controls">
<input type="text" name="cache_default_ttl" id="cache_default_ttl" value="{$cache_default_ttl}" /> {$lang->unit_sec}
<input type="number" min="1" name="cache_default_ttl" id="cache_default_ttl" value="{$cache_default_ttl}" /> {$lang->unit_sec}
</div>
</div>
<div class="x_control-group">