X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fload_prefs.php;h=e87fd8339fed6573415675405cf77632838358a3;hp=4478ec9a011a3307722618e02e1d2d60d75817a8;hb=a91b14d8a4ff44c8af0976949e9fd84cae1306dd;hpb=f8dc8d6180df3851ed15bcd39373fcf1760f3290 diff --git a/src/load_prefs.php b/src/load_prefs.php index 4478ec9a..e87fd833 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -1,49 +1,203 @@ -"; - 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 = ""; - } -?> +