mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-07-26 01:31:58 -07:00
Update function.php
This commit is contained in:
@@ -528,8 +528,8 @@ function doreplace2($msg, $options='0|0'){
|
||||
$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("'\[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></font>',$msg);
|
||||
$msg=str_replace('[spoiler]','<div class="fonts pstspl2"><b>Spoiler:</b><div class="pstspl1">',$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("'\[img\](.*?)\[/img\]'si", '<img src=\\1>', $msg);
|
||||
|
Reference in New Issue
Block a user