special folders with non-default names are treated like ordianry folders
|Reported by:||hayalci||Owned by:|
I have the following settings in my config file, but "spam" folder does not have the "folder-junk.png" icon, and I can unsubscribe from 'spam' box.
$rcmail_config['junk_mbox'] = 'spam'; $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'spam', 'Trash' ); $rcmail_config['protect_default_folders'] = TRUE;
In program/include/main.inc the function rcmail_folder_classname seems to set the folder class using config file, but this is what I get in final output. If class was "mailbox junk even" the icon would be displayed correctly.
<li id="rcmlispam" class="mailbox spam even"><a href="./?_task=mail&_mbox=spam" onclick="return rcmail.command('list','spam',this)">spam</a></li>