X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Ffolders.php;h=f727337be6ac07b42effff21ec0c53edafcaa00d;hb=f740c049d91feb836dd9633be9e8ff52c00d066f;hp=0942ddbf19626a718d620892c6365cbee9fd63d3;hpb=2aa12d5e029f04fa8c778ec1d3487418d0c3b62d;p=squirrelmail.git diff --git a/src/folders.php b/src/folders.php index 0942ddbf..f727337b 100644 --- a/src/folders.php +++ b/src/folders.php @@ -1,85 +1,292 @@ -
- - include("../config/config.php"); +\n"; - echo "\n"; + echo _("Folders"); + echo " |
"; + } else if ($success == "unsubscribe") { + echo "" . _("Unsubscribed successfully!") . " "; + } else if ($success == "delete") { + echo "" . _("Deleted folder successfully!") . " "; + } else if ($success == "create") { + echo "" . _("Created folder successfully!") . " "; + } else if ($success == "rename") { + echo "" . _("Renamed successfully!") . " "; + } else if (($sent_create == "true") || ($trash_create == "true")) { + $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0); + if ($sent_create == "true") { + sqimap_mailbox_create ($imapConnection, $sent_folder, ""); + } + if ($trash_create == "true") { + sqimap_mailbox_create ($imapConnection, $trash_folder, ""); + } + sqimap_logout($imapConnection); + echo _("Folders created successfully!"); + } - // indent the correct number of spaces. - for ($j = 0;$j < $periodCount;$j++) - $boxes[$i] = "$boxes[$i] "; + echo " " . _("refresh folder list") . ""; + echo " |
"; + echo _("Special Folder Options"); + echo " |
"; + echo _("In order for SquirrelMail to provide the full set of options you need to create the special folders listed below. Just click the check box and hit the create button."); + echo " |