X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fload_prefs.php;h=24e18d4e61da7ddae5320d4d40e36aaabc57623e;hb=2d367c687f9813a45a3d2f1911036cfc0425fdd0;hp=8c692813244bd6bd688010b55c5900ccb29cd37a;hpb=f94ff7ce3d862fa84b4299bad2d69c3a6bb50226;p=squirrelmail.git diff --git a/src/load_prefs.php b/src/load_prefs.php index 8c692813..24e18d4e 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -1,48 +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 { - } -?> +