From 731926df9ac021cf3dee42fd3fc283869d42c30f Mon Sep 17 00:00:00 2001
From: whitedot
Date: Thu, 7 Mar 2013 09:40:55 +0900
Subject: [PATCH 01/18] =?UTF-8?q?#339=20=EC=97=90=20=EB=94=B0=EB=A5=B8=20?=
=?UTF-8?q?=EC=B2=98=EB=A6=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
mobile/skin/member/basic/scrap_popin.skin.php | 2 +-
skin/member/basic/scrap_popin.skin.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mobile/skin/member/basic/scrap_popin.skin.php b/mobile/skin/member/basic/scrap_popin.skin.php
index 117d473c1..c42aabdd1 100644
--- a/mobile/skin/member/basic/scrap_popin.skin.php
+++ b/mobile/skin/member/basic/scrap_popin.skin.php
@@ -28,7 +28,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-
+
\ No newline at end of file
diff --git a/skin/member/basic/scrap_popin.skin.php b/skin/member/basic/scrap_popin.skin.php
index 6b1167b26..f7bb40c63 100644
--- a/skin/member/basic/scrap_popin.skin.php
+++ b/skin/member/basic/scrap_popin.skin.php
@@ -28,7 +28,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-
+
\ No newline at end of file
From 56311d8a26c06513c28400abe184d67b9c0162b2 Mon Sep 17 00:00:00 2001
From: whitedot
Date: Thu, 7 Mar 2013 10:16:51 +0900
Subject: [PATCH 02/18] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EA=B0=A4?=
=?UTF-8?q?=EB=9F=AC=EB=A6=AC=20=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EC=B6=94?=
=?UTF-8?q?=EC=B2=9C=20=EB=B9=84=EC=B6=94=EC=B2=9C=20=EA=B0=81=EA=B0=81=20?=
=?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=97=AC=EB=B6=80=EC=97=90=20=EB=94=B0?=
=?UTF-8?q?=EB=9D=BC=20=EC=B6=9C=EB=A0=A5=EB=90=98=EA=B2=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
skin/board/gallery/list.skin.php | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/skin/board/gallery/list.skin.php b/skin/board/gallery/list.skin.php
index 5214710b7..62ee6b956 100644
--- a/skin/board/gallery/list.skin.php
+++ b/skin/board/gallery/list.skin.php
@@ -109,10 +109,12 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
작성자 =$list[$i]['name']?>
작성일 =$list[$i]['datetime2']?>
조회 =$list[$i]['wr_hit']?>
+ if ($is_good || $is_nogood) {?>
- 추천=$list[$i]['wr_good']?>
- 비추천=$list[$i]['wr_nogood']?>
+ if ($is_good) {?>추천=$list[$i]['wr_good']?> } ?>
+ if ($is_nogood) {?>비추천=$list[$i]['wr_nogood']?> } ?>
영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.
- =$readonly?>>
+ =$readonly?>>
diff --git a/skin/member/kcpcert/formmail.skin.php b/skin/member/kcpcert/formmail.skin.php
index c04369eec..ebd491bcf 100644
--- a/skin/member/kcpcert/formmail.skin.php
+++ b/skin/member/kcpcert/formmail.skin.php
@@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
diff --git a/skin/member/kcpcert/login.skin.php b/skin/member/kcpcert/login.skin.php
index d79378d04..aa0c4c5d8 100644
--- a/skin/member/kcpcert/login.skin.php
+++ b/skin/member/kcpcert/login.skin.php
@@ -5,16 +5,16 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
=$g4['title']?>
-
diff --git a/skin/member/kcpcert/memo_form.skin.php b/skin/member/kcpcert/memo_form.skin.php
index 328a341b9..52ebf04ad 100644
--- a/skin/member/kcpcert/memo_form.skin.php
+++ b/skin/member/kcpcert/memo_form.skin.php
@@ -12,20 +12,20 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
diff --git a/skin/member/kcpcert/scrap_popin.skin.php b/skin/member/kcpcert/scrap_popin.skin.php
index 117d473c1..7a95eaf66 100644
--- a/skin/member/kcpcert/scrap_popin.skin.php
+++ b/skin/member/kcpcert/scrap_popin.skin.php
@@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
스크랩하기
-
+
@@ -18,7 +18,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-
+
@@ -28,7 +28,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-
+
\ No newline at end of file
diff --git a/skin/member/kcpcert/zip.skin.php b/skin/member/kcpcert/zip.skin.php
index e00e1ff0a..e45b96210 100644
--- a/skin/member/kcpcert/zip.skin.php
+++ b/skin/member/kcpcert/zip.skin.php
@@ -6,16 +6,16 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
=$g4['title']?>
-
-
-
+
+
+
diff --git a/skin/new/basic/new.skin.php b/skin/new/basic/new.skin.php
index 61d23e644..10542f1d6 100644
--- a/skin/new/basic/new.skin.php
+++ b/skin/new/basic/new.skin.php
@@ -7,13 +7,13 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
=$group_select?>
-
- >
+ id="sop_or" name="sop">
- >
+ id="sop_and" name="sop">
From ece189b292faa878d6996e27ffcd6330fdcf0aec Mon Sep 17 00:00:00 2001
From: whitedot
Date: Thu, 7 Mar 2013 11:56:09 +0900
Subject: [PATCH 07/18] =?UTF-8?q?=EB=A9=94=EC=9D=BC=EB=B0=9C=EC=86=A1:=20?=
=?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EA=B8=80/=EB=8C=93=EA=B8=80=20?=
=?UTF-8?q?=EC=9E=91=EC=84=B1=20=EC=8B=9C=20=EB=A9=94=EC=9D=BC=20=EB=B0=9C?=
=?UTF-8?q?=EC=86=A1=20=EC=8A=A4=ED=83=80=EC=9D=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
bbs/write_comment_update.php | 44 ++++++++++-----------
bbs/write_update_mail.php | 75 +++++++++---------------------------
css/default.css | 5 ++-
3 files changed, 44 insertions(+), 80 deletions(-)
diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php
index 15e511198..3edbe59ca 100644
--- a/bbs/write_comment_update.php
+++ b/bbs/write_comment_update.php
@@ -27,13 +27,13 @@ if ($is_guest) {
if ($w == "c" || $w == "cu") {
if ($member['mb_level'] < $board['bo_comment_level'])
- alert('코멘트를 쓸 권한이 없습니다.');
+ alert('댓글를 쓸 권한이 없습니다.');
}
else
alert('w 값이 제대로 넘어오지 않았습니다.');
// 세션의 시간 검사
-// 4.00.15 - 코멘트 수정시 연속 게시물 등록 메시지로 인한 오류 수정
+// 4.00.15 - 댓글 수정시 연속 게시물 등록 메시지로 인한 오류 수정
if ($w == 'c' && $_SESSION['ss_datetime'] >= (G4_SERVER_TIME - $config['cf_delay_sec']) && !$is_admin)
alert('너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.');
@@ -51,7 +51,7 @@ if (empty($wr['wr_id']))
if ($member[mb_id])
{
$mb_id = $member['mb_id'];
- // 4.00.13 - 실명 사용일때 코멘트에 별명으로 입력되던 오류를 수정
+ // 4.00.13 - 실명 사용일때 댓글에 별명으로 입력되던 오류를 수정
$wr_name = $board['bo_use_name'] ? $member['mb_name'] : $member['mb_nick'];
$wr_password = $member['mb_password'];
$wr_email = $member['mb_email'];
@@ -63,25 +63,25 @@ else
$wr_password = sql_password($wr_password);
}
-if ($w == 'c') // 코멘트 입력
+if ($w == 'c') // 댓글 입력
{
/*
if ($member[mb_point] + $board[bo_comment_point] < 0 && !$is_admin)
- alert('보유하신 포인트('.number_format($member[mb_point]).')가 없거나 모자라서 코멘트쓰기('.number_format($board[bo_comment_point]).')가 불가합니다.'.PHP_EOL.PHP_EOL.'포인트를 적립하신 후 다시 코멘트를 써 주십시오.');
+ alert('보유하신 포인트('.number_format($member[mb_point]).')가 없거나 모자라서 댓글쓰기('.number_format($board[bo_comment_point]).')가 불가합니다.'.PHP_EOL.PHP_EOL.'포인트를 적립하신 후 다시 댓글를 써 주십시오.');
*/
- // 코멘트쓰기 포인트설정시 회원의 포인트가 음수인 경우 코멘트를 쓰지 못하던 버그를 수정 (곱슬최씨님)
+ // 댓글쓰기 포인트설정시 회원의 포인트가 음수인 경우 댓글를 쓰지 못하던 버그를 수정 (곱슬최씨님)
$tmp_point = ($member['mb_point'] > 0) ? $member['mb_point'] : 0;
if ($tmp_point + $board['bo_comment_point'] < 0 && !$is_admin)
- alert('보유하신 포인트('.number_format($member['mb_point']).')가 없거나 모자라서 코멘트쓰기('.number_format($board['bo_comment_point']).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 코멘트를 써 주십시오.');
+ alert('보유하신 포인트('.number_format($member['mb_point']).')가 없거나 모자라서 댓글쓰기('.number_format($board['bo_comment_point']).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글를 써 주십시오.');
- // 코멘트 답변
+ // 댓글 답변
if ($comment_id)
{
$sql = " select wr_id, wr_comment, wr_comment_reply from $write_table
where wr_id = '$comment_id' ";
$reply_array = sql_fetch($sql);
if (!$reply_array['wr_id'])
- alert('답변할 코멘트가 없습니다.\\n\\n답변하는 동안 코멘트가 삭제되었을 수 있습니다.');
+ alert('답변할 댓글가 없습니다.\\n\\n답변하는 동안 댓글가 삭제되었을 수 있습니다.');
$tmp_comment = $reply_array['wr_comment'];
@@ -167,17 +167,17 @@ if ($w == 'c') // 코멘트 입력
$comment_id = mysql_insert_id();
- // 원글에 코멘트수 증가 & 마지막 시간 반영
+ // 원글에 댓글수 증가 & 마지막 시간 반영
sql_query(" update $write_table set wr_comment = wr_comment + 1, wr_last = '".G4_TIME_YMDHIS."' where wr_id = '$wr_id' ");
// 새글 INSERT
sql_query(" insert into {$g4['board_new_table']} ( bo_table, wr_id, wr_parent, bn_datetime, mb_id ) values ( '$bo_table', '$comment_id', '$wr_id', '".G4_TIME_YMDHIS."', '{$member['mb_id']}' ) ");
- // 코멘트 1 증가
+ // 댓글 1 증가
sql_query(" update {$g4['board_table']} set bo_count_comment = bo_count_comment + 1 where bo_table = '$bo_table' ");
// 포인트 부여
- insert_point($member['mb_id'], $board['bo_comment_point'], "{$board['bo_subject']} {$wr_id}-{$comment_id} 코멘트쓰기", $bo_table, $comment_id, '코멘트');
+ insert_point($member['mb_id'], $board['bo_comment_point'], "{$board['bo_subject']} {$wr_id}-{$comment_id} 댓글쓰기", $bo_table, $comment_id, '댓글');
// 메일발송 사용
if ($config['cf_email_use'] && $board['bo_use_email'])
@@ -188,13 +188,13 @@ if ($w == 'c') // 코멘트 입력
$board_admin = get_admin('board');
$wr_subject = get_text(stripslashes($wr['wr_subject']));
- $wr_content = nl2br(get_text(stripslashes("----- 원글 -----\n\n{$wr['wr_subject']}\n\n\n----- 코멘트 -----\n\n$wr_content")));
+ $wr_content = nl2br(get_text(stripslashes("원글\n{$wr['wr_subject']}\n\n\n댓글\n$wr_content")));
- $warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'코멘트', 'cu'=>'코멘트 수정' );
+ $warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'댓글 ', 'cu'=>'댓글 수정' );
$str = $warr[$w];
$subject = $board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.';
- // 4.00.15 - 메일로 보내는 코멘트의 바로가기 링크 수정
+ // 4.00.15 - 메일로 보내는 댓글의 바로가기 링크 수정
$link_url = G4_BBS_URL."/board.php?bo_table=".$bo_table."&wr_id=".$wr_id."&".$qstr."#c_".$comment_id;
include_once(G4_LIB_PATH.'/mailer.lib.php');
@@ -217,7 +217,7 @@ if ($w == 'c') // 코멘트 입력
// 원글 메일발송에 체크가 되어 있다면
if ($config['cf_email_wr_write']) $array_email[] = $wr['wr_email'];
- // 코멘트 쓴 모든이에게 메일 발송이 되어 있다면 (자신에게는 발송하지 않는다)
+ // 댓글 쓴 모든이에게 메일 발송이 되어 있다면 (자신에게는 발송하지 않는다)
if ($config['cf_email_wr_comment_all']) {
$sql = " select distinct wr_email from {$write_table}
where wr_email not in ( '{$wr['wr_email']}', '{$member['mb_email']}', '' )
@@ -236,7 +236,7 @@ if ($w == 'c') // 코멘트 입력
}
}
}
-else if ($w == 'cu') // 코멘트 수정
+else if ($w == 'cu') // 댓글 수정
{
$sql = " select mb_id, wr_comment, wr_comment_reply from $write_table
where wr_id = '$comment_id' ";
@@ -256,18 +256,18 @@ else if ($w == 'cu') // 코멘트 수정
if ($member['mb_level'] >= $mb['mb_level']) // 자신의 레벨이 크거나 같다면 통과
;
else
- alert('그룹관리자의 권한보다 높은 회원의 코멘트이므로 수정할 수 없습니다.');
+ alert('그룹관리자의 권한보다 높은 회원의 댓글이므로 수정할 수 없습니다.');
} else
- alert('자신이 관리하는 그룹의 게시판이 아니므로 코멘트를 수정할 수 없습니다.');
+ alert('자신이 관리하는 그룹의 게시판이 아니므로 댓글를 수정할 수 없습니다.');
} else if ($is_admin == 'board') { // 게시판관리자이면
$mb = get_member($comment['mb_id']);
if ($member['mb_id'] == $board['bo_admin']) { // 자신이 관리하는 게시판인가?
if ($member['mb_level'] >= $mb['mb_level']) // 자신의 레벨이 크거나 같다면 통과
;
else
- alert('게시판관리자의 권한보다 높은 회원의 코멘트이므로 수정할 수 없습니다.');
+ alert('게시판관리자의 권한보다 높은 회원의 댓글이므로 수정할 수 없습니다.');
} else
- alert('자신이 관리하는 게시판이 아니므로 코멘트를 수정할 수 없습니다.');
+ alert('자신이 관리하는 게시판이 아니므로 댓글를 수정할 수 없습니다.');
} else if ($member['mb_id']) {
if ($member['mb_id'] != $comment['mb_id'])
alert('자신의 글이 아니므로 수정할 수 없습니다.');
@@ -281,7 +281,7 @@ else if ($w == 'cu') // 코멘트 수정
and wr_is_comment = 1 ";
$row = sql_fetch($sql);
if ($row['cnt'] && !$is_admin)
- alert('이 코멘트와 관련된 답변코멘트가 존재하므로 수정 할 수 없습니다.');
+ alert('이 댓글와 관련된 답변댓글가 존재하므로 수정 할 수 없습니다.');
$sql_ip = "";
if (!$is_admin)
diff --git a/bbs/write_update_mail.php b/bbs/write_update_mail.php
index 5da53a639..2deaef14a 100644
--- a/bbs/write_update_mail.php
+++ b/bbs/write_update_mail.php
@@ -2,68 +2,29 @@
// 게시물 입력시 게시자, 관리자에게 드리는 메일을 수정하고 싶으시다면 이 파일을 수정하십시오.
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
-
+
+
-
+
=$wr_subject?> 메일
-
+
-
-
-