X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fload_prefs.php;h=88ff33416d2ac52b55eff2d553c5e90769666d27;hb=cf85d6656172d88c8ae99b213a829698ebdcdf18;hp=4478ec9a011a3307722618e02e1d2d60d75817a8;hpb=f8dc8d6180df3851ed15bcd39373fcf1760f3290;p=squirrelmail.git diff --git a/src/load_prefs.php b/src/load_prefs.php index 4478ec9a..88ff3341 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -1,6 +1,8 @@ "; + echo $theme[0]["PATH"]; + echo _(" was not found."); + echo "
"; echo _("Exiting abnormally"); exit; } @@ -31,6 +33,14 @@ if ($wrap_at == "") $wrap_at = 86; + $left_size = getPref($data_dir, $username, "left_size"); + if ($left_size == "") { + if (isset($default_left_size)) + $left_size = $default_left_size; + else + $left_size = 200; + } + $editor_size = getPref($data_dir, $username, "editor_size"); if ($editor_size == "") $editor_size = 76; @@ -39,11 +49,13 @@ 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 { - $signature = ""; } ?> -