Now that I have seemed to have fixed the INBOX issue with courier/uw,

enabling this code actually does good in uw (it hides the mail/ non-select
folder), and makes the folders all line up.  In courier, folders no longer
appear (though they still are) subs of inbox... should we change this?

Retested code with exchange, cyrus, uw, and courier, all seem good now.
This commit is contained in:
jangliss 2003-06-19 05:40:56 +00:00
parent b71d918383
commit 5d93559e5f

View file

@ -814,10 +814,6 @@ function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false) {
$trail_del = false;
$start = 0;
/* JA - Seems to really screw up folder displays, courier and uw both lose their INBOX when you
have a default_folder_prefix set on this
if (isset($folder_prefix) && ($folder_prefix != '')) {
$start = substr_count($folder_prefix,$delimiter);
if (strrpos($folder_prefix, $delimiter) == (strlen($folder_prefix)-1)) {
@ -831,7 +827,6 @@ function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false) {
} else {
$start = 0;
}
*/
$cnt = count($mbx_ary);
for ($i=0; $i < $cnt; $i++) {