diff options
author | alecpl <alec@alec.pl> | 2008-10-02 13:54:26 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-10-02 13:54:26 +0000 |
commit | d6497f4db383b53b45e23c04e180b52951371fb3 (patch) | |
tree | da178a2e0dd1ce0ba2dc24dba4a0cd6f59c912b1 | |
parent | 7d16faec67ee45042ea10fbfe25ed77319ee4f34 (diff) |
- Fix folders css class setting for folder with names matching defined classes (#1485355)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/include/main.inc | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -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) diff --git a/program/include/main.inc b/program/include/main.inc index 0eb8dc757..23c2c2822 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -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; |