X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fload_prefs.php;h=24e18d4e61da7ddae5320d4d40e36aaabc57623e;hb=2d367c687f9813a45a3d2f1911036cfc0425fdd0;hp=05e3c57a00cd8483491c70b7abfaf0ebf3240e9e;hpb=67c62ef943172cc3419028fe5fc6f67b785095ce;p=squirrelmail.git diff --git a/src/load_prefs.php b/src/load_prefs.php index 05e3c57a..24e18d4e 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -1,49 +1,221 @@ -"; - 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 = ""; - } -?> +