사용자: #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

@ -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);
}