Tomasz-13 wrote: > > Hello, > > Is there a way to disable "Show all" option? > functions/mailbox_display.php get_paginator_str() function find lines with ---- /* If necessary, compute the 'show all' string. */ if (($prv_str != '') || ($nxt_str != '')) { ---- and add $num_msgs variable test ---- /* If necessary, compute the 'show all' string. */ if ((($prv_str != '') || ($nxt_str != '')) && $num_msgs<1000) { ---- > Why? Because when I have a lot of emails in my inbox I can not > display them(browser saves right_main.php to disk) > I know it depends on php configuration(memory limit,max_execution_time > etc). > I would like to limit displaying messages, so that, user can only > display 100 at a time. > Is it possible? > include/load_prefs.php find line with --- $show_num = getPref($data_dir, $username, 'show_num', 15 ); --- and add upper limits after it --- $show_num = getPref($data_dir, $username, 'show_num', 15 ); if ($show_num > 100) { $show_num = 100; } --- -- Tomas -- View this message in context: http://www.nabble.com/How-to-disable-%22Show-all-messages%22-option-tp20447037p20487576.html Sent from the squirrelmail-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users