From: justdave%syndicomm.com <> Date: Wed, 5 Jun 2002 09:23:10 +0000 (+0000) Subject: Fix for bug 148679: permit multiple stylesheets in the header template. X-Git-Tag: bugzilla-2.16rc2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79fac3aa2e63e47a5cbfddab9839118cbef15b4b;p=thirdparty%2Fbugzilla.git Fix for bug 148679: permit multiple stylesheets in the header template. Patch by Joel Peshkin r= jouni, gerv --- diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 70c892db5a..9031989d0e 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -27,6 +27,7 @@ # extra: string. Any other HTML to go inside the 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. #%] @@ -57,8 +58,10 @@ [% END %] - [% IF style_url %] - + [% IF style_urls %] + [% FOREACH style_url = style_urls %] + + [% END %] [% END %] diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index f6a4df3895..8ffba004fb 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -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 %]