From 8bb298fea897a79852491fbc492869c52a2ca594 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Fri, 10 Dec 2004 03:49:27 +0000 Subject: [PATCH] Don't strip CTRL-A codes except when replying. --- web/root/msgs/attachments.ssjs | 2 +- web/root/msgs/inline.ssjs | 2 +- web/root/msgs/msg.ssjs | 2 +- web/root/msgs/msgframe.ssjs | 2 +- web/root/msgs/msgs.ssjs | 2 +- web/root/msgs/reply.ssjs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/root/msgs/attachments.ssjs b/web/root/msgs/attachments.ssjs index cd0b308f19..f49a07ae5c 100644 --- a/web/root/msgs/attachments.ssjs +++ b/web/root/msgs/attachments.ssjs @@ -24,7 +24,7 @@ hdr=msgbase.get_msg_header(false,id); if(hdr==undefined) { error("No such message!"); } -body=msgbase.get_msg_body(false,id,true,true); +body=msgbase.get_msg_body(false,id); if(path==undefined) { error("Can not read message body!"); } diff --git a/web/root/msgs/inline.ssjs b/web/root/msgs/inline.ssjs index 0b43f9730a..bcd93b0ea5 100644 --- a/web/root/msgs/inline.ssjs +++ b/web/root/msgs/inline.ssjs @@ -24,7 +24,7 @@ hdr=msgbase.get_msg_header(false,id); if(hdr==undefined) { error("No such message!"); } -body=msgbase.get_msg_body(false,id,true,true); +body=msgbase.get_msg_body(false,id); if(path==undefined) { error("Can not read message body!"); } diff --git a/web/root/msgs/msg.ssjs b/web/root/msgs/msg.ssjs index 00220ac65f..a1b73807e3 100644 --- a/web/root/msgs/msg.ssjs +++ b/web/root/msgs/msg.ssjs @@ -30,7 +30,7 @@ template.idx=msgbase.get_msg_index(false,m); if(sub=='mail' && template.idx.to!=user.number) error("You can only read e-mail messages addressed to yourself!"); template.hdr=msgbase.get_msg_header(false,m); -template.body=msgbase.get_msg_body(false,m,true,true); +template.body=msgbase.get_msg_body(false,m); msg=mime_decode(template.hdr,template.body); template.body=msg.body; diff --git a/web/root/msgs/msgframe.ssjs b/web/root/msgs/msgframe.ssjs index d87c23b2e2..b3a8f3c90e 100644 --- a/web/root/msgs/msgframe.ssjs +++ b/web/root/msgs/msgframe.ssjs @@ -38,7 +38,7 @@ else { } template.hdr=msgbase.get_msg_header(false,id); -template.body=msgbase.get_msg_body(false,id,true,true); +template.body=msgbase.get_msg_body(false,id); msg=mime_decode(template.hdr,template.body); template.body=msg.body; diff --git a/web/root/msgs/msgs.ssjs b/web/root/msgs/msgs.ssjs index 761cad1dc0..dd63e75194 100644 --- a/web/root/msgs/msgs.ssjs +++ b/web/root/msgs/msgs.ssjs @@ -113,7 +113,7 @@ for(displayed=0;displayed<max_messages && last_offset >= 0;last_offset--) { if(hdr.subject=='') hdr.subject="-- No Subject --"; template.messages[displayed.toString()]=hdr; - template.messages[displayed.toString()].attachments=count_attachments(msgarray[last_offset].hdr,msgbase.get_msg_body(true,msgarray[last_offset].offset,true,true)); + template.messages[displayed.toString()].attachments=count_attachments(msgarray[last_offset].hdr,msgbase.get_msg_body(true,msgarray[last_offset].offset)); template.messages[displayed.toString()].offset=msgarray[last_offset].offset; displayed++; } diff --git a/web/root/msgs/reply.ssjs b/web/root/msgs/reply.ssjs index 0daad14791..4de903af9a 100644 --- a/web/root/msgs/reply.ssjs +++ b/web/root/msgs/reply.ssjs @@ -36,7 +36,7 @@ else template.number=hdr.number; -template.body=msgbase.get_msg_body(false,parseInt(http_request.query.reply_to),true,true); +template.body=msgbase.get_msg_body(false,parseInt(http_request.query.reply_to),true); if(this.word_wrap != undefined) { template.body=quote_msg(word_wrap(template.body,79),79); } -- GitLab