greatly improved speed and memory management of download of attachments.
[squirrelmail.git] / functions / mailbox_display.php
index 0599282bd82737081c142ce66ecb9fcc8c124f4b..925679d8292751061031e6ef5f1ad2615c5748c1 100644 (file)
@@ -73,7 +73,7 @@
                break;
             case 5: # flags
                $stuff = false;
-               echo "   <td bgcolor=$hlt_color width=1% nowrap><b><small>\n";
+               echo "   <td bgcolor=$hlt_color align=center width=1% nowrap><b><small>\n";
                if ($msg["FLAG_ANSWERED"] == true) {
                   echo "A\n";
                   $stuff = true;
       global $message_highlight_list;
       global $auto_expunge;
 
-      sqimap_mailbox_expunge($imapConnection, $mailbox, false);
+         if ($auto_expunge == true) sqimap_mailbox_expunge($imapConnection, $mailbox, false);
       sqimap_mailbox_select($imapConnection, $mailbox);
 
       if (!$use_cache) {