I noticed that replys are not automatically indented
in Nocc, which is a pity.
On my own webmail, I've build an indenting function,
maybe it is of use for you too. I didn't particulary
like the outlook-style 'original message' header
either, so I replaced it with a more traditional xxxx
wrote.
To do this I replaced two lines of code in action.php,
both originally
$mail_body =
$original_msg."\n".$html_from.': '.$content
['from']."\n".$html_to.': '.$content
['to']."\n".$html_sent.': '.$content
['date']."\n".$html_subject.': '.$content
['subject']."\n\n".strip_tags($content['body'], '');
To be replaced by
$mail_body = mailquote(strip_tags($content
['body'], ''),$content['from']);
and using the following function:
function mailquote($body, $from) {
$from = ucwords(trim(ereg_replace
("<.*>","",str_replace("\"","",$from))));
$body = "> ".ereg_replace("\n","\n> ",trim($body));
return($from." wrote:\n\n".$body);
};
Hope this is of some use to you,
.Mairsil
Logged In: YES
user_id=20872
Thanks for this, I'll try to integrate it soon.
Logged In: YES
user_id=20872
Thanks, this has been committed to cvs as a user-settable
preference (defaulting to classic indented quoting).