관리자: 게시판 수정 숫자 검사, 마이너스 값 때문에 numeric 빼기

This commit is contained in:
whitedot
2013-01-15 17:26:54 +09:00
parent e6ab902a4a
commit 009d1119fa

View File

@ -722,7 +722,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<tr>
<th scope="row"><label for="bo_read_point">글읽기 포인트</label></th>
<td>
<input type="text" id="bo_read_point" name="bo_read_point" class="required numeric" value="<?=$board['bo_read_point']?>" size="5">
<input type="text" id="bo_read_point" name="bo_read_point" class="required" value="<?=$board['bo_read_point']?>" size="5">
</td>
<td class="group_setting">
<input type="checkbox" id="chk_read_point" name="chk_read_point" value="1">
@ -732,7 +732,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<tr>
<th scope="row"><label for="bo_write_point">글쓰기 포인트</label></th>
<td>
<input type="text" id="bo_write_point" name="bo_write_point" class="required numeric" value="<?=$board['bo_write_point']?>" size="5">
<input type="text" id="bo_write_point" name="bo_write_point" class="required" value="<?=$board['bo_write_point']?>" size="5">
</td>
<td class="group_setting">
<input type="checkbox" id="chk_write_point" name="chk_write_point" value="1">
@ -742,7 +742,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<tr>
<th scope="row"><label for="bo_comment_point">댓글쓰기 포인트</label></th>
<td>
<input type="text" id="bo_comment_point" name="bo_comment_point" class="required numeric" value="<?=$board['bo_comment_point']?>" size="5">
<input type="text" id="bo_comment_point" name="bo_comment_point" class="required" value="<?=$board['bo_comment_point']?>" size="5">
</td>
<td class="group_setting">
<input type="checkbox" id="chk_comment_point" name="chk_comment_point" value="1">
@ -752,7 +752,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<tr>
<th scope="row"><label for="bo_download_point">다운로드 포인트</label></th>
<td>
<input type="text" id="bo_download_point" name="bo_download_point" class="required numeric" value="<?=$board['bo_download_point']?>" size="5">
<input type="text" id="bo_download_point" name="bo_download_point" class="required" value="<?=$board['bo_download_point']?>" size="5">
</td>
<td class="group_setting">
<input type="checkbox" id="chk_download_point" name="chk_download_point" value="1">