From b915835226f0b0cb463aaeb191ca31efb1cce84d Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Wed, 5 Jun 2002 09:21:15 +0000 Subject: Fix for bug 148679: permit multiple stylesheets in the header template. Patch by Joel Peshkin r= jouni, gerv --- template/en/default/global/header.html.tmpl | 7 +++++-- template/en/default/list/list.html.tmpl | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'template') diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 0cc4badcf..d739ad03a 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -29,6 +29,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. #%] @@ -59,8 +60,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 f6a4df389..8ffba004f 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 %] -- cgit v1.2.3-24-g4f1b