diff --git a/bbs/view_comment.php b/bbs/view_comment.php index 89e27ac91..795780110 100644 --- a/bbs/view_comment.php +++ b/bbs/view_comment.php @@ -119,6 +119,7 @@ else } $comment_action_url = https_url(G5_BBS_DIR)."/write_comment_update.php"; +$comment_common_url = short_url_clean(G5_BBS_URL.'/board.php?'.clean_query_string($_SERVER['QUERY_STRING'])); include_once($board_skin_path.'/view_comment.skin.php'); diff --git a/config.php b/config.php index 42d081354..eae5b6875 100644 --- a/config.php +++ b/config.php @@ -5,7 +5,7 @@ ********************/ define('G5_VERSION', '그누보드5'); -define('G5_GNUBOARD_VER', '5.4.0.4'); +define('G5_GNUBOARD_VER', '5.4.0.5'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true); diff --git a/mobile/skin/board/basic/view_comment.skin.php b/mobile/skin/board/basic/view_comment.skin.php index 2c8508f3d..6ff08887b 100644 --- a/mobile/skin/board/basic/view_comment.skin.php +++ b/mobile/skin/board/basic/view_comment.skin.php @@ -20,6 +20,8 @@ var char_max = parseInt(); // 최대 // if (strstr($list[$i]['wr_option'], "secret")) // $str = $str; $str = preg_replace("/\[\\]/i", "", $str); + $c_reply_href = $comment_common_url.'&c_id='.$comment_id.'&w=c#bo_vc_w'; + $c_edit_href = $comment_common_url.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
style="margin-left:px;border-bottom-color:#f8f8f8">
@@ -67,8 +69,6 @@ var char_max = parseInt(); // 최대

); // 최대 $cmt['wr_content'] = ''; $c_wr_content = $cmt['wr_content']; } - - $c_reply_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'; - $c_edit_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
diff --git a/mobile/skin/board/gallery/view_comment.skin.php b/mobile/skin/board/gallery/view_comment.skin.php index 2c8508f3d..6ff08887b 100644 --- a/mobile/skin/board/gallery/view_comment.skin.php +++ b/mobile/skin/board/gallery/view_comment.skin.php @@ -20,6 +20,8 @@ var char_max = parseInt(); // 최대 // if (strstr($list[$i]['wr_option'], "secret")) // $str = $str; $str = preg_replace("/\[\\]/i", "", $str); + $c_reply_href = $comment_common_url.'&c_id='.$comment_id.'&w=c#bo_vc_w'; + $c_edit_href = $comment_common_url.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
style="margin-left:px;border-bottom-color:#f8f8f8">
@@ -67,8 +69,6 @@ var char_max = parseInt(); // 최대

); // 최대 $cmt['wr_content'] = ''; $c_wr_content = $cmt['wr_content']; } - - $c_reply_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'; - $c_edit_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
diff --git a/mobile/skin/new/basic/new.skin.php b/mobile/skin/new/basic/new.skin.php index 8ff75b2af..f5e918e33 100644 --- a/mobile/skin/new/basic/new.skin.php +++ b/mobile/skin/new/basic/new.skin.php @@ -46,7 +46,7 @@ add_stylesheet('', 0); $wr_subject = get_text(cut_str($list[$i]['wr_subject'], 80)); ?>
  • - +
    작성자 diff --git a/skin/board/basic/view_comment.skin.php b/skin/board/basic/view_comment.skin.php index ed815b3e1..c9e46ccf3 100644 --- a/skin/board/basic/view_comment.skin.php +++ b/skin/board/basic/view_comment.skin.php @@ -24,6 +24,8 @@ var char_max = parseInt(); // 최대 */ $comment = preg_replace("/\[\\]/i", "", $comment); $cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결 + $c_reply_href = $comment_common_url.'&c_id='.$comment_id.'&w=c#bo_vc_w'; + $c_edit_href = $comment_common_url.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    style="margin-left:px;border-top-color:#e0e0e0"> @@ -52,8 +54,6 @@ var char_max = parseInt(); // 최대

    ); // 최대 $cmt['wr_content'] = ''; $c_wr_content = $cmt['wr_content']; } - - $c_reply_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'; - $c_edit_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    diff --git a/skin/board/gallery/view_comment.skin.php b/skin/board/gallery/view_comment.skin.php index 346ba5461..c918445e3 100644 --- a/skin/board/gallery/view_comment.skin.php +++ b/skin/board/gallery/view_comment.skin.php @@ -24,6 +24,8 @@ var char_max = parseInt(); // 최대 */ $comment = preg_replace("/\[\\]/i", "", $comment); $cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결 + $c_reply_href = $comment_common_url.'&c_id='.$comment_id.'&w=c#bo_vc_w'; + $c_edit_href = $comment_common_url.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    style="margin-left:px;border-top-color:#e0e0e0"> @@ -52,8 +54,6 @@ var char_max = parseInt(); // 최대

    ); // 최대 $cmt['wr_content'] = ''; $c_wr_content = $cmt['wr_content']; } - - $c_reply_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'; - $c_edit_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?> diff --git a/skin/new/basic/new.skin.php b/skin/new/basic/new.skin.php index c3867f8bc..41e32c6ea 100644 --- a/skin/new/basic/new.skin.php +++ b/skin/new/basic/new.skin.php @@ -96,7 +96,7 @@ add_stylesheet('', 0); - + diff --git a/theme/basic/mobile/skin/board/basic/view_comment.skin.php b/theme/basic/mobile/skin/board/basic/view_comment.skin.php index 2c8508f3d..6ff08887b 100644 --- a/theme/basic/mobile/skin/board/basic/view_comment.skin.php +++ b/theme/basic/mobile/skin/board/basic/view_comment.skin.php @@ -20,6 +20,8 @@ var char_max = parseInt(); // 최대 // if (strstr($list[$i]['wr_option'], "secret")) // $str = $str; $str = preg_replace("/\[\\]/i", "", $str); + $c_reply_href = $comment_common_url.'&c_id='.$comment_id.'&w=c#bo_vc_w'; + $c_edit_href = $comment_common_url.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    style="margin-left:px;border-bottom-color:#f8f8f8">
    @@ -67,8 +69,6 @@ var char_max = parseInt(); // 최대

    ); // 최대 $cmt['wr_content'] = ''; $c_wr_content = $cmt['wr_content']; } - - $c_reply_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'; - $c_edit_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    diff --git a/theme/basic/mobile/skin/board/gallery/view_comment.skin.php b/theme/basic/mobile/skin/board/gallery/view_comment.skin.php index 2c8508f3d..6ff08887b 100644 --- a/theme/basic/mobile/skin/board/gallery/view_comment.skin.php +++ b/theme/basic/mobile/skin/board/gallery/view_comment.skin.php @@ -20,6 +20,8 @@ var char_max = parseInt(); // 최대 // if (strstr($list[$i]['wr_option'], "secret")) // $str = $str; $str = preg_replace("/\[\\]/i", "", $str); + $c_reply_href = $comment_common_url.'&c_id='.$comment_id.'&w=c#bo_vc_w'; + $c_edit_href = $comment_common_url.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    style="margin-left:px;border-bottom-color:#f8f8f8">
    @@ -67,8 +69,6 @@ var char_max = parseInt(); // 최대

    ); // 최대 $cmt['wr_content'] = ''; $c_wr_content = $cmt['wr_content']; } - - $c_reply_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'; - $c_edit_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    diff --git a/theme/basic/mobile/skin/new/basic/new.skin.php b/theme/basic/mobile/skin/new/basic/new.skin.php index 8ff75b2af..f5e918e33 100644 --- a/theme/basic/mobile/skin/new/basic/new.skin.php +++ b/theme/basic/mobile/skin/new/basic/new.skin.php @@ -46,7 +46,7 @@ add_stylesheet('', 0); $wr_subject = get_text(cut_str($list[$i]['wr_subject'], 80)); ?>
  • - +
    작성자 diff --git a/theme/basic/skin/board/basic/view_comment.skin.php b/theme/basic/skin/board/basic/view_comment.skin.php index ed815b3e1..c9e46ccf3 100644 --- a/theme/basic/skin/board/basic/view_comment.skin.php +++ b/theme/basic/skin/board/basic/view_comment.skin.php @@ -24,6 +24,8 @@ var char_max = parseInt(); // 최대 */ $comment = preg_replace("/\[\\]/i", "", $comment); $cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결 + $c_reply_href = $comment_common_url.'&c_id='.$comment_id.'&w=c#bo_vc_w'; + $c_edit_href = $comment_common_url.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    style="margin-left:px;border-top-color:#e0e0e0"> @@ -52,8 +54,6 @@ var char_max = parseInt(); // 최대

    ); // 최대 $cmt['wr_content'] = ''; $c_wr_content = $cmt['wr_content']; } - - $c_reply_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'; - $c_edit_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    diff --git a/theme/basic/skin/board/gallery/view_comment.skin.php b/theme/basic/skin/board/gallery/view_comment.skin.php index 346ba5461..c918445e3 100644 --- a/theme/basic/skin/board/gallery/view_comment.skin.php +++ b/theme/basic/skin/board/gallery/view_comment.skin.php @@ -24,6 +24,8 @@ var char_max = parseInt(); // 최대 */ $comment = preg_replace("/\[\\]/i", "", $comment); $cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결 + $c_reply_href = $comment_common_url.'&c_id='.$comment_id.'&w=c#bo_vc_w'; + $c_edit_href = $comment_common_url.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?>
    style="margin-left:px;border-top-color:#e0e0e0"> @@ -52,8 +54,6 @@ var char_max = parseInt(); // 최대

    ); // 최대 $cmt['wr_content'] = ''; $c_wr_content = $cmt['wr_content']; } - - $c_reply_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'; - $c_edit_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'; ?> diff --git a/theme/basic/skin/new/basic/new.skin.php b/theme/basic/skin/new/basic/new.skin.php index c3867f8bc..433685293 100644 --- a/theme/basic/skin/new/basic/new.skin.php +++ b/theme/basic/skin/new/basic/new.skin.php @@ -96,12 +96,12 @@ add_stylesheet('', 0); - + - + 게시물이 없습니다.';