bugfixes from andrea dahl
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 10 Aug 2000 17:02:03 +0000 (17:02 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 10 Aug 2000 17:02:03 +0000 (17:02 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@700 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/folders.php

index bdb1bb5..8474664 100644 (file)
          $count_special_folders++;
       else if ($boxes[$p]["unformatted"] == $trash_folder && $trash_folder)                                                                  
          $count_special_folders++;
+      else if ($boxes[$p]["unformatted"] == $sent_folder && $sent_folder)
+         $count_special_folders++;
    }   
 
    if ($count_special_folders < count($boxes)) {
                        {       
             $box = $boxes[$i]["unformatted-dm"];
             $box2 = replace_spaces($boxes[$i]["formatted"]);
-            echo "         <OPTION VALUE=\"$box\">$box2\n";
+            if (strtolower($imap_server_type) != "courier" || strtolower($box) != "inbox.trash")
+               echo "<OPTION VALUE=\"$box\">$box2\n";
          }
       }
       echo "</SELECT></TT>\n";