mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 00:30:21 -07:00
Update function.php
This commit is contained in:
parent
964feb72f1
commit
a74678f5e6
@ -528,8 +528,8 @@ function doreplace2($msg, $options='0|0'){
|
|||||||
$msg=str_replace('[/quote]','<hr></blockquote>',$msg);
|
$msg=str_replace('[/quote]','<hr></blockquote>',$msg);
|
||||||
$msg=preg_replace("'\[sp=(.*?)\](.*?)\[/sp\]'si", '<span style="border-bottom: 1px dotted #f00;" title="did you mean: \\1">\\2</span>', $msg);
|
$msg=preg_replace("'\[sp=(.*?)\](.*?)\[/sp\]'si", '<span style="border-bottom: 1px dotted #f00;" title="did you mean: \\1">\\2</span>', $msg);
|
||||||
$msg=preg_replace("'\[abbr=(.*?)\](.*?)\[/abbr\]'si", '<span style="border-bottom: 1px dotted;" title="\\1">\\2</span>', $msg);
|
$msg=preg_replace("'\[abbr=(.*?)\](.*?)\[/abbr\]'si", '<span style="border-bottom: 1px dotted;" title="\\1">\\2</span>', $msg);
|
||||||
$msg=str_replace('[spoiler]','<font class="fonts pstspl2"><b>Spoiler:</b><div class="pstspl1">',$msg);
|
$msg=str_replace('[spoiler]','<div class="fonts pstspl2"><b>Spoiler:</b><div class="pstspl1">',$msg);
|
||||||
$msg=str_replace('[/spoiler]','</div></font>',$msg);
|
$msg=str_replace('[/spoiler]','</div></div>',$msg);
|
||||||
$msg=preg_replace("'\[(b|i|u|s)\]'si",'<\\1>',$msg);
|
$msg=preg_replace("'\[(b|i|u|s)\]'si",'<\\1>',$msg);
|
||||||
$msg=preg_replace("'\[/(b|i|u|s)\]'si",'</\\1>',$msg);
|
$msg=preg_replace("'\[/(b|i|u|s)\]'si",'</\\1>',$msg);
|
||||||
$msg=preg_replace("'\[img\](.*?)\[/img\]'si", '<img src=\\1>', $msg);
|
$msg=preg_replace("'\[img\](.*?)\[/img\]'si", '<img src=\\1>', $msg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user