From 6d1dfcb020b9c6bbf0840077094e9e43b0935f75 Mon Sep 17 00:00:00 2001 From: whitedot Date: Fri, 18 Jan 2013 17:43:45 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EC=82=AC?= =?UTF-8?q?=EC=9D=B4=EB=93=9C=EB=B7=B0=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default.css | 1 - 1 file changed, 1 deletion(-) diff --git a/css/default.css b/css/default.css index 65f47cb78..fc1f1db46 100644 --- a/css/default.css +++ b/css/default.css @@ -319,7 +319,6 @@ a {color:#000;text-decoration:none} #bo_list caption {padding:0;height:0;color:transparent;overflow:hidden} /* ff에서 감추기 위해 color:transparent 사용 */ #bo_list td {line-height:1em} #bo_list strong {color:#ff4679} -#bo_list img {vertical-align:top} .bo_notice {background:#f5f5f5} .bo_cate_link {display:inline-block;margin:0 5px 0 0;padding:0 8px 0 0;border-right:1px solid #ddd;font-weight:bold;text-decoration:none} .bo_current {color:#ff4679} From 0e63a72f60bec5d7ae34ae6ef580a60f62bda60b Mon Sep 17 00:00:00 2001 From: whitedot Date: Fri, 18 Jan 2013 17:45:00 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=ED=85=8C=EC=9D=B4=EB=B8=94=20td=20padding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/default.css b/css/default.css index fc1f1db46..ea81bdded 100644 --- a/css/default.css +++ b/css/default.css @@ -27,7 +27,7 @@ tfoot td {border-color:#c9c9c9;background:#f9f9f5;font-weight:bold;text-align:ce caption {padding:0 0 10px;text-align:left} th {padding:12px 0 8px;border-top:3px solid #666;border-bottom:1px solid #a9a9a9} th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */ -td {padding:10px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9} +td {padding:8px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9} .empty_table {padding:85px 0;text-align:center} /* 캡챠 자동등록(입력)방지 기본 */ From a9cf96ae08544961117221f390ddafa57ca06d2c Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 18 Jan 2013 17:49:58 +0900 Subject: [PATCH 3/4] =?UTF-8?q?cut=5Fstr=20=ED=95=A8=EC=88=98=20=EA=B8=80?= =?UTF-8?q?=EC=9E=90=EC=88=98=EB=A1=9C=20=EB=AC=B8=EC=9E=90=EC=97=B4=20?= =?UTF-8?q?=EC=9E=90=EB=A5=B4=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index af4661cac..abc8c965f 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1066,14 +1066,16 @@ function view_link($view, $number, $attribute) function cut_str($str, $len, $suffix="…") { - if (strlen($str) >= $len) { - $length = floor($len / 3); + $arr_str = preg_split("//u", $str, -1, PREG_SPLIT_NO_EMPTY); + $str_len = count($arr_str); - $arr_str = array_slice(preg_split("//u", $str, -1, PREG_SPLIT_NO_EMPTY), 0, $length); - $string = join("", $arr_str); + if ($str_len >= $len) { + $slice_str = array_slice($arr_str, 0, $len); + $str = join("", $slice_str); - return $string . (strlen($str)-strlen($suffix) >= $len ? $suffix : ''); + return $str . ($str_len > $len ? $suffix : ''); } else { + $str = join("", $arr_str); return $str; } } From e1749834ed8716eaf322c9c02fb267d859ebc038 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 18 Jan 2013 18:04:00 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=EB=8C=93=EA=B8=80=20=EC=9E=91=EC=84=B1?= =?UTF-8?q?=EC=8B=9C=20w=20=EA=B0=92=20=EB=84=98=EC=96=B4=EA=B0=80?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=AC=B8=EC=A0=9C=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 --- skin/board/neo/view_comment.skin.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/skin/board/neo/view_comment.skin.php b/skin/board/neo/view_comment.skin.php index b05f9aa4b..d03f0ef99 100644 --- a/skin/board/neo/view_comment.skin.php +++ b/skin/board/neo/view_comment.skin.php @@ -71,7 +71,10 @@ var char_max = parseInt(); // 최대 - +