projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added feature to allow users to customize how many messages are shown at once while...
[squirrelmail.git]
/
src
/
load_prefs.php
diff --git
a/src/load_prefs.php
b/src/load_prefs.php
index 27e3c13c89ca72a310b6db520b55b4f81207954a..964a6e8ceb0136fc5f05397790256e606779031e 100644
(file)
--- a/
src/load_prefs.php
+++ b/
src/load_prefs.php
@@
-1,4
+1,4
@@
-<?
+<?
php
if (!isset($config_php))
include("../config/config.php");
if (!isset($prefs_php))
if (!isset($config_php))
include("../config/config.php");
if (!isset($prefs_php))
@@
-30,6
+30,10
@@
if ($move_to_trash == "")
$move_to_trash = $default_move_to_trash;
if ($move_to_trash == "")
$move_to_trash = $default_move_to_trash;
+ $show_num = getPref($data_dir, $username, "show_num");
+ if ($show_num == "")
+ $show_num = 25;
+
$wrap_at = getPref($data_dir, $username, "wrap_at");
if ($wrap_at == "")
$wrap_at = 86;
$wrap_at = getPref($data_dir, $username, "wrap_at");
if ($wrap_at == "")
$wrap_at = 86;