Better stylesheet ordering
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 2 Oct 2006 12:37:46 +0000 (12:37 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 2 Oct 2006 12:37:46 +0000 (12:37 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11807 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/template/Template.class.php

index 43c83c6..b9b992f 100644 (file)
@@ -1078,7 +1078,12 @@ class Template
 
         }
 
 
         }
 
-        return $return_array;
+
+        // return sheets for the current template set
+        // last so we can enable any custom overrides 
+        // of styles in ancestor sheets 
+        //
+        return array_reverse($return_array);
 
     }
 
 
     }