updated documentation, fixed bugs with displaying multiple addrs
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 27 Apr 2000 03:04:15 +0000 (03:04 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 27 Apr 2000 03:04:15 +0000 (03:04 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@465 7612ce4b-ef26-0410-bec9-ea0150e637f0

BUG
ChangeLog
INSTALL
functions/imap_messages.php
functions/mailbox_display.php
src/read_body.php

diff --git a/BUG b/BUG
index bfadfc8bb310e354e489dea9eca8fbb08c989631..597604a0b23d042a3ab9bbbbc6dc4a2c8680fb85 100644 (file)
--- a/BUG
+++ b/BUG
@@ -1,12 +1,9 @@
 Known BUGS to be fixed before 0.4pre1:
 
-  -    When more than one line of CCs or TOs is there, it doesn't have
+--SQUASHED--
+(lme)  When more than one line of CCs or TOs is there, it doesn't have
        the (more) or (less) option that used to be there.. only displays
                 the first line.
-  -    Check about optomizing Delete.. it takes quite a while when deleting
-       a large number of messages.
-
---SQUASHED--
 (lme)  When reading through 7 unread messages, every time I would read
        a message and click on "Message List" to go back, they would stay
                 marked "unread".  The caching was doing too good of a job.  (:
index b880ab62476f6e3a6c0e33304a89fae1f8a3cde6..cf2a4787c707801ed7e6032098dd8bf0024cce76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 Version 0.4pre1 -- Development
 ------------------------------
+- Fixed all bugs listed in BUG
+- When inside the Sent folder, it displays "To" instead of "From" 
 - Added ability to go to Next and Previous message while reading a message
 - Caching of the message headers in mailbox (much faster)
 - Added a preference that allows users to customize how many messages
diff --git a/INSTALL b/INSTALL
index 06af96421fa46c57b454c42eb6c2d6c6d5746ead..e8abf30c3f5c750c5163e96f36f188a2364e8054 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -124,9 +124,13 @@ b. Setting up directories
 
 c. Setting up SquirrelMail
 
-  All configuration directives you need to worry about in SquirrelMail
-  is in the file config/config.php in you SquirrelMail directory. This
-  file is pretty well commented.
+  There are two ways to configure Squirrelmail.  In the config/ directory,
+  there is a perl script called conf.pl that will aid you in the
+  configuration process.  This is the most recommended way of handling
+  the config.
+
+  You can also copy the config/config_default.php file to config.php
+  and edit that manually.
 
 4. RUNNING SQUIRRELMAIL
 -----------------------
index cdd240a82b6642fd3d652a5b6a946ac9de4df69b..2241163e360c1c13f61a541b5d60b20c08889e2f 100755 (executable)
             $pos = 0;
             $header["CC"][$pos] = trim(substr($read[$i], 4));
             $i++;
-            while ((substr($read[$i], 0, 1) == " ") && (trim($read[$i]) != "")) {
+                               while (((substr($read[$i], 0, 1) == "\t") || (substr($read[$i], 0, 1) == " ")) && (trim($read[$i]) != "")) {
                $pos++;
                $header["CC"][$pos] = trim($read[$i]);
                $i++;
             $pos = 0;
             $header["TO"][$pos] = trim(substr($read[$i], 4));
             $i++;
-            while ((substr($read[$i], 0, 1) == " ")  && (trim($read[$i]) != "")){
+                               while (((substr($read[$i], 0, 1) == "\t") || (substr($read[$i], 0, 1) == " ")) && (trim($read[$i]) != "")) {
                $pos++;
                $header["TO"][$pos] = trim($read[$i]);
                $i++;
index b36e00a901554d051f50202c7746e24ac7eb670a..3280c2ab0bbe79fb166b55465efdcd52e4175ad0 100644 (file)
       
       if ($msg["FLAG_FLAGGED"] == true) { $flag = "<font color=$color[2]>"; $flag_end = "</font>"; }
       if ($msg["FLAG_SEEN"] == false) { $bold = "<b>"; $bold_end = "</b>"; }
-      if ($msg["FLAG_ANSWERED"] == true) { $ans = "&nbsp;[A]"; }
                if ($mailbox == $sent_folder) { $italic = "<i>"; $italic_end = "</i>"; }
       
       echo "   <td width=1% align=center><input type=checkbox name=\"msg[$t]\" value=".$msg["ID"]."></TD>\n";
       echo "   <td width=30%>$italic$bold$flag$senderName$flag_end$bold_end$italic_end</td>\n";
       echo "   <td nowrap width=1%><center>$bold$flag".$msg["DATE_STRING"]."$flag_end$bold_end</center></td>\n";
-      echo "   <td width=%>$bold<a href=\"read_body.php?mailbox=$urlMailbox&passed_id=".$msg["ID"]."&startMessage=$startMessage&show_more=0\">$flag$subject$flag_end</a>$ans$bold_end</td>\n";
+               if ($msg["FLAG_ANSWERED"] == true) echo "   <td width=1%><b><small>A</small></b></td>";
+               else    echo "   <td width=1%>&nbsp;</td>";
+      echo "   <td width=%>$bold<a href=\"read_body.php?mailbox=$urlMailbox&passed_id=".$msg["ID"]."&startMessage=$startMessage&show_more=0\">$flag$subject$flag_end</a>$bold_end</td>\n";
 
       echo "</tr>\n";
    }
          echo "   <A HREF=\"right_main.php?newsort=0&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/down_pointer.gif\" BORDER=0></A></TD>\n";
       else
          echo "   <A HREF=\"right_main.php?newsort=0&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/sort_none.gif\" BORDER=0></A></TD>\n";
+      echo "   <TD WIDTH=1%>&nbsp;</TD>\n";
       /** SUBJECT HEADER **/
       echo "   <TD WIDTH=%><B>". _("Subject") ."</B>\n";
       if ($sort == 4)
          echo "   <A HREF=\"right_main.php?newsort=4&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/down_pointer.gif\" BORDER=0></A></TD>\n";
       else
          echo "   <A HREF=\"right_main.php?newsort=5&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/sort_none.gif\" BORDER=0></A></TD>\n";
+
       echo "</TR>";
 
       
index 4143694cf36c2d0dd8cacbbcf4d63e46ffaedeab..01fc7db427660f2512b75a0ec9f009723b690fe6 100644 (file)
@@ -96,6 +96,7 @@
    $to_ary = $message["HEADER"]["TO"];
    while ($i < count($to_ary)) {
       $to_ary[$i] = htmlspecialchars($to_ary[$i]);
+
       if ($to_string)
          $to_string = "$to_string<BR>$to_ary[$i]";
       else