6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/28/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#720] [patch] IMP folder list in sidebar doesn't recognize 'subscribe' preference
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .___.___. ..__ [ __[__ [__ | |[__) [_./| | |/\|[__)
Comment
> 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(); > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers