diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php index e8dd3b9df..f39722fdb 100644 --- a/bbs/write_comment_update.php +++ b/bbs/write_comment_update.php @@ -69,7 +69,7 @@ if ($w == 'c') // 코멘트 입력 // 코멘트쓰기 포인트설정시 회원의 포인트가 음수인 경우 코멘트를 쓰지 못하던 버그를 수정 (곱슬최씨님) $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) @@ -78,12 +78,12 @@ 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']; if (strlen($reply_array['wr_comment_reply']) == 5) - alert('더 이상 답변하실 수 없습니다.'."\n\n".'답변은 5단계 까지만 가능합니다.'); + alert('더 이상 답변하실 수 없습니다.\\n\\n답변은 5단계 까지만 가능합니다.'); $reply_len = strlen($reply_array['wr_comment_reply']) + 1; if ($board['bo_reply_order']) { @@ -114,7 +114,7 @@ if ($w == 'c') // 코멘트 입력 if (!$row['reply']) $reply_char = $begin_reply_char; else if ($row['reply'] == $end_reply_char) // A~Z은 26 입니다. - alert('더 이상 답변하실 수 없습니다.'."\n\n".'답변은 26개 까지만 가능합니다.'); + alert('더 이상 답변하실 수 없습니다.\\n\\n답변은 26개 까지만 가능합니다.'); else $reply_char = chr(ord($row['reply']) + $reply_number);