X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Ffolders.php;h=275a4c3dbfebbd4b82d1de6abf98c845d2e99944;hb=709a1a6d2b6881c1e57e542579436a8f9a909ac3;hp=35a016c766e76a522744a59cc6f1d14441969abf;hpb=32f4685bb4c4f67dbf8dca5b0490f3070f429971;p=squirrelmail.git
diff --git a/src/folders.php b/src/folders.php
index 35a016c7..275a4c3d 100644
--- a/src/folders.php
+++ b/src/folders.php
@@ -8,37 +8,35 @@
** Handles all interaction between the user and the other folder
** scripts which do most of the work. Also handles the Special
** Folders.
+ **
+ ** $Id$
**/
- session_start();
+ include('../src/validate.php');
+ include("../functions/imap.php");
+ include("../functions/array.php");
+ include("../functions/plugin.php");
+
+ displayPageHeader($color, _("None"));
+
+?>
- if (!isset($config_php))
- include("../config/config.php");
- if (!isset($strings_php))
- include("../functions/strings.php");
- if (!isset($page_header_php))
- include("../functions/page_header.php");
- if (!isset($imap_php))
- include("../functions/imap.php");
- if (!isset($array_php))
- include("../functions/array.php");
- if (!isset($plugin_php))
- include("../functions/plugin.php");
+
+
\n";
}
$imapConnection = sqimap_login ($username, $key, $imapServerAddress, $imapPort, 0);
$boxes = sqimap_mailbox_list($imapConnection);
- //display form option for creating Sent and Trash folder
- if ($imap_server_type == "cyrus" && ($sent_folder != "none" || $trash_folder != "none")) {
- if ((!sqimap_mailbox_exists ($imapConnection, $sent_folder)) || (!sqimap_mailbox_exists ($imapConnection, $trash_folder))) {
- echo "
\n";
- echo "
";
- echo _("Special Folder Options");
- echo "
";
- 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 "