X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=inline;f=src%2Ffolders.php;h=2fe3a7130f1d375948b1c858f5494e681c1a4ebf;hb=e1baa507f36dd65abac2ac7b16f54559bfae47b3;hp=66bbc56aa88bed6efff7d28d511f0f0d3f540097;hpb=8e9e8afac7b50a90520dd86c7d8efdfd3ee62d7a;p=squirrelmail.git
diff --git a/src/folders.php b/src/folders.php
index 66bbc56a..2fe3a713 100644
--- a/src/folders.php
+++ b/src/folders.php
@@ -1,268 +1,327 @@
\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 "