diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-16 21:29:06 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-16 21:29:06 +0000 |
| commit | ccd7e282131f7193014a599139e28838392c73bd (patch) | |
| tree | c94de8694cee368618abda414323e4fcd75252ff /phpBB/viewtopic.php | |
| parent | 671200fa93518e1d686cb9c9d2d327ead7c5a040 (diff) | |
| download | forums-ccd7e282131f7193014a599139e28838392c73bd.tar forums-ccd7e282131f7193014a599139e28838392c73bd.tar.gz forums-ccd7e282131f7193014a599139e28838392c73bd.tar.bz2 forums-ccd7e282131f7193014a599139e28838392c73bd.tar.xz forums-ccd7e282131f7193014a599139e28838392c73bd.zip | |
Fix bug #504604
git-svn-id: file:///svn/phpbb/trunk@1898 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 301f50816d..49b422d077 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -456,8 +456,8 @@ if( isset($HTTP_GET_VARS['highlight']) ) { if( trim($words[$i]) != "" ) { - $highlight_match[] = "#\b(" . str_replace("\*", ".*?", phpbb_preg_quote($words[$i], "#")) . ")(?!.*?<\/a>)(?!.*?\[/url\])\b#i"; - $highlight_replace[] = "<font color=\"#" . $theme['fontcolor3'] . "\"><b>\\1</b></font>"; + $highlight_match[] = "#\b(" . str_replace("\*", ".*?", phpbb_preg_quote($words[$i], "#")) . ")(?!.*?<\/a>)(?!.*?\[/url\])(?!.*?<\/span>)\b#i"; + $highlight_replace[] = '<span style="color:#' . $theme['fontcolor3'] . '"><b>\\1</b></span>'; } } @@ -920,7 +920,7 @@ for($i = 0; $i < $total_posts; $i++) if( !empty($postrow[$i]['user_icq']) ) { - $icq_status_img = '<a href="http://wwp.icq.com/' . $postrow[$i]['user_icq'] . '#pager"><img src="http://web.icq.com/whitepages/online?icq=' . $postrow[$i]['user_icq'] . '&img=5" width="18" height="18" border="0" /></a>'; + $icq_status_img = '<a href="http://wwp.icq.com/' . $postrow[$i]['user_icq'] . '#pager"><img src="http://web.icq.com/whitepages/online?icq=' . $postrow[$i]['user_icq'] . '&img=5" width="18" height="18" border="0" /></a>'; $icq_add_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>'; } else |
