From 154fcf685d311a73e42bceadf417e1e8c14353b8 Mon Sep 17 00:00:00 2001 From: whitedot Date: Fri, 18 Jan 2013 18:13:07 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20#152=20?= =?UTF-8?q?=EC=9D=98=20=EC=98=A8=EB=9D=BC=EC=9D=B8=EC=84=9C=EC=8B=9D?= =?UTF-8?q?=ED=95=84=EC=88=98=EC=9E=85=EB=A0=A5:=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=EC=9E=90=EB=AA=A8=EB=93=9C=20=EC=9E=94=EC=97=AC=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_form.php | 81 ++++++++++++++-------------- adm/boardgroup_form.php | 7 +-- adm/member_form.php | 25 ++++----- css/default.css | 2 +- skin/board/neo/view_comment.skin.php | 2 +- 5 files changed, 60 insertions(+), 57 deletions(-) diff --git a/adm/board_form.php b/adm/board_form.php index afd02acd0..d5a2d1afd 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -17,6 +17,7 @@ if ($w == '') { $html_title .= ' 생성'; $bo_table_attr = 'class="required alnum_"'; + $sound_only = '필수'; $board['bo_count_delete'] = 1; $board['bo_count_modify'] = 1; @@ -86,9 +87,9 @@ include_once ('./admin.head.php'); 게시판 기본 설정 - + - value="" required="required"> + value="" required> - + - + - + - + @@ -262,9 +263,9 @@ include_once ('./admin.head.php'); 게시판 기능 설정 - + - 댓글 개 이상 달리면 수정불가 + 댓글 개 이상 달리면 수정불가 @@ -272,9 +273,9 @@ include_once ('./admin.head.php'); - + - 댓글 개 이상 달리면 삭제불가 + 댓글 개 이상 달리면 삭제불가 @@ -429,10 +430,10 @@ include_once ('./admin.head.php'); - + - + @@ -446,10 +447,10 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { } ?> - + - 업로드 파일 한개당 bytes 이하 + 업로드 파일 한개당 bytes 이하 @@ -529,9 +530,9 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { 게시판 디자인/양식 - + - + @@ -589,10 +590,10 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -600,9 +601,9 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -610,10 +611,10 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -621,10 +622,10 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -632,10 +633,10 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - 픽셀 + 픽셀 @@ -643,10 +644,10 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -654,10 +655,10 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -721,9 +722,9 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -731,9 +732,9 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -741,9 +742,9 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -751,9 +752,9 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) { - + - + @@ -787,8 +788,8 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
XSS 혹은 CSRF 방지

관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.

- - + +
diff --git a/adm/boardgroup_form.php b/adm/boardgroup_form.php index 7feec715c..a4b666ead 100644 --- a/adm/boardgroup_form.php +++ b/adm/boardgroup_form.php @@ -9,6 +9,7 @@ if ($is_admin != 'super' && $w == '') alert('최고관리자만 접근 가능합 $html_title = '게시판그룹'; if ($w == '') { $gr_id_attr = 'required'; + $sound_only = '필수'; $gr['gr_use_access'] = 0; $html_title .= ' 생성'; } else if ($w == 'u') { @@ -34,13 +35,13 @@ include_once('./admin.head.php'); 그룹 설정 - + 영문자, 숫자, _ 만 가능 (공백없이) - + - + '; diff --git a/adm/member_form.php b/adm/member_form.php index 5c8e8120f..5b6aa54ff 100644 --- a/adm/member_form.php +++ b/adm/member_form.php @@ -10,6 +10,7 @@ if ($w == '') { $required_mb_id = 'class="required minlength=3 alnum_"'; $required_mb_password = 'class="required"'; + $sound_only = '필수'; $mb['mb_mailling'] = 1; $mb['mb_open'] = 1; @@ -96,19 +97,19 @@ include_once('./admin.head.php'); - + - value="" size="15"> + value="" size="15" title="아이디"> 접근가능그룹보기 - - size="15"> + + size="15" title="패스워드"> - - - - + + + + @@ -117,8 +118,8 @@ include_once('./admin.head.php'); 점 - - + + @@ -250,8 +251,8 @@ include_once('./admin.head.php');
XSS 혹은 CSRF 방지

관리자 권한을 탈취 당하는 경우를 대비하여 관리자의 패스워드를 다시 한번 확인합니다.

- - + +
diff --git a/css/default.css b/css/default.css index ea81bdded..260eb40e1 100644 --- a/css/default.css +++ b/css/default.css @@ -375,7 +375,7 @@ a {color:#000;text-decoration:none} #bo_vc article {padding:0 0 10px;border-bottom:1px solid #ddd} #bo_vc header {position:relative;zoom:1} #bo_vc header:after {display:block;visibility:hidden;clear:both;content:""} -#bo_vc header img {position:absolute;top:15px;left:-20px} +#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px} #bo_vc h1 {float:left;margin:15px 0 5px} .bo_vc_info {float:left;margin:15px 0 5px 15px;zoom:1} .bo_vc_info:after {display:block;visibility:hidden;clear:both;content:""} diff --git a/skin/board/neo/view_comment.skin.php b/skin/board/neo/view_comment.skin.php index b05f9aa4b..977b83259 100644 --- a/skin/board/neo/view_comment.skin.php +++ b/skin/board/neo/view_comment.skin.php @@ -28,7 +28,7 @@ var char_max = parseInt(); // 최대
style="margin-left:px">

님의 댓글

- 댓글의 댓글 + 댓글의 댓글
아이피
From 2e72ad9e0f34661754e6cd53a1cb3a27c0400a93 Mon Sep 17 00:00:00 2001 From: whitedot Date: Fri, 18 Jan 2013 19:02:58 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20=EC=82=AC?= =?UTF-8?q?=EC=9D=B4=EB=93=9C=EB=B7=B0=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=EC=9E=91=EC=97=85=20=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/adm.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/css/adm.css b/css/adm.css index 37b840ec0..bd6df74c5 100644 --- a/css/adm.css +++ b/css/adm.css @@ -114,7 +114,6 @@ fieldset button:focus, .fieldset_submit:focus {padding:0 15px;height:23px;border .td_bignum {width:120px;text-align:center} .td_mbid, .td_mbnick, .td_mbname {width:80px;text-align:center} .td_mbnick div, .td_mbname div {position:relative} /* 파이어폭스에서 사이드뷰 위치를 잡기 위함 */ -.td_mbnick #sideview, .td_mbname #sideview {position:absolute;top:20px;left:0} .td_time {width:150px;text-align:center} .td_boolean {width:50px;text-align:center} /* 인덱스 */ @@ -149,6 +148,10 @@ fieldset button:focus, .fieldset_submit:focus {padding:0 15px;height:23px;border .td_category {width:120px;text-align:center} .visit_bar {position:relative} .visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#ddd} +/* 사이드뷰 */ +#sideview {z-index:1000;position:absolute;top:15px;left:20px;border:1px solid #999;background:#f9f9f9} +#sideview ul {list-style:none} +#sideview a {display:inline-block;padding:5px 10px 4px;width:100px;border-bottom:1px solid #ddd} /* 메일 테스트, 세션파일일괄삭제 */ #fsendmailtest p,