New bbcode element: "spoiler". Mail: Top post quotes are now embraced in "spoiler" elements
This commit is contained in:
parent
b5120888cf
commit
8a1f175df0
6 changed files with 39 additions and 5 deletions
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue