X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions.php;h=a832181e6e2728cbdd11b1c118107bd9dc768d21;hb=99aaff8b9e275cf29a0771a740f67bb8fb9f5f75;hp=b80e70df7b998d8a0b4934c305ad222e7b27a18d;hpb=2848c63043510b5335e45c6186a4afd13807194e;p=squirrelmail.git diff --git a/src/options.php b/src/options.php index b80e70df..42ecaedd 100644 --- a/src/options.php +++ b/src/options.php @@ -1,327 +1,461 @@ - - 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"); - - include("../src/load_prefs.php"); - - - $imapConnection = sqimap_login($username, $key, $imapServerAddress); - $boxes = sqimap_mailbox_list($imapConnection, $boxes); - fputs($imapConnection, "1 logout\n"); - - echo "
\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 " |