X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Ffolders.php;h=cf385562d4305c36ed6747c64af758b1322cb556;hb=a4fe507d376dc9bcb3337e8007441b0af706017f;hp=167993c3d25b9e96f0f1756ecc44e5afa27be70e;hpb=d7e3602ce1742be4d59094b4fe55161b17b9b668;p=squirrelmail.git
diff --git a/src/folders.php b/src/folders.php
index 167993c3..cf385562 100644
--- a/src/folders.php
+++ b/src/folders.php
@@ -1,4 +1,4 @@
-
+
\n";
-
displayPageHeader($color, "None");
echo "\n";
@@ -29,73 +27,78 @@
/** 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 (($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 "
";
+ sqimap_mailbox_create ($imapConnection, $trash_folder, "");
+ }
+ echo "
";
+ echo _("Mailboxes Created Successfully!");
+ echo "
";
echo _("Click here");
echo " ";
echo _("to continue.");
echo "";
echo "