X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fload_prefs.php;h=cce035433f7312d898dfefa2a89c1aed9849b17c;hb=7bcc8f543975b2bea2269fa4af2aba7baf5bb82d;hp=c714429a568adc5215b09e1c0a5f1199fd3fd614;hpb=f804972b86f78be119ce31041fb316c36ace0d24;p=squirrelmail.git diff --git a/src/load_prefs.php b/src/load_prefs.php index c714429a..cce03543 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -1,46 +1,220 @@ -"; - echo "Exiting abnormally"; - exit; - } - } - - - /** Load the user's trash folder preferences **/ - $move_to_trash = getPref($data_dir, $username, "move_to_trash"); - if ($move_to_trash == "") - $move_to_trash = $default_move_to_trash; - - $wrap_at = getPref($data_dir, $username, "wrap_at"); - if ($wrap_at == "") - $wrap_at = 86; - - $editor_size = getPref($data_dir, $username, "editor_size"); - if ($editor_size == "") - $editor_size = 76; - - $use_signature = getPref($data_dir, $username, "use_signature"); - if ($use_signature == "") - $use_signature = false; - - /** Load up the Signature file **/ - if ($use_signature == true) { - $signature = getSig($data_dir, $username); - } else { - $signature = ""; - } -?> +