X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions.php;h=7c684247c8fcfe66411ef8fc5452a5bd2e1fca5d;hb=b67e316dea5c3f9e411784dbcde3ace4fc0f9ecd;hp=a832181e6e2728cbdd11b1c118107bd9dc768d21;hpb=ef8703220ec8e7573417b08881f636082e4b8d58;p=squirrelmail.git diff --git a/src/options.php b/src/options.php index a832181e..7c684247 100644 --- a/src/options.php +++ b/src/options.php @@ -26,420 +26,152 @@ include("../functions/array.php"); if (!isset($i18n_php)) include("../functions/i18n.php"); + if (!isset($auth_php)) + include ("../functions/auth.php"); - include("../src/load_prefs.php"); - - - $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort); - $boxes = sqimap_mailbox_list($imapConnection, $boxes); - fputs($imapConnection, "1 logout\n"); - - displayPageHeader($color, "None"); - - /** load up some of the values from the pref file **/ - $fullname = getPref($data_dir, $username, "full_name"); - $replyto = getPref($data_dir, $username, "reply_to"); - $email_address = getPref($data_dir, $username, "email_address"); - $chosen_language = getPref($data_dir, $username, "language"); - - echo "
\n"; - echo _("Options"); - echo " |