사용자: #163 처리

This commit is contained in:
whitedot
2013-01-21 11:20:30 +09:00
parent 2e72ad9e0f
commit 0f58c2b773
2 changed files with 3 additions and 2 deletions

View File

@ -273,7 +273,7 @@ a {color:#000;text-decoration:none}
/* 현재접속자 */
#current_connect_tbl .td_name {text-align:center}
/* 전체검색 */
/* 전체검색결과 */
#sch_result_detail {margin:0;padding:15px 0;border:0;text-align:right}
#sch_result {position:relative;padding:10px 0 0 200px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;background:url('../img/sch_result_bg.jpg') repeat-y}
#sch_result dl {padding:0}
@ -302,6 +302,7 @@ a {color:#000;text-decoration:none}
.sch_more a {color:#818385}
.sch_sideview {display:inline-block}
.sch_datetime {color:#818385}
.sch_word {font-weight:bold} /* 검색어 강조 */
/* 게시판 목록 */
.btn_bo_adm input {padding:0 10px;height:26px;border:1px solid #494949;background:#494949;color:#fff;text-decoration:none}

View File

@ -453,7 +453,7 @@ function search_font($stx, $str)
}
// 지정된 검색 폰트의 색상, 배경색상으로 대체
$replace = "<b style='background-color:{$config['cf_search_bgcolor']}; color:{$config['cf_search_color']};'>\\1</b>";
$replace = "<b class=\"sch_word\">\\1</b>";
return preg_replace("/($pattern)/i", $replace, $str);
}