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 /program | |
parent | 7d16faec67ee45042ea10fbfe25ed77319ee4f34 (diff) |
- Fix folders css class setting for folder with names matching defined classes (#1485355)
Diffstat (limited to 'program')
-rw-r--r-- | program/include/main.inc | 4 |
1 files changed, 3 insertions, 1 deletions
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; |