From cdcb1a7bf3a74f76320b0a981558d6286aa8fb4f Mon Sep 17 00:00:00 2001 From: gnuboard Date: Thu, 2 May 2013 10:49:33 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=ED=9A=8C=EC=9B=90=EA=B0=80=EC=9E=85?= =?UTF-8?q?=EC=8B=9C=20=EC=B6=94=EC=B2=9C=EC=9D=B8=EC=9D=84=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0=EC=97=90=EB=8F=84=20=EC=B6=94=EC=B2=9C=EC=9D=B8=20?= =?UTF-8?q?=EC=95=84=EC=9D=B4=EB=94=94=EA=B0=80=20=ED=8B=80=EB=A0=B8?= =?UTF-8?q?=EB=8B=A4=EB=8A=94=20=EC=98=A4=EB=A5=98=EA=B0=80=20=EB=82=98?= =?UTF-8?q?=EC=98=A4=EB=8A=94=20=EB=B6=80=EB=B6=84=EC=9D=84=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/register_form_update.php | 5 ++++- skin/member/basic/register_form.skin.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 7cc1039f4..55fc56700 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -75,7 +75,10 @@ if ($w == '' || $w == 'u') { if ($w=='') { if ($msg = exist_mb_id($mb_id)) alert($msg); - if (!exist_mb_id($mb_recommend)) alert("추천인이 존재하지 않습니다."); + if ($config['cf_use_recommend']) { + if (!exist_mb_id($mb_recommend)) + alert("추천인이 존재하지 않습니다."); + } if (strtolower($mb_id) == strtolower($mb_recommend)) { alert('본인을 추천할 수 없습니다.'); diff --git a/skin/member/basic/register_form.skin.php b/skin/member/basic/register_form.skin.php index 97f47a0e3..d38367053 100644 --- a/skin/member/basic/register_form.skin.php +++ b/skin/member/basic/register_form.skin.php @@ -214,7 +214,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - + From 546cfe17c2a8f1dd251f245c94f4196f9d9d71a4 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Thu, 2 May 2013 11:10:42 +0900 Subject: [PATCH 2/3] =?UTF-8?q?insert=EC=8B=9C=20=EC=A4=91=EB=B3=B5?= =?UTF-8?q?=EB=90=98=EB=8A=94=20=EB=A0=88=EC=BD=94=EB=93=9C=EA=B0=80=20?= =?UTF-8?q?=EC=9E=88=EC=9D=84=20=EA=B2=BD=EC=9A=B0=20=EC=98=A4=EB=A5=98?= =?UTF-8?q?=EB=A9=94=EC=84=B8=EC=A7=80=EB=A5=BC=20=EC=B6=9C=EB=A0=A5?= =?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/syndi/include/include.bbs.delete.php | 2 +- plugin/syndi/include/include.bbs.delete_all.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/syndi/include/include.bbs.delete.php b/plugin/syndi/include/include.bbs.delete.php index 19aa2c417..a25e50bcb 100644 --- a/plugin/syndi/include/include.bbs.delete.php +++ b/plugin/syndi/include/include.bbs.delete.php @@ -28,7 +28,7 @@ $subject_row = sql_fetch($sql); $_link = './bbs/board.php?bo_table=%s&wr_id=%s'; $_sql = "insert into {$g4['syndi_log_table']} (content_id, bbs_id, title, link_alternative, delete_date) values('%s','%s','%s','%s','%s')"; -sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis'))); +sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis')), false); $oPing = new SyndicationPing; $oPing->setId(SyndicationHandler::getTag('channel', $bo_table)); diff --git a/plugin/syndi/include/include.bbs.delete_all.php b/plugin/syndi/include/include.bbs.delete_all.php index 248e9a7d4..9361a3e85 100644 --- a/plugin/syndi/include/include.bbs.delete_all.php +++ b/plugin/syndi/include/include.bbs.delete_all.php @@ -27,7 +27,7 @@ $subject_row = sql_fetch($sql); $_link = './bbs/board.php?bo_table=%s&wr_id=%s'; $_sql = "insert into {$g4['syndi_log_table']} (content_id, bbs_id, title, link_alternative, delete_date) values('%s','%s','%s','%s','%s')"; -sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis'))); +sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis')), false); $oPing = new SyndicationPing; $oPing->setId(SyndicationHandler::getTag('channel', $bo_table)); From d542924ab98a7e7435742df18ae8117ffa080b80 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Thu, 2 May 2013 11:13:46 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=EB=8C=93=EA=B8=80=EA=B0=80=20->=20?= =?UTF-8?q?=EB=8C=93=EA=B8=80=EC=9D=B4=20=EB=AC=B8=EC=9E=A5=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write_comment_update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php index f4fdc3956..4ab8f50e0 100644 --- a/bbs/write_comment_update.php +++ b/bbs/write_comment_update.php @@ -81,7 +81,7 @@ if ($w == 'c') // 댓글 입력 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'];