[#7747] disappearing bottom navbar
Summary disappearing bottom navbar
Queue IMP
Queue Version 4.3
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester earl (dot) fogel (at) usask (dot) ca
Created 12/02/2008 (214 days ago)
Due
Updated 12/02/2008 (214 days ago)
Assigned
Resolved 12/02/2008 (214 days ago)
Attachments
Milestone
Patch Yes

History
12/02/2008 Michael Slusarz Comment #3
State ⇒ Duplicate
Reply to this comment
Duplicate of Ticket #7442.
12/02/2008 earl (dot) fogel (at) usask (dot) ca Comment #2 Reply to this comment
# diff -c mailbox.php.orig mailbox.php
*** mailbox.php.orig    2008-09-22 11:28:35.000000000 -0600
--- mailbox.php 2008-12-02 11:52:02.000000000 -0600
***************
*** 885,891 ****
   echo $mf_template->fetch(IMP_TEMPLATES . '/mailbox/message_footers.html');

   /* If there are 20 messages or less, don't show the actions/navbar again. */
! if ($pageOb->msgcount > 20) {
       $a_template->set('isbottom', true);
       echo $a_template->fetch(IMP_TEMPLATES . '/mailbox/actions.html');
       if ($n_template->get('use_folders')) {
--- 885,891 ----
   echo $mf_template->fetch(IMP_TEMPLATES . '/mailbox/message_footers.html');

   /* If there are 20 messages or less, don't show the actions/navbar again. */
!  if ($pageOb->end - $pageOb->begin > 20) {
       $a_template->set('isbottom', true);
       echo $a_template->fetch(IMP_TEMPLATES . '/mailbox/actions.html');
       if ($n_template->get('use_folders')) {

12/02/2008 earl (dot) fogel (at) usask (dot) ca Comment #1
Milestone ⇒
Summary ⇒ disappearing bottom navbar
Patch ⇒ 1
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ IMP
Reply to this comment
The navbar at the bottom of the mailbox listing is supposed to display 
if there are more than 20 messages on the page.  But the code tests 
the number of messages in the mailbox, not the number on the current 
page.