Add class for subtypes other than "default"

This commit is contained in:
Aleksander Machniak (Kolab Systems) 2011-06-15 15:31:29 +02:00
parent ea20b03cf3
commit 406722b756

View file

@ -400,8 +400,8 @@ class kolab_folders extends rcube_plugin
$class[] = 'type-' . ($ctype ? $ctype : 'mail');
if ($subtype == 'default')
$class[] = 'type-default';
if ($subtype)
$class[] = 'subtype-' . $subtype;
return implode(' ', $class);
}