|
From: Paul S. O. <ps...@us...> - 2002-02-08 21:02:57
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv22348
Modified Files:
viewtopic.php
Log Message:
Or this one even ... this is not easy ...
Index: viewtopic.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewtopic.php,v
retrieving revision 1.172
retrieving revision 1.173
diff -C2 -r1.172 -r1.173
*** viewtopic.php 8 Feb 2002 20:50:18 -0000 1.172
--- viewtopic.php 8 Feb 2002 21:02:54 -0000 1.173
***************
*** 459,464 ****
if( trim($words[$i]) != "" )
{
! $highlight_match[] = "#\b(" . str_replace("\*", ".*?", $words[$i]) . ")(?!(.*?".">.*?<)|(.*?\">))\b#i";
! $highlight_replace[] = '<span style="color:#' . $theme['fontcolor3'] . '"><b>\1</b></span>';
}
}
--- 459,464 ----
if( trim($words[$i]) != "" )
{
! $highlight_match[] = "#\b(\/?)(" . str_replace("\*", ".*?", $words[$i]) . ")(?!(.*?".">.*?<)|(.*?\">)|((1)?".">))\b#i";
! $highlight_replace[] = '<span style="color:#' . $theme['fontcolor3'] . '"><b>\2</b></span>';
}
}
|