New bbcode element: "spoiler". Mail: Top post quotes are now embraced in "spoiler" elements
This commit is contained in:
@@ -74,7 +74,7 @@ function email_msg_headers($mbox,$uid) {
|
||||
}
|
||||
|
||||
|
||||
function email_get_msg($mbox,$uid) {
|
||||
function email_get_msg($mbox,$uid, $reply) {
|
||||
$ret = array();
|
||||
|
||||
$struc = (($mbox && $uid) ? @imap_fetchstructure($mbox,$uid,FT_UID) : null);
|
||||
@@ -114,7 +114,7 @@ function email_get_msg($mbox,$uid) {
|
||||
$ret['body'] = removegpg($ret['body']);
|
||||
$msg = removesig($ret['body']);
|
||||
$ret['body'] = $msg['body'];
|
||||
$ret['body'] = convertquote($ret['body'], false);
|
||||
$ret['body'] = convertquote($ret['body'], $reply);
|
||||
|
||||
if (trim($html) != '')
|
||||
$ret['body'] = removelinebreak($ret['body']);
|
||||
|
||||
Reference in New Issue
Block a user