]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 148679: permit multiple stylesheets in the header template.
authorjustdave%syndicomm.com <>
Wed, 5 Jun 2002 09:21:15 +0000 (09:21 +0000)
committerjustdave%syndicomm.com <>
Wed, 5 Jun 2002 09:21:15 +0000 (09:21 +0000)
Patch by Joel Peshkin <bugreport@peshkin.net>
r= jouni, gerv

template/en/default/global/header.html.tmpl
template/en/default/list/list.html.tmpl

index 0cc4badcf6733234b69086bf87a3c57650d651e6..d739ad03ab8ade1e948957f8bef077e636ed5b82 100644 (file)
@@ -29,6 +29,7 @@
   # extra: string. Any other HTML to go inside the <head> tags.
   # jscript: string. Javascript to go in the header.
   # style: string. CSS style.
+  # style_urls: list. List of URLs to CSS style sheets.
   # message: string. A message to display to the user. May contain HTML.
   #%]
 
       </style>
     [% END %]
     
-    [% IF style_url %]
-      <link href="[% style_url %]" rel="stylesheet" type="text/css">
+    [% IF style_urls %]
+      [% FOREACH style_url = style_urls %]
+        <link href="[% style_url %]" rel="stylesheet" type="text/css">
+      [% END %]
     [% END %]
   
   </head>
index f6a4df38954db8a35f1f07f87e39b24acee62628..8ffba004fb16f332382deaeee1172ad306e328a1 100644 (file)
@@ -24,7 +24,7 @@
 [%############################################################################%]
 
 [% DEFAULT title = "Bug List" %]
-[% style_url = "css/buglist.css" %]
+[% style_urls = [ "css/buglist.css" ] %]
 [% qorder = order FILTER url_quote IF order %]