From: pdontthink Date: Mon, 2 Oct 2006 12:37:46 +0000 (+0000) Subject: Better stylesheet ordering X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c404d448239826f2935fe804ed8b39b0a8918280;p=squirrelmail.git Better stylesheet ordering git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11807 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/class/template/Template.class.php b/class/template/Template.class.php index 43c83c63..b9b992f4 100644 --- a/class/template/Template.class.php +++ b/class/template/Template.class.php @@ -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); }