Commit c43a96bb authored by myk%mozilla.org's avatar myk%mozilla.org

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

parent 229f8002
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment