|
|
|
@ -114,7 +114,7 @@ function bbcode($Text,$preserve_nl = false) {
|
|
|
|
|
$Text = preg_replace("/\[quote\](.*?)\[\/quote\]/ism","$QuoteLayout", $Text); |
|
|
|
|
|
|
|
|
|
// [img=widthxheight]image source[/img] |
|
|
|
|
$Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="height:{$2}px; width:{$1}px;" >', $Text); |
|
|
|
|
$Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="height: $2px; width: $1px;" >', $Text); |
|
|
|
|
|
|
|
|
|
// Images |
|
|
|
|
// [img]pathtoimage[/img] |
|
|
|
|