From f9d8da7c586cdfeacc6f9e14283563a373d0f9f0 Mon Sep 17 00:00:00 2001 From: rollydream Date: Mon, 11 Mar 2013 10:43:16 +0900 Subject: [PATCH 01/21] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=8A=A4?= =?UTF-8?q?=ED=82=A8=20=EC=86=8D=EC=84=B1=20=EC=88=98=EC=A0=95=20=EC=99=84?= =?UTF-8?q?=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/head.php | 4 +- mobile/skin/board/basic/list.skin.php | 14 +++--- mobile/skin/board/basic/view.skin.php | 6 +-- mobile/skin/board/basic/view_comment.skin.php | 18 ++++---- mobile/skin/board/basic/write.skin.php | 22 ++++----- mobile/skin/latest/basic/latest.skin.php | 2 +- mobile/skin/member/basic/formmail.skin.php | 22 ++++----- mobile/skin/member/basic/login.skin.php | 12 ++--- .../skin/member/basic/member_confirm.skin.php | 10 ++-- mobile/skin/member/basic/memo_form.skin.php | 8 ++-- mobile/skin/member/basic/password.skin.php | 4 +- .../skin/member/basic/password_lost.skin.php | 4 +- mobile/skin/member/basic/register.skin.php | 6 +-- .../skin/member/basic/register_form.skin.php | 46 +++++++++---------- mobile/skin/member/basic/scrap_popin.skin.php | 4 +- mobile/skin/member/basic/zip.skin.php | 2 +- mobile/skin/new/basic/new.skin.php | 4 +- .../skin/outlogin/basic/outlogin.skin.1.php | 6 +-- .../skin/outlogin/basic/outlogin.skin.2.php | 6 +-- mobile/skin/poll/basic/poll.skin.php | 2 +- mobile/skin/search/basic/search.skin.php | 4 +- 21 files changed, 103 insertions(+), 103 deletions(-) diff --git a/mobile/head.php b/mobile/head.php index aaaf60666..6d28471e6 100644 --- a/mobile/head.php +++ b/mobile/head.php @@ -24,10 +24,10 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
사이트 내 전체검색 -
+ - +
diff --git a/mobile/skin/board/basic/write.skin.php b/mobile/skin/board/basic/write.skin.php index c61d351a5..a47bf9d1d 100644 --- a/mobile/skin/board/basic/write.skin.php +++ b/mobile/skin/board/basic/write.skin.php @@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

-
+ @@ -53,28 +53,28 @@ echo $option_hidden; - + - > + > - + - + @@ -89,7 +89,7 @@ echo $option_hidden; - @@ -99,7 +99,7 @@ echo $option_hidden; - + @@ -110,7 +110,7 @@ echo $option_hidden; - "> + " id="wr_link" class="frm_input" size="50"> @@ -118,9 +118,9 @@ echo $option_hidden; 파일 # - + - + @@ -142,7 +142,7 @@ echo $option_hidden;
- + 취소
diff --git a/mobile/skin/latest/basic/latest.skin.php b/mobile/skin/latest/basic/latest.skin.php index 85fea6148..4ec5d5e83 100644 --- a/mobile/skin/latest/basic/latest.skin.php +++ b/mobile/skin/latest/basic/latest.skin.php @@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 ?>
- +
  • diff --git a/mobile/skin/member/basic/formmail.skin.php b/mobile/skin/member/basic/formmail.skin.php index 45693d5d2..527c142de 100644 --- a/mobile/skin/member/basic/formmail.skin.php +++ b/mobile/skin/member/basic/formmail.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

    님께 메일보내기

    -
    + @@ -19,36 +19,36 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - + - + - + 형식 - - - + + + - + - + - + 자동등록방지 @@ -58,7 +58,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
    - + 창닫기
    diff --git a/mobile/skin/member/basic/login.skin.php b/mobile/skin/member/basic/login.skin.php index cc49958fc..3c72d208c 100644 --- a/mobile/skin/member/basic/login.skin.php +++ b/mobile/skin/member/basic/login.skin.php @@ -5,14 +5,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

    - +
    - - - - + + + +
    @@ -23,7 +23,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 아직 회원이 아니시라면 회원으로 가입 후 이용해 주십시오.

    diff --git a/mobile/skin/member/basic/member_confirm.skin.php b/mobile/skin/member/basic/member_confirm.skin.php index 76051a8a8..c557a4aa8 100644 --- a/mobile/skin/member/basic/member_confirm.skin.php +++ b/mobile/skin/member/basic/member_confirm.skin.php @@ -10,15 +10,15 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 회원님의 정보를 안전하게 보호하기 위해 패스워드를 한번 더 확인합니다.

    - - - + + +
    회원아이디 - - + +
    diff --git a/mobile/skin/member/basic/memo_form.skin.php b/mobile/skin/member/basic/memo_form.skin.php index af1a6f6a2..c60f5f1de 100644 --- a/mobile/skin/member/basic/memo_form.skin.php +++ b/mobile/skin/member/basic/memo_form.skin.php @@ -12,20 +12,20 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-
