X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Ffolders.php;h=24eaa84420bc2d52e67dff2abdfc2844706e9566;hb=63277aaab639531ac0c8166676db7da838d68adc;hp=167993c3d25b9e96f0f1756ecc44e5afa27be70e;hpb=d7e3602ce1742be4d59094b4fe55161b17b9b668;p=squirrelmail.git diff --git a/src/folders.php b/src/folders.php index 167993c3..24eaa844 100644 --- a/src/folders.php +++ b/src/folders.php @@ -1,189 +1,178 @@ - - session_start(); +
\n"; + displayPageHeader($color, 'None'); - displayPageHeader($color, "None"); +?> + +
+
+
- 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 " |