diff options
author | justdave%syndicomm.com <> | 2002-06-05 11:21:15 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2002-06-05 11:21:15 +0200 |
commit | b915835226f0b0cb463aaeb191ca31efb1cce84d (patch) | |
tree | 50a1ee948ffcaaec605af6402a74f32c49ed0ff8 /template/en/default/global | |
parent | 633f6e9de3706e593c46eb680984015f19251145 (diff) | |
download | bugzilla-b915835226f0b0cb463aaeb191ca31efb1cce84d.tar.gz bugzilla-b915835226f0b0cb463aaeb191ca31efb1cce84d.tar.xz |
Fix for bug 148679: permit multiple stylesheets in the header template.
Patch by Joel Peshkin <bugreport@peshkin.net>
r= jouni, gerv
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 7 |
1 files changed, 5 insertions, 2 deletions
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 <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. #%] @@ -59,8 +60,10 @@ </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> |