";
+ echo "
";
echo "";
echo _("Viewing a text attachment") . " - ";
if ($where && $what) {
@@ -44,12 +61,16 @@
echo "";
echo " | ";
- echo "";
+ echo "";
echo " | ";
- if ($type1 != "html")
+ if ($type1 == 'html') {
+ $body = MagicHTML( $body, $id );
+ } else {
translateText($body, $wrap_at, $charset);
+ }
+ flush();
echo $body;
echo " | ";
@@ -109,7 +130,6 @@
if (isset($absolute_dl) && $absolute_dl == "true") {
switch($type0) {
case "text":
- set_up_language(getPref($data_dir, $username, "language"));
DumpHeaders($type0, $type1, $filename, 1);
$body = mime_fetch_body($imapConnection, $passed_id, $passed_ent_id);
$body = decodeBody($body, $header->encoding);
|
|