- Fix folders css class setting for folder with names matching defined classes (#1485355)

release-0.6
alecpl 16 years ago
parent 7d16faec67
commit d6497f4db3

@ -4,6 +4,7 @@ CHANGELOG RoundCube Webmail
2008/10/02 (alec)
----------
- Minimize "inline" javascript scripts use (#1485433)
- Fix folders css class setting for folder with names matching defined classes (#1485355)
2008/10/01 (alec)
- Fix spellchecking when switching to html editor (#1485362)

@ -1067,8 +1067,10 @@ function rcmail_render_folder_tree_html(&$arrFolders, &$mbox_name, &$jslist, $at
$classes[] = 'trash';
else if ($folder['id']==$CONFIG['junk_mbox'])
$classes[] = 'junk';
else if ($folder['id']=='INBOX')
$classes[] = 'inbox';
else
$classes[] = asciiwords($folder_class ? $folder_class : strtolower($folder['id']), true);
$classes[] = '_'.asciiwords($folder_class ? $folder_class : strtolower($folder['id']), true);
$classes[] = $zebra_class;

Loading…
Cancel
Save