Opened 5 years ago

Closed 5 years ago

#1485355 closed Bugs (fixed)

Wrong classes in Mailbox List

Reported by: rosali Owned by:
Priority: 5 Milestone: 0.2-stable
Component: User Interface Version: 0.2-alpha
Severity: normal Keywords:
Cc:

Description

file: program/include/main.inc
function: rcmail_render_folder_tree_html

Please use the following code for setting classes of special folders:

set special class for Sent, Drafts, Trash and Junk

if (strtolower($folderid?)=='inbox')

$classes[] = 'sent';

else if ($folderid?==$CONFIGsent_mbox?)

$classes[] = 'sent';

else if ($folderid?==$CONFIGdrafts_mbox?)

$classes[] = 'drafts';

else if ($folderid?==$CONFIGtrash_mbox?)

$classes[] = 'trash';

else if ($folderid?==$CONFIGjunk_mbox?)

$classes[] = 'junk';

else

$classes[] = "mbox_" . asciiwords($folder_class ? $folder_class : strtolower($folderid?), true);

F.e. if you have folder "mail-sent" associated to be the special folder for Sent Items and a real folder "sent" is still present, then both, "mail-sent" and "sent" are displayed with the the Sent Items icon (see attached screeny).


http://www.roundcubeforum.net/pending-issues/3498-2-sent-folders-2-deleted-items-folders.html

Attachments (1)

flist.JPG (120.5 KB) - added by rosali 5 years ago.
Screenshot of Folder List

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by rosali

Screenshot of Folder List

comment:1 Changed 5 years ago by alec

  • Milestone changed from later to 0.2-stable

comment:2 Changed 5 years ago by alec

  • Component changed from Client Scripts to User Interface
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [d6497f4d].

Note: See TracTickets for help on using tickets.