[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [ 100578 ] Squirrel Mail Email Pagination Error
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [ 100578 ] Squirrel Mail Email Pagination Error |
Date: |
Sat, 07 Dec 2002 20:08:51 -0500 |
Support Request #100578, was updated on 2002-Mar-13 06:28
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100578&group_id=509
Category: bla
Status: Closed
Priority: 5
Summary: Squirrel Mail Email Pagination Error
By: skwashd
Date: 2002-Dec-08 12:08
Logged In: YES
user_id=2480
Browser: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826
Squirrel mail has been replaced with felamimail as of
version 0.9.14
----------------------------------------------------------------------
By: kellin
Date: 2002-Mar-13 06:28
Logged In: YES
user_id=4189
Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; DSEBUILD420; BCBSM;
T312461)
Email pagination in Squirrel mail after email has been
deleted from a group does not function correctly. The
start message does not correctly adjust to the right
number of messages prior to the current entry. This is
due to a miscalculation in the method used to paginate
email.
The following line of code added to function
showMessagesForMailbox() after the global declarations
corrects this problem. It ensures that email groups
always begin at the start of the number of messages to
be shown per group and now some intermediate value due
to missing messages.
This function is located
in /phpgroupware/squirrelmail/inc/mailbox_display.php
Line to add is:
$startMessage -= (($startMessage-1) % $show_num);
Example code follows:
function showMessagesForMailbox
($imapConnection, $mailbox, $numMessages,
$startMessage, $sort, $color,$show_num, $use_cache)
{
global $msgs, $msort;
global $sent_folder;
global $mailboxStatus, $username,
$key, $imapServerAddress, $imapPort;
global $auto_expunge;
global $phpgw, $phpgw_info;
$startMessage -= (($startMessage-1) %
$show_num);
----------------------------------------------------------------------
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100578&group_id=509
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-tracker] [ 100578 ] Squirrel Mail Email Pagination Error,
nobody <=