[Tickets #720] NEW: [patch] IMP folder list in sidebar doesn't
recognize 'subscribe' preference
bugs at bugs.horde.org
bugs at bugs.horde.org
Sun Oct 24 08:11:48 PDT 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=720
-----------------------------------------------------------------------
Ticket | 720
Created By | seifert at everybody.org
Summary | [patch] IMP folder list in sidebar doesn't recognize 'subscribe' preference
Queue | IMP
Version | HEAD
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
seifert at everybody.org (2004-10-24 08:11) wrote:
To reproduce:
1) Use a mail inbox with at least one unsubscribed folder.
2) In Imp, under the Server and Folder configuration, uncheck the 'Use IMAP
folder subscriptions?' option.
3) Exit and re-login to Horde.
The unsubscribed folder will show up everywhere in Imp except for the
sidebar menu.
The following patch for imp/lib/Block/tree_folders.php fixes this issue,
similar to the method employed by folders.php.
*** tree_folders.php 23 Oct 2004 06:20:06 -0500 1.16
--- tree_folders.php 24 Oct 2004 10:03:13 -0500
***************
*** 48,54 ****
$name_url =
Util::addParameter(Horde::applicationUrl('mailbox.php'), 'no_newmail_popup',
1);
/* Initialize the IMP_Tree object. */
! $imptree = &IMP_Tree::singleton(true,
$_SESSION['imp']['showunsub'], 'imp_block');
/* Start iterating through the list of mailboxes, displaying them.
*/
$mailbox = $imptree->reset();
--- 48,55 ----
$name_url =
Util::addParameter(Horde::applicationUrl('mailbox.php'), 'no_newmail_popup',
1);
/* Initialize the IMP_Tree object. */
! $showAll = (!$prefs->getValue('subscribe') ||
$_SESSION['imp']['showunsub']);
! $imptree = &IMP_Tree::singleton(true, $showAll, 'imp_block');
/* Start iterating through the list of mailboxes, displaying them.
*/
$mailbox = $imptree->reset();
More information about the bugs
mailing list