]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix for bug 265499: support custom stylesheets; r=gerv, a=myk
authormyk%mozilla.org <>
Fri, 22 Oct 2004 04:47:34 +0000 (04:47 +0000)
committermyk%mozilla.org <>
Fri, 22 Oct 2004 04:47:34 +0000 (04:47 +0000)
template/en/default/global/header.html.tmpl

index 934da137b972606ce75c9d320dfc1ac75afa97b4..55a998f16d4b866cd8a12ce7725eb5fd07be6f09 100644 (file)
@@ -81,6 +81,7 @@
     [%+ INCLUDE "global/help-header.html.tmpl" %]
 
     <link href="skins/standard/global.css" rel="stylesheet" type="text/css">
+    <link href="skins/custom/global.css" rel="stylesheet" type="text/css">
 
     [% IF style %]
       <style type="text/css">
     [% IF style_urls %]
       [% FOREACH style_url = style_urls %]
         <link href="[% style_url FILTER html %]" rel="stylesheet" type="text/css">
+        [% IF style_url.match('^skins/standard/') %]
+          <link href="[% style_url.replace('^skins/standard/', 'skins/custom/')
+                         FILTER html %]" rel="stylesheet" type="text/css">
+        [% END %]
       [% END %]
     [% END %]