forked from leftypol/leftypol
strikethrough deleted posts in modlog
This commit is contained in:
parent
d650bc1a20
commit
40c1089052
1 changed files with 2 additions and 0 deletions
2
mod.php
2
mod.php
|
@ -321,6 +321,8 @@
|
|||
sprintf($config['file_page'], $post['thread']) . '#' . $match[1]
|
||||
: sprintf($config['file_page'], $match[1])) .
|
||||
'">$1</a>', $log['text']);
|
||||
} else {
|
||||
$log['text'] = preg_replace('/post (#(\d+))/', 'post <s>$1</s>', $log['text']);
|
||||
}
|
||||
|
||||
if($config['cache']['enabled'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue