Moved the load_prefs include to before the dispayheader call, other wise Plugin prefs...
[squirrelmail.git] / src / folders.php
index 35b5a39fcc2c3c3108d689d823d9d6bb01939194..80697f038eb46dd32182ae5a3e2b5b2ba23deef7 100644 (file)
@@ -73,6 +73,7 @@
    echo "</CENTER>";
    echo "</BODY></HTML>";
        
+   sqimap_logout($imapConnection);
    exit;
    }
 
@@ -92,9 +93,9 @@
            if (!sqimap_mailbox_exists ($imapConnection, $trash_folder)){
            echo _("Create Trash") . "<INPUT TYPE=checkbox NAME=trash_create value=true><br>\n";
            echo "<INPUT TYPE=submit VALUE=Create>";
-           echo "</FORM></TD></TR>\n";
            }
        }
+       echo "</FORM></TD></TR></TABLE>n";
    }
 
    /** DELETING FOLDERS **/