From 356c388eafe1e5d4b7a4e3c8d4231e366d46a979 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 18 Feb 2013 16:56:12 +0900 Subject: [PATCH 1/5] =?UTF-8?q?=EC=84=A0=ED=83=9D=ED=95=AD=EB=AA=A9=20?= =?UTF-8?q?=EA=B0=9C=EC=88=98=20=EC=B2=B4=ED=81=AC=ED=95=98=EB=8A=94=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/auth_list.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/adm/auth_list.php b/adm/auth_list.php index 09961646f..e055b6d3d 100644 --- a/adm/auth_list.php +++ b/adm/auth_list.php @@ -194,10 +194,8 @@ $colspan = 5; + diff --git a/adm/point_list_delete.php b/adm/point_list_delete.php index c0fdd176d..7a3ac663e 100644 --- a/adm/point_list_delete.php +++ b/adm/point_list_delete.php @@ -8,7 +8,11 @@ auth_check($auth[$sub_menu], 'd'); check_token(); -for ($i=0; $i Date: Mon, 18 Feb 2013 17:00:04 +0900 Subject: [PATCH 4/5] =?UTF-8?q?=EC=84=A0=ED=83=9D=ED=95=AD=EB=AA=A9=20?= =?UTF-8?q?=EA=B0=9C=EC=88=98=20=EC=B2=B4=ED=81=AC=ED=95=98=EB=8A=94=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/poll_list.php | 5 ++--- adm/popular_list.php | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/adm/poll_list.php b/adm/poll_list.php index 16be70876..03513d4f8 100644 --- a/adm/poll_list.php +++ b/adm/poll_list.php @@ -139,9 +139,8 @@ $colspan = 6; $(function() { $('#fpolllist').submit(function() { if(confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n정말 삭제하시겠습니까?")) { - var cnt = $('input[name^=chk]:checked').length; - if(cnt < 1) { - alert('삭제할 투표목록을 1개이상 선택해 주세요.'); + if (!is_checked("chk[]")) { + alert("선택삭제 하실 항목을 하나 이상 선택하세요."); return false; } diff --git a/adm/popular_list.php b/adm/popular_list.php index 5fea19e5a..a3c14e07d 100644 --- a/adm/popular_list.php +++ b/adm/popular_list.php @@ -147,9 +147,8 @@ var list_delete_php = 'popular_list.php'; $(function() { $('#fpopularlist').submit(function() { if(confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n정말 삭제하시겠습니까?")) { - var cnt = $('input[name^=chk]:checked').length; - if(cnt < 1) { - alert('삭제할 검색어를 1개이상 선택해 주세요.'); + if (!is_checked("chk[]")) { + alert("선택삭제 하실 항목을 하나 이상 선택하세요."); return false; } From 6b6f6cab9bafe66bd213d7b6b3380c036c26d85c Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 18 Feb 2013 17:09:58 +0900 Subject: [PATCH 5/5] =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_list_update.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/adm/board_list_update.php b/adm/board_list_update.php index fb9593fca..852abe57f 100644 --- a/adm/board_list_update.php +++ b/adm/board_list_update.php @@ -2,9 +2,6 @@ $sub_menu = "300100"; include_once('./_common.php'); -print_r2($_POST); exit; - - check_demo(); if (!count($_POST['chk'])) {