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/mobile/skin/board/basic/view_comment.skin.php b/mobile/skin/board/basic/view_comment.skin.php index d64aaf3ad..6ff08887b 100644 --- a/mobile/skin/board/basic/view_comment.skin.php +++ b/mobile/skin/board/basic/view_comment.skin.php @@ -20,8 +20,8 @@ var char_max = parseInt(); // 최대 // if (strstr($list[$i]['wr_option'], "secret")) // $str = $str; $str = preg_replace("/\[\\]/i", "", $str); - $c_reply_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'); - $c_edit_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'); + $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">
@@ -69,8 +69,6 @@ var char_max = parseInt(); // 최대

); // 최대 // if (strstr($list[$i]['wr_option'], "secret")) // $str = $str; $str = preg_replace("/\[\\]/i", "", $str); - $c_reply_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'); - $c_edit_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'); + $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">
@@ -69,8 +69,6 @@ var char_max = parseInt(); // 최대

); // 최대 */ $comment = preg_replace("/\[\\]/i", "", $comment); $cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결 - $c_reply_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'); - $c_edit_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'); + $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"> @@ -54,8 +54,6 @@ var char_max = parseInt(); // 최대

); // 최대 */ $comment = preg_replace("/\[\\]/i", "", $comment); $cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결 - $c_reply_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'); - $c_edit_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'); + $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"> @@ -54,8 +54,6 @@ var char_max = parseInt(); // 최대

); // 최대 // if (strstr($list[$i]['wr_option'], "secret")) // $str = $str; $str = preg_replace("/\[\\]/i", "", $str); - $c_reply_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'); - $c_edit_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'); + $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">
@@ -69,8 +69,6 @@ var char_max = parseInt(); // 최대

); // 최대 // if (strstr($list[$i]['wr_option'], "secret")) // $str = $str; $str = preg_replace("/\[\\]/i", "", $str); - $c_reply_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'); - $c_edit_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'); + $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">
@@ -69,8 +69,6 @@ var char_max = parseInt(); // 최대

); // 최대 */ $comment = preg_replace("/\[\\]/i", "", $comment); $cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결 - $c_reply_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'); - $c_edit_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'); + $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"> @@ -54,8 +54,6 @@ var char_max = parseInt(); // 최대

); // 최대 */ $comment = preg_replace("/\[\\]/i", "", $comment); $cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결 - $c_reply_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w'); - $c_edit_href = short_url_clean(G5_BBS_URL.'/board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w'); + $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"> @@ -54,8 +54,6 @@ var char_max = parseInt(); // 최대