From bcab73a2f500b8ff3f87d8ca88405c8dbd155476 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 5 Aug 2014 17:54:45 +0900 Subject: [PATCH 1/2] =?UTF-8?q?minlength=20=EC=B2=B4=ED=81=AC=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/wrest.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/wrest.js b/js/wrest.js index 5d164aab0..e3ce98f7f 100644 --- a/js/wrest.js +++ b/js/wrest.js @@ -208,7 +208,7 @@ function wrestMinLength(fld, css) { if (!wrestTrim(fld)) return; - var str = css.split('_'); // minlength_?? <-- str[1] + var str = css.split('='); // minlength=?? <-- str[1] if (wrestFld == null) { if (fld.value.length < parseInt(str[1])) { @@ -305,8 +305,8 @@ function wrestSubmit() case "telnum" : wrestTelNum(el); break; // 김선용 2006.3 - 전화번호 형식 검사 case "imgext" : wrestImgExt(el); break; default : - // css 가 minlength_ 로 시작한다면 _ 뒤의 숫자는 최소길이값 - if (/^minlength\_/.test(css)) { + // css 가 minlength= 로 시작한다면 = 뒤의 숫자는 최소길이값 + if (/^minlength\=/.test(css)) { wrestMinLength(el, css); break; } else if (/^extension\=/.test(css)) { wrestExtension(el, css); break; From ca7b488f4d1ccdca5aa08569be998360e1cd5f7d Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 7 Aug 2014 09:42:30 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EC=A0=84=EC=B2=B4=EA=B2=80=EC=83=89=20?= =?UTF-8?q?=EA=B2=B0=EA=B3=BC=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/search.php | 3 +-- mobile/skin/search/basic/search.skin.php | 11 +++++++---- skin/search/basic/search.skin.php | 11 +++++++---- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/bbs/search.php b/bbs/search.php index ad392ec0f..2a83c1edc 100644 --- a/bbs/search.php +++ b/bbs/search.php @@ -172,7 +172,6 @@ if ($stx) { if ($row['wr_is_comment']) { - $link .= '#c'.$row['wr_id']; $sql2 = " select wr_subject, wr_option from {$tmp_write_table} where wr_id = '{$row['wr_parent']}' "; $row2 = sql_fetch($sql2); //$row['wr_subject'] = $row2['wr_subject']; @@ -204,7 +203,7 @@ if ($stx) { $list[$idx][$i]['subject'] = $subject; $list[$idx][$i]['content'] = $content; - $list[$idx][$i]['name'] = get_sideview($row['mb_id'], cut_str($row['wr_name'], $config['cf_cut_name']), $row['wr_email'], $row['wr_homepage']); + $list[$idx][$i]['name'] = get_sideview($row['mb_id'], get_text(cut_str($row['wr_name'], $config['cf_cut_name'])), $row['wr_email'], $row['wr_homepage']); $k++; if ($k >= $rows) diff --git a/mobile/skin/search/basic/search.skin.php b/mobile/skin/search/basic/search.skin.php index 67214dc90..c1ae64ec8 100644 --- a/mobile/skin/search/basic/search.skin.php +++ b/mobile/skin/search/basic/search.skin.php @@ -106,8 +106,6 @@ add_stylesheet('',

게시판 내 결과