X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Ffolders.php;h=eb7d634d7daba771b659e4bc4aa0f0d0b252e223;hb=edebf177518f95c5a491630784301bb273fd3563;hp=67584317b591e4404ac5b13f5ea1f63ba47b6554;hpb=9f2215a1f40978a370a7538229ca2f55f55026ee;p=squirrelmail.git
diff --git a/src/folders.php b/src/folders.php
index 67584317..eb7d634d 100644
--- a/src/folders.php
+++ b/src/folders.php
@@ -1,268 +1,293 @@
\n";
-
- displayPageHeader($color, "None");
-
- echo "\n";
- echo " \n";
- echo _("Folders");
- echo " |
\n";
- echo "
\n";
-
- $imapConnection = sqimap_login ($username, $key, $imapServerAddress, $imapPort, 0);
- $boxes = sqimap_mailbox_list($imapConnection);
-
- /** Cyrus Folder Options**/
-//Creates the Sent and Trash folder
- if (($sent_create == "true") || ($trash_create == "true")) {
- if ($sent_create == "true") {
- sqimap_mailbox_create ($imapConnection, $sent_folder, "");
- }
- if ($trash_create == "true") {
- sqimap_mailbox_create ($imapConnection, $trash_folder, "");
- }
-
-//Major hack, need to right a funtion to check and if mailbox is subscribed to
- sqimap_subscribe($imapConnection, "INBOX");
- echo "
";
- echo _("Mailboxes Created Successfully!");
- echo "
";
- echo _("Click here");
- echo " ";
- echo _("to continue.");
- echo "";
- echo "