[Phpbb-php5mod-cvs-checkins] phpbb-php5 viewtopic.php,1.8,1.9
Brought to you by:
jelly_doughnut
From: Josh <jel...@us...> - 2005-05-12 02:56:17
|
Update of /cvsroot/phpbb-php5mod/phpbb-php5 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16387 Modified Files: viewtopic.php Log Message: stupid, stupid, stupid donut. Tip: don't code while watching the Numa Numa dance Index: viewtopic.php =================================================================== RCS file: /cvsroot/phpbb-php5mod/phpbb-php5/viewtopic.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** viewtopic.php 8 May 2005 02:12:43 -0000 1.8 --- viewtopic.php 12 May 2005 02:56:08 -0000 1.9 *************** *** 1109,1112 **** --- 1109,1114 ---- // via php.net's annotated manual $message = str_replace('\"', '"', substr(@preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "@preg_replace('#\b(" . str_replace('\\', '\\\\', $highlight_match) . ")\b#i', '<span style=\"color:#" . $theme['fontcolor3'] . "\"><b>\\\\1</b></span>', '\\0')", '>' . $message . '<'), 1, -1)); + } + // // Replace naughty words *************** *** 1121,1125 **** } ! $message = str_replace('\"', '"', substr(@preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "@preg_replace(\$orig_word, \$replacement_word, '\\0')", '>' . $message . '<'), 1, -1)); } // --- 1123,1128 ---- } ! $message = str_replace('\"', '"', substr(@preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "@preg_replace(\$orig_word, \$replacement_word, '\\0')", '>' . $message . '<'), 1, -1)); ! } // |