[Svn] r1915 - in trunk/roundcubemail: . program/include

trac at roundcube.net trac at roundcube.net
Thu Oct 2 15:54:26 CEST 2008


Author: alec
Date: 2008-10-02 08:54:26 -0500 (Thu, 02 Oct 2008)
New Revision: 1915

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/include/main.inc
Log:
- Fix folders css class setting for folder with names matching defined classes (#1485355)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2008-10-02 09:45:34 UTC (rev 1914)
+++ trunk/roundcubemail/CHANGELOG	2008-10-02 13:54:26 UTC (rev 1915)
@@ -4,6 +4,7 @@
 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)

Modified: trunk/roundcubemail/program/include/main.inc
===================================================================
--- trunk/roundcubemail/program/include/main.inc	2008-10-02 09:45:34 UTC (rev 1914)
+++ trunk/roundcubemail/program/include/main.inc	2008-10-02 13:54:26 UTC (rev 1915)
@@ -1067,8 +1067,10 @@
       $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;
     

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list