|
From: FlorinCB <ory...@us...> - 2008-11-06 00:45:33
|
Update of /cvsroot/mxbb/core/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2386 Modified Files: mx_functions_bbcode.php Log Message: fix like the above fixes Index: mx_functions_bbcode.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_bbcode.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mx_functions_bbcode.php 4 Oct 2008 07:04:25 -0000 1.16 --- mx_functions_bbcode.php 6 Nov 2008 00:45:27 -0000 1.17 *************** *** 121,125 **** //Start more bbcode $bbcode_tpl['stream'] = str_replace('{URL}', '\\1', $bbcode_tpl['stream']); ! $bbcode_tpl['web'] = str_replace('{URL}', '\\1', $bbcode_tpl['web']); $bbcode_tpl['flash'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['flash']); $bbcode_tpl['flash'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['flash']); --- 121,125 ---- //Start more bbcode $bbcode_tpl['stream'] = str_replace('{URL}', '\\1', $bbcode_tpl['stream']); ! //$bbcode_tpl['web'] = str_replace('{URL}', '\\1', $bbcode_tpl['web']); $bbcode_tpl['flash'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['flash']); $bbcode_tpl['flash'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['flash']); *************** *** 251,254 **** --- 251,258 ---- $patterns[] = "#\[stream:$uid\](.*?)\[/stream:$uid\]#si"; $replacements[] = $bbcode_tpl['stream']; + + // [web]Web URL[/web] code.. + //$patterns[] = "#\[web:$uid\](.*?)\[/web:$uid\]#si"; + //$replacements[] = $bbcode_tpl['web']; // [flash width=X height=X]Flash URL[/flash] code.. *************** *** 357,360 **** --- 361,365 ---- //Start more bbcode $text = str_replace('url:' . $uid, 'url', $text); + $text = str_replace('web:' . $uid, 'web', $text); // [stream]Sound URL[/stream] code.. |