Find
$s = preg_replace('/\[size=([1-7])\](.+?)\[\/size\]/is', "<span class='size\\1'>\\2</span>", $s);
Replace
$s = preg_replace('/\[size=([1-7])\](.+?)\[\/size\]/is', "<font size='\\1'>\\2</font>", $s);
Thanks to GTAMCN
Posted 22 November 2010 - 15:56
$s = preg_replace('/\[size=([1-7])\](.+?)\[\/size\]/is', "<span class='size\\1'>\\2</span>", $s);
$s = preg_replace('/\[size=([1-7])\](.+?)\[\/size\]/is', "<font size='\\1'>\\2</font>", $s);
Bug Fix
Community Information →
Bug Fixes →
[You] Bbcode FixStarted by Subzero, 17 Jan 2011 |
|
|
||
Bug Fix
Community Information →
Bug Fixes →
other fixed for news.phpStarted by nicky, 03 Jan 2011 |
|
|
||
Bug Fix
Community Information →
Bug Fixes →
news.phpStarted by nicky, 31 Dec 2010 |
|
|
||
Bug Fix
Community Information →
Bug Fixes →
function_bbcode.phpStarted by Krypto, 07 Dec 2010 |
|
|
||
Bug Fix
Community Information →
Bug Fixes →
viewnfo.phpStarted by Krypto, 24 Nov 2010 |
|
|
0 members, 1 guests, 0 anonymous users