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 43c83c63e719453c011fa6ffbce5f47ce99ec215..b9b992f402d6b870459faf77f5a5f528ab38aade 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);
 
     }