Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
chicpro
2013-01-18 15:14:26 +09:00
5 changed files with 25 additions and 21 deletions

View File

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