X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fread_body.php;h=866422d54163c0119445eaa163172c725d95fbb6;hb=ab38c6cf9e26f78a3a168dec7c402214e4ebde7f;hp=05462549a88987a26c702247754b207f4e615640;hpb=5c54e435cf4a3ee9ecdaf2305205a2fbc7af4662;p=squirrelmail.git
diff --git a/src/read_body.php b/src/read_body.php
index 05462549..866422d5 100644
--- a/src/read_body.php
+++ b/src/read_body.php
@@ -1,374 +1,685 @@
";
- echo "
\n";
- echo "\n";
- echo "";
-
- echo "";
- for ($i=1; $i < count($read)-1; $i++) {
- $line = htmlspecialchars($read[$i]);
- if (eregi("^[ |\t]", $line)) {
- $second = $line;
- $first = "";
- } else if (eregi("^([^:|^\s]+):(.+)", $line, $regs)) {
- $first = $regs[1];
- $second = $regs[2];
- } else {
- $second = trim($line);
- $first = "";
- }
- echo "";
- if ($first) echo "$first:";
- else echo " ";
- echo " | $second | ";
- }
- echo " ";
- echo " |
\n";
- echo "