strikethrough deleted posts in modlog
This commit is contained in:
parent
d650bc1a20
commit
40c1089052
2
mod.php
2
mod.php
@ -321,6 +321,8 @@
|
|||||||
sprintf($config['file_page'], $post['thread']) . '#' . $match[1]
|
sprintf($config['file_page'], $post['thread']) . '#' . $match[1]
|
||||||
: sprintf($config['file_page'], $match[1])) .
|
: sprintf($config['file_page'], $match[1])) .
|
||||||
'">$1</a>', $log['text']);
|
'">$1</a>', $log['text']);
|
||||||
|
} else {
|
||||||
|
$log['text'] = preg_replace('/post (#(\d+))/', 'post <s>$1</s>', $log['text']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($config['cache']['enabled'])
|
if($config['cache']['enabled'])
|
||||||
|
Loading…
Reference in New Issue
Block a user