X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fload_prefs.php;h=c0a7a913a8cfed12e7666b0dbf629b5ed2d082b6;hb=6316707656c195f1d33e54a065a0b4aff3f4636e;hp=8b251e8e36a0d36c342f049a458516137a07440d;hpb=b2fd071870529300cfa3698f1d66f71223971b88;p=squirrelmail.git diff --git a/src/load_prefs.php b/src/load_prefs.php index 8b251e8e..c0a7a913 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -1,51 +1,236 @@ -"; - 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; - - $left_refresh = getPref($data_dir, $username, "left_refresh"); - if ($left_refresh == "") - $left_refresh = false; - - /** Load up the Signature file **/ - if ($use_signature == true) { - $signature = getSig($data_dir, $username); - } else { - } +