fix for bug 265499: support custom stylesheets; r=gerv, a=myk

git-svn-id: svn://10.0.0.236/trunk@164161 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
myk%mozilla.org
2004-10-21 21:47:34 +00:00
parent b5dff457f7
commit d7c0f9bada

View File

@@ -81,6 +81,7 @@
[%+ INCLUDE "global/help-header.html.tmpl" %]
<link href="skins/standard/global.css" rel="stylesheet" type="text/css">
<link href="skins/custom/global.css" rel="stylesheet" type="text/css">
[% IF style %]
<style type="text/css">
@@ -91,6 +92,10 @@
[% IF style_urls %]
[% FOREACH style_url = style_urls %]
<link href="[% style_url FILTER html %]" rel="stylesheet" type="text/css">
[% IF style_url.match('^skins/standard/') %]
<link href="[% style_url.replace('^skins/standard/', 'skins/custom/')
FILTER html %]" rel="stylesheet" type="text/css">
[% END %]
[% END %]
[% END %]