6.0.0-beta1
9/24/25

[#1700] Folder Navigator
Summary Folder Navigator
Queue IMP
Queue Version 4.0.3-RC1
Type Bug
State Resolved
Priority 1. Low
Owners
Requester michael.eichenberger (at) stepping-stone (dot) ch
Created 04/06/2005 (7476 days ago)
Due
Updated 04/07/2005 (7475 days ago)
Assigned
Resolved 04/07/2005 (7475 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/07/2005 03:57:13 AM Michael Slusarz Comment #3
State ⇒ Resolved
Reply to this comment
Fixed in HEAD and 4.0.3.
04/06/2005 12:14:09 PM michael (dot) eichenberger (at) stepping-stone (dot) ch Comment #2
New Attachment: folder_navigator_good.png Download
Reply to this comment
Workaround or Bugfix:



In the file imp/folders.php, line 424 change the line 421 from:

     $row['class'] = (++$rowct % 2) ? 'text' : 'item0';

To:

     $row['class'] = (++$rowct % 2) ? 'item1' : 'item0';



Or in diff form:

sbx-019 imp # diff folders.php folders.php.old

421c421

<     $row['class'] = (++$rowct % 2) ? 'item' : 'item0';

---
     $row['class'] = (++$rowct % 2) ? 'text' : 'item0';
This leads to a nicer output and the content style sheet is a lot 
easier to maintain :-)


04/06/2005 12:09:20 PM michael (dot) eichenberger (at) stepping-stone (dot) ch Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Folder Navigator
Queue ⇒ IMP
New Attachment: folder_navigator_bad.png Download
Reply to this comment
The alternating folder classes should be "item0" and "item1", but are 
"item0" and "text".



This leads to the effect, that the Content Style Sheet is really hard 
to maintain. The effect can be seen in the attached screenshot. The 
following HTML Souce Code extract is behind the screenshot.:



<div class="text">

  &nbsp;<input type="checkbox" class="checkbox" name="folder_list[]" 
value="INBOX" /> <a 
href="/oaktree.ch/imp/folders.php?folder=INBOX&amp;actionID=collapse_folder
onmouseout="window.status='';" onmouseover="window.status='Collapse 
Folder'; return true;"><img 
src="/oaktree.ch/themes/graphics/tree/minustop.png" alt="Collapse" 
title="Collapse" style="vertical-align:middle" /></a><img 
src="/oaktree.ch/imp/themes/graphics/folders/inbox.png" alt="INBOX" 
title="INBOX" style="vertical-align:middle" /> <a 
href="/oaktree.ch/imp/mailbox.php?no_newmail_popup=1&amp;mailbox=INBOX
onmouseout="window.status='';" onmouseover="window.status='View 
messages in INBOX'; return true;"><b>INBOX</b></a> (9/10)

</div>

<div class="item0">

  &nbsp;<input type="checkbox" class="checkbox" name="folder_list[]" 
value="INBOX.Drafts" /> <img 
src="/oaktree.ch/themes/graphics/tree/blank.png" alt="" title="" 
style="vertical-align:middle" /><img 
src="/oaktree.ch/themes/graphics/tree/join.png" alt="" title="" 
style="vertical-align:middle" /><img 
src="/oaktree.ch/imp/themes/graphics/folders/drafts.png" alt="Draft 
folder" title="Draft folder" style="vertical-align:middle" /> <a 
href="/oaktree.ch/imp/mailbox.php?no_newmail_popup=1&amp;mailbox=INBOX.Drafts
onmouseout="window.status='';" onmouseover="window.status='View 
messages in Drafts'; return true;">Drafts</a>

</div>

<div class="text">



  &nbsp;<input type="checkbox" class="checkbox" name="folder_list[]" 
value="INBOX.Sent" /> <img 
src="/oaktree.ch/themes/graphics/tree/blank.png" alt="" title="" 
style="vertical-align:middle" /><img 
src="/oaktree.ch/themes/graphics/tree/join.png" alt="" title="" 
style="vertical-align:middle" /><img 
src="/oaktree.ch/imp/themes/graphics/folders/sent.png" alt="Sent mail 
folder" title="Sent mail folder" style="vertical-align:middle" /> <a 
href="/oaktree.ch/imp/mailbox.php?no_newmail_popup=1&amp;mailbox=INBOX.Sent
onmouseout="window.status='';" onmouseover="window.status='View 
messages in Sent'; return true;">Sent</a>

</div>

<div class="item0">




Saved Queries