]> 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:23:10 +0000 (09:23 +0000)
committerjustdave%syndicomm.com <>
Wed, 5 Jun 2002 09:23:10 +0000 (09:23 +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 70c892db5a53430d550b25eb92c710725b05e558..9031989d0ea230fe7a17788509c8e5a1c5a82945 100644 (file)
@@ -27,6 +27,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 %]