patch for next / previous links in mailwatch

Furnish, Trever G TGFurnish at HERFF-JONES.COM
Wed Oct 1 22:49:46 IST 2003


Steve,

Attached is a patch for the rep_message_listing.php file distributed as part
of mailwatch 0.3.  The patch does these things:

1. "fixes" the next/prev links at the bottom of the rep_message_listing.php
file distributed as part of mailwatch 0.3.  Original behavior was to display
a Prev link even on the first page and a Next link even on the last page.
Patched behavior is to leave off the Prev link on the first page (since
there is no page "previous" to the first page) and the Next link on the last
page (ditto).

2. Removes the "A HREF" tags around the current page number in the list of
pages at the bottom of the message listing.  This provides a visual clue as
to the current page number.

3. Adds Next / Prev links at the top of the page as well.  This facilitates
quickly paging through the list, since the positions of the links at the top
of the page change much less between pages than the positions of the links
at the bottom of each page.

Submitted in the hopes it'll be useful to someone.

--
Trever
 <<rep_message_listing.patch>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rep_message_listing.patch
Type: application/octet-stream
Size: 2470 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20031001/0f12c704/rep_message_listing.obj


More information about the MailScanner mailing list