Added feature to allow users to customize how many messages are shown at once while...
[squirrelmail.git] / src / load_prefs.php
index 27e3c13c89ca72a310b6db520b55b4f81207954a..964a6e8ceb0136fc5f05397790256e606779031e 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
    if (!isset($config_php))
       include("../config/config.php");
    if (!isset($prefs_php))
    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;