+ - + @@ -38,7 +38,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
- + 창닫기
diff --git a/mobile/skin/member/basic/password.skin.php b/mobile/skin/member/basic/password.skin.php index c4b8dc31f..87e0923a7 100644 --- a/mobile/skin/member/basic/password.skin.php +++ b/mobile/skin/member/basic/password.skin.php @@ -22,7 +22,7 @@ else $g4['title'] = $g4['title'];

- + @@ -32,7 +32,7 @@ else $g4['title'] = $g4['title'];
- +
diff --git a/mobile/skin/member/basic/password_lost.skin.php b/mobile/skin/member/basic/password_lost.skin.php index 998544fd2..13da0c161 100644 --- a/mobile/skin/member/basic/password_lost.skin.php +++ b/mobile/skin/member/basic/password_lost.skin.php @@ -5,13 +5,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

아이디/패스워드 찾기

-
+

회원가입 시 등록하신 이메일 주소를 입력해 주세요.
해당 이메일로 아이디와 패스워드 정보를 보내드립니다.

- +
diff --git a/mobile/skin/member/basic/register.skin.php b/mobile/skin/member/basic/register.skin.php index e4378fb91..354c01b5c 100644 --- a/mobile/skin/member/basic/register.skin.php +++ b/mobile/skin/member/basic/register.skin.php @@ -2,7 +2,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 ?> - +

회원가입약관 및 개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.

@@ -11,7 +11,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
- +
@@ -20,7 +20,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
- +
diff --git a/mobile/skin/member/basic/register_form.skin.php b/mobile/skin/member/basic/register_form.skin.php index 447ce8b99..4c33f2b2c 100644 --- a/mobile/skin/member/basic/register_form.skin.php +++ b/mobile/skin/member/basic/register_form.skin.php @@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - + @@ -21,17 +21,17 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
- + - +
쪽지쓰기
- + 여러 회원에게 보낼때는 컴마(,)로 구분하세요.
자동등록방지
영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요. - > + >
>>
>>
@@ -41,7 +41,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 공백없이 한글만 입력하세요."; } ?> - > + > @@ -53,7 +53,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 별명을 바꾸시면 앞으로 일 이내에는 변경 할 수 없습니다. - + @@ -69,28 +69,28 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - " maxlength="100" value='' > + ' id="reg_mb_email" class="frm_input email " maxlength="100"> - " maxlength="255" value=""> + " maxlength="255" > - " maxlength="20" value=""> + " maxlength="20" > - " maxlength="20" value=""> + " maxlength="20" > @@ -103,12 +103,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 필수 - " maxlength="3" value="" title="우편번호 앞자리"> + " maxlength="3" > - - " maxlength="3" value="" title="우편번호 뒷자리"> + " maxlength="3" > 주소찾기 - " value="" title="행정구역주소"> - " value="" title="상세주소"> + " > + " > @@ -119,14 +119,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - + - + @@ -138,9 +138,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 이미지 크기는 가로 픽셀, 세로 픽셀 이하로 해주세요.
gif만 가능하며 용량 바이트 이하만 등록됩니다. - + - + @@ -150,7 +150,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - > + > 정보 메일을 받겠습니다. @@ -159,7 +159,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - > + > 핸드폰 문자메세지를 받겠습니다. @@ -173,7 +173,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 정보공개를 바꾸시면 앞으로 일 이내에는 변경이 안됩니다. - > + > 다른분들이 나의 정보를 볼 수 있도록 합니다. @@ -193,7 +193,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - + @@ -204,7 +204,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
- + 취소
diff --git a/mobile/skin/member/basic/scrap_popin.skin.php b/mobile/skin/member/basic/scrap_popin.skin.php index c42aabdd1..f0338b526 100644 --- a/mobile/skin/member/basic/scrap_popin.skin.php +++ b/mobile/skin/member/basic/scrap_popin.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

