X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_folder.php;h=1f05f8ba6533e2371a7e8693b3566a8c70ecc90e;hb=709a1a6d2b6881c1e57e542579436a8f9a909ac3;hp=4955f35ba6210fe34b54f15ca9832804fcdef04f;hpb=c36ed9cfc1635cd9a8f80d9cdf8200628777903f;p=squirrelmail.git diff --git a/src/options_folder.php b/src/options_folder.php index 4955f35b..1f05f8ba 100644 --- a/src/options_folder.php +++ b/src/options_folder.php @@ -7,114 +7,145 @@ ** ** Displays all options relating to folders ** + ** $Id$ **/ - session_start(); + include('../src/validate.php'); + include('../functions/display_messages.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($display_messages_php)) - include("../functions/display_messages.php"); - if (!isset($imap_php)) - include("../functions/imap.php"); - if (!isset($array_php)) - include("../functions/array.php"); - if (!isset($i18n_php)) - include("../functions/i18n.php"); + $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0); + $boxes = sqimap_mailbox_list($imapConnection); + sqimap_logout($imapConnection); +?> +
+ + +
- include("../src/load_prefs.php"); - displayPageHeader($color, "None"); + - $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0); - $boxes = sqimap_mailbox_list($imapConnection, $boxes); - fputs($imapConnection, "1 logout\n"); + + +
-?> -
-
-
+

- - +
- + - -"; + echo ''; // SENT FOLDER - echo ""; + echo ''; ?> + + + + + + + + + + + + +
: + : -
"; +
'; else - echo "
"; + echo '
'; ?>
"; + echo '
'; echo _("Trash Folder:"); - echo ""; + echo ''; echo "\n"; - echo "
"; + echo '
'; echo _("Sent Folder:"); - echo ""; - echo "'; + echo '\n"; - echo "
+ : + + >
+ >
+ >
+
+ : + + 2) echo " checked"; ?>> - (4)
+ > - (4/27) +
+ : + + > + +
  - + " name="submit_folder">
+ + + +
+ +