strikethrough deleted posts in modlog

This commit is contained in:
Michael Save 2012-01-09 10:48:44 +11:00
parent d650bc1a20
commit 40c1089052

View File

@ -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'])