스크랩하기

-
+ @@ -18,7 +18,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - + diff --git a/mobile/skin/member/basic/zip.skin.php b/mobile/skin/member/basic/zip.skin.php index 4a4d40066..824a6e5fb 100644 --- a/mobile/skin/member/basic/zip.skin.php +++ b/mobile/skin/member/basic/zip.skin.php @@ -13,7 +13,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
- +
diff --git a/mobile/skin/new/basic/new.skin.php b/mobile/skin/new/basic/new.skin.php index 502b8ab95..819b3f269 100644 --- a/mobile/skin/new/basic/new.skin.php +++ b/mobile/skin/new/basic/new.skin.php @@ -7,12 +7,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 상세검색 -
'.PHP_EOL; + // echo ''."\n"; if (strstr($sfl, 'mb_id')) $mb_id = $stx; diff --git a/adm/board_form.php b/adm/board_form.php index 9b70a64b6..d6dc91f50 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -185,7 +185,7 @@ $pg_anchor = "
    - + diff --git a/adm/config_form.php b/adm/config_form.php index 1c019aca9..f63dd2864 100644 --- a/adm/config_form.php +++ b/adm/config_form.php @@ -191,7 +191,7 @@ $pg_anchor = " ".$arr[$i]."".PHP_EOL; + echo "\n"; } ?> @@ -202,7 +202,7 @@ $pg_anchor = " ".$arr[$i]."".PHP_EOL; + echo "\n"; } ?> @@ -215,7 +215,7 @@ $pg_anchor = " ".$arr[$i]."".PHP_EOL; + echo "\n"; } ?> @@ -226,7 +226,7 @@ $pg_anchor = " ".$arr[$i]."".PHP_EOL; + echo "\n"; } ?> @@ -239,7 +239,7 @@ $pg_anchor = " ".$arr[$i]."".PHP_EOL; + echo "\n"; } ?> @@ -250,7 +250,7 @@ $pg_anchor = " ".$arr[$i]."".PHP_EOL; + echo "\n"; } ?> @@ -374,7 +374,7 @@ $pg_anchor = " '.$arr[$i].''.PHP_EOL; + echo ''."\n"; } ?> @@ -385,7 +385,7 @@ $pg_anchor = " '.$arr[$i].''.PHP_EOL; + echo ''."\n"; } ?> diff --git a/adm/point_clear.php b/adm/point_clear.php index 84523d6ed..3006816d2 100644 --- a/adm/point_clear.php +++ b/adm/point_clear.php @@ -16,7 +16,7 @@ echo ''; include_once('./admin.tail.php'); flush(); -echo ''.PHP_EOL; +echo ''."\n"; flush(); $max_count = 50; @@ -52,7 +52,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) insert_point($row['mb_id'], $total, '포인트 {$count}건 정리', '@clear', $row['mb_id'], G4_TIME_YMD."-".uniqid("")); $str = $row['mb_id']."님 포인트 내역 ".number_format($count)."건 ".number_format($total)."점 정리
    "; - echo ''.PHP_EOL; + echo ''."\n"; flush(); } @@ -60,5 +60,5 @@ for ($i=0; $row=sql_fetch_array($result); $i++) $sql = " UNLOCK TABLES "; sql_query($sql); -echo ''.PHP_EOL; +echo ''."\n"; ?> From be17563906e7c6a617a997e4ed4e1347d9a6a3f5 Mon Sep 17 00:00:00 2001 From: rollydream Date: Mon, 11 Mar 2013 15:04:38 +0900 Subject: [PATCH 20/21] =?UTF-8?q?#368=20=EA=B4=80=EB=A6=AC=EC=9E=90:?= =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EC=84=A4=EC=A0=95(adm/board=5Ffo?= =?UTF-8?q?rm.php)=EC=97=B0=EA=B2=B0=20label,input=20=EC=88=98=EC=A0=95=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_form.php | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/adm/board_form.php b/adm/board_form.php index 9b70a64b6..8ece4946c 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -457,7 +457,8 @@ $pg_anchor = "
      - + + @@ -809,8 +810,8 @@ $pg_anchor = "
        - - + + @@ -833,10 +834,10 @@ $pg_anchor = "
          - - - - + + + + @@ -846,10 +847,10 @@ $pg_anchor = "
            - - - - + + + + @@ -859,10 +860,10 @@ $pg_anchor = "
              - - - - + + + + From 87343642584a01bfd459dd61e319f3947155d7fc Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 11 Mar 2013 15:12:21 +0900 Subject: [PATCH 21/21] =?UTF-8?q?#370=20bbs=20=ED=8F=B4=EB=8D=94=EB=82=B4?= =?UTF-8?q?=20PHP=5FEOL=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/ckeditor/ckeditor.lib.php | 10 +++++----- bbs/gcaptcha/gcaptcha.lib.php | 14 +++++++------- bbs/memo_form.php | 14 +++++++------- bbs/move_update.php | 2 +- bbs/view_comment.php | 2 +- bbs/write_comment_update.php | 2 +- bbs/write_update.php | 2 +- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/bbs/ckeditor/ckeditor.lib.php b/bbs/ckeditor/ckeditor.lib.php index 26017287d..b27798394 100644 --- a/bbs/ckeditor/ckeditor.lib.php +++ b/bbs/ckeditor/ckeditor.lib.php @@ -1,16 +1,16 @@ '; - $html .= PHP_EOL.''; - $html .= PHP_EOL.''; + $html .= "\n".''; + $html .= "\n".''; + $html .= "\n".''; $js = false; } @@ -21,7 +21,7 @@ function editor_html($id, $content, $ckeditor=true, $class="") // textarea 로 값을 넘긴다. javascript 반드시 필요 -function get_editor_js($id, $ckeditor=true) +function get_editor_js($id, $ckeditor=true) { if ( $ckeditor ) { return "var {$id}_editor_data = CKEDITOR.instances.{$id}.getData();\n"; diff --git a/bbs/gcaptcha/gcaptcha.lib.php b/bbs/gcaptcha/gcaptcha.lib.php index a1b9af3a2..38a7daaf0 100644 --- a/bbs/gcaptcha/gcaptcha.lib.php +++ b/bbs/gcaptcha/gcaptcha.lib.php @@ -1,7 +1,7 @@ get_captcha_key(); - + set_session('ss_captcha_cnt', 0); set_session('ss_captcha_key', $captcha_key); @@ -125,7 +125,7 @@ class gcaptcha imagejpeg($im, G4_DATA_PATH.'/cache/'.$this->captcha_filename.'.jpg'); imagedestroy($im); - $this->make_wav($this->captcha_filename.'.wav'); + $this->make_wav($this->captcha_filename.'.wav'); } function get_captcha_filename() @@ -152,7 +152,7 @@ class gcaptcha } /* -사용법 : +사용법 : $gcaptcha = new gcaptcha(); $gcaptcha->set_captcha_length(mt_rand(4, 6)); $gcaptcha->set_position(mt_rand(0, 10), mt_rand(15, 20)); @@ -175,8 +175,8 @@ function captcha_html($class='captcha') $jpg_file_url = G4_DATA_URL.'/cache/'.$obj->captcha_filename.'.jpg'; $wav_file_url = G4_DATA_URL.'/cache/'.$obj->captcha_filename.'.wav'; - $html .= PHP_EOL.''; - $html .= PHP_EOL.''; + $html .= "\n".''; + $html .= "\n".''; $html .= '
              '; $html .= '자동등록방지'; $html .= '자동등록방지 숫자'; diff --git a/bbs/memo_form.php b/bbs/memo_form.php index be6b4c4a6..eb60c03fa 100644 --- a/bbs/memo_form.php +++ b/bbs/memo_form.php @@ -5,16 +5,16 @@ include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php'); if ($is_guest) alert_close('회원만 이용하실 수 있습니다.'); -if (!$member['mb_open'] && $is_admin != 'super' && $member['mb_id'] != $mb_id) +if (!$member['mb_open'] && $is_admin != 'super' && $member['mb_id'] != $mb_id) alert_close("자신의 정보를 공개하지 않으면 다른분에게 쪽지를 보낼 수 없습니다. 정보공개 설정은 회원정보수정에서 하실 수 있습니다."); $content = ""; // 탈퇴한 회원에게 쪽지 보낼 수 없음 -if ($me_recv_mb_id) +if ($me_recv_mb_id) { $mb = get_member($me_recv_mb_id); if (!$mb['mb_id']) - alert_close('회원정보가 존재하지 않습니다.'.PHP_EOL.PHP_EOL.'탈퇴하였을 수 있습니다.'); + alert_close('회원정보가 존재하지 않습니다.\\n\\n탈퇴하였을 수 있습니다.'); if (!$mb['mb_open'] && $is_admin != 'super') alert_close('정보공개를 하지 않았습니다.'); @@ -23,10 +23,10 @@ if ($me_recv_mb_id) $row = sql_fetch(" select me_memo from {$g4['memo_table']} where me_id = '{$me_id}' and (me_recv_mb_id = '{$member['mb_id']}' or me_send_mb_id = '{$member['mb_id']}') "); if ($row['me_memo']) { - $content = PHP_EOL.PHP_EOL.PHP_EOL.' >' - .PHP_EOL.' >' - .PHP_EOL.' >'.preg_replace("/\n/", "\n> ", get_text($row[me_memo], 0)) - .PHP_EOL.' >' + $content = "\n\n\n".' >' + ."\n".' >' + ."\n".' >'.preg_replace("/\n/", "\n> ", get_text($row['me_memo'], 0)) + ."\n".' >' .' >'; } diff --git a/bbs/move_update.php b/bbs/move_update.php index ac844ec94..e58020d48 100644 --- a/bbs/move_update.php +++ b/bbs/move_update.php @@ -43,7 +43,7 @@ while ($row = sql_fetch_array($result)) { $nick = cut_str($member['mb_nick'], $config['cf_cut_name']); if (!$row2['wr_is_comment'] && $config['cf_use_copy_log']) - $row2['wr_content'] .= PHP_EOL.'
              [이 게시물은 '.$nick.'님에 의해 '.G4_TIME_YMDHIS.' '.$board['bo_subject'].'에서 '.($sw == 'copy' ? '복사' : '이동').' 됨]
              '; + $row2['wr_content'] .= "\n".'
              [이 게시물은 '.$nick.'님에 의해 '.G4_TIME_YMDHIS.' '.$board['bo_subject'].'에서 '.($sw == 'copy' ? '복사' : '이동').' 됨]
              '; $sql = " insert into $move_write_table set wr_num = '$next_wr_num', diff --git a/bbs/view_comment.php b/bbs/view_comment.php index 682fc56a9..2c84f8f39 100644 --- a/bbs/view_comment.php +++ b/bbs/view_comment.php @@ -114,7 +114,7 @@ else include_once($board_skin_path.'/view_comment.skin.php'); if (!$member['mb_id']) // 비회원일 경우에만 - echo ''.PHP_EOL; + echo ''."\n"; @include_once($board_skin_path.'/view_comment.tail.skin.php'); ?> \ No newline at end of file diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php index 754b85371..3b818daf7 100644 --- a/bbs/write_comment_update.php +++ b/bbs/write_comment_update.php @@ -67,7 +67,7 @@ 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]).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글를 써 주십시오.'); */ // 댓글쓰기 포인트설정시 회원의 포인트가 음수인 경우 댓글를 쓰지 못하던 버그를 수정 (곱슬최씨님) $tmp_point = ($member['mb_point'] > 0) ? $member['mb_point'] : 0; diff --git a/bbs/write_update.php b/bbs/write_update.php index 57f4fae6b..4f8ea92f3 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -349,7 +349,7 @@ if ($w == '' || $w == 'r') { // 쓰기 포인트 부여 if ($w == '') { if ($notice) { - $bo_notice = $wr_id.PHP_EOL.$board['bo_notice']; + $bo_notice = $wr_id."\n".$board['bo_notice']; sql_query(" update {$g4['board_table']} set bo_notice = '{$bo_notice}' where bo_table = '{$bo_table}' "); }