#1483918 - changed folder list such that the lists are no longer nested.

release-0.6
svncommit 19 years ago
parent 2c57622f08
commit 06417b8491

@ -218,7 +218,7 @@ function rcmail_render_folder_tree_html(&$arrFolders, &$special, &$mbox_name, $m
' onclick="return %s.command(\'list\',\'%s\')"'. ' onclick="return %s.command(\'list\',\'%s\')"'.
' onmouseover="return %s.focus_mailbox(\'%s\')"' . ' onmouseover="return %s.focus_mailbox(\'%s\')"' .
' onmouseout="return %s.unfocus_mailbox(\'%s\')"' . ' onmouseout="return %s.unfocus_mailbox(\'%s\')"' .
' onmouseup="return %s.mbox_mouse_up(\'%s\')"%s>%s</a>', ' onmouseup="return %s.mbox_mouse_up(\'%s\')"%s>%s</a></li>',
$folder_css, $folder_css,
$class_name, $class_name,
$zebra_class, $zebra_class,
@ -240,7 +240,7 @@ function rcmail_render_folder_tree_html(&$arrFolders, &$special, &$mbox_name, $m
if (!empty($folder['folders'])) if (!empty($folder['folders']))
$out .= "\n<ul>\n" . rcmail_render_folder_tree_html($folder['folders'], $special, $mbox_name, $maxlength, $nestLevel+1) . "</ul>\n"; $out .= "\n<ul>\n" . rcmail_render_folder_tree_html($folder['folders'], $special, $mbox_name, $maxlength, $nestLevel+1) . "</ul>\n";
$out .= "</li>\n"; $out .= "\n";
$idx++; $idx++;
} }

Loading…
Cancel
Save