Reply to PMs with quote

This commit is contained in:
Savetheinternet committed 2011-04-12 19:56:37 +10:00
1 parent 9dc1e98704
commit 6b77865110
2 files changed
+31 -4

No files matched your search

+10
View File
@@ -919,6 +919,16 @@
}
}
function quote($body) {
$body = str_replace('<br/>', "\n", $body);
$body = strip_tags($body);
$body = preg_replace("/(^|\n)/", '$1&gt;', $body);
return $body . "\n";
}
function markup(&$body) {
global $board, $config;