mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Or this one even ... this is not easy ...
git-svn-id: file:///svn/phpbb/trunk@2068 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -458,8 +458,8 @@ if( isset($HTTP_GET_VARS['highlight']) )
|
||||
{
|
||||
if( trim($words[$i]) != "" )
|
||||
{
|
||||
$highlight_match[] = "#\b(" . str_replace("\*", ".*?", $words[$i]) . ")(?!(.*?".">.*?<)|(.*?\">))\b#i";
|
||||
$highlight_replace[] = '<span style="color:#' . $theme['fontcolor3'] . '"><b>\1</b></span>';
|
||||
$highlight_match[] = "#\b(\/?)(" . str_replace("\*", ".*?", $words[$i]) . ")(?!(.*?".">.*?<)|(.*?\">)|((1)?".">))\b#i";
|
||||
$highlight_replace[] = '<span style="color:#' . $theme['fontcolor3'] . '"><b>\2</b></span>';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user