added some preferences, and squashed soem bugs
[squirrelmail.git] / src / left_main.php
index 6558954..642717b 100644 (file)
@@ -20,7 +20,7 @@
    include("../functions/imap.php");
    include("../functions/mailbox.php");
 
-   function formatMailboxName($imapConnection, $mailbox, $delimeter, $color) {
+   function formatMailboxName($imapConnection, $mailbox, $delimeter, $color, $move_to_trash) {
       require ("../config/config.php");
 
       $mailboxURL = urlencode($mailbox);
             $line .= readShortMailboxName($mailbox, $delimeter);
             $line .= "</FONT><FONT FACE=\"Arial,Helvetica\">";
          } else {
-            $line .= formatMailboxName($imapConnection, $mailbox, $delimeter, $color);
+            $line .= formatMailboxName($imapConnection, $mailbox, $delimeter, $color, $move_to_trash);
          }
       } else {
-         $line .= formatMailboxName($imapConnection, $mailbox, $delimeter, $color);
+         $line .= formatMailboxName($imapConnection, $mailbox, $delimeter, $color, $move_to_trash);
       }
       echo "$line<BR>";
    }