X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Ffolders.php;h=e0aab0643ae44be00259b0451bd3c507723834a3;hb=b65a57eafe670d1550f663704ec100a5fe719bef;hp=1f86f92c7ec89d7a9904f830a4357c7a19caa64e;hpb=5917742752bea11a547aeba6e4102dd3655b4800;p=squirrelmail.git
diff --git a/src/folders.php b/src/folders.php
index 1f86f92c..e0aab064 100644
--- a/src/folders.php
+++ b/src/folders.php
@@ -1,268 +1,220 @@
\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 "