diff options
author | Byron Jones <bjones@mozilla.com> | 2012-11-22 09:46:24 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-11-22 09:46:24 +0100 |
commit | 9e908d7e01cfa4988c9b561307399defd791acd3 (patch) | |
tree | 658466f0c40997d70a82552a0f472c65b38795d1 /extensions/BMO/template/en | |
parent | cc7a6559f56a4cd454582b13ccf1e99dc5288e33 (diff) | |
download | bugzilla-9e908d7e01cfa4988c9b561307399defd791acd3.tar.gz bugzilla-9e908d7e01cfa4988c9b561307399defd791acd3.tar.xz |
Add filters to header to fix test breakage
Diffstat (limited to 'extensions/BMO/template/en')
-rw-r--r-- | extensions/BMO/template/en/default/global/header.html.tmpl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/BMO/template/en/default/global/header.html.tmpl b/extensions/BMO/template/en/default/global/header.html.tmpl index 36014fbcd..c2e3de08c 100644 --- a/extensions/BMO/template/en/default/global/header.html.tmpl +++ b/extensions/BMO/template/en/default/global/header.html.tmpl @@ -95,7 +95,7 @@ <html lang="en"> <head> [% Hook.process("start") %] - <title>[% title %]</title> + <title>[% title FILTER none %]</title> [% IF Param('utf8') %] <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> @@ -141,7 +141,7 @@ #%] [% IF style %] <style type="text/css"> - [% style %] + [% style FILTER none %] </style> [% END %] @@ -221,7 +221,7 @@ [% END %] [% END %] [% IF javascript %] - [% javascript %] + [% javascript FILTER none %] [% END %] // --> </script> @@ -247,7 +247,7 @@ # but set the onload attribute in the DEFAULT directive above. #%] - <body onload="[% onload %]" + <body onload="[% onload FILTER none %]" class="[% urlbase.replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %] [% FOREACH class = bodyclasses %] [% ' ' %][% class FILTER css_class_quote %] @@ -367,18 +367,18 @@ <tr> <td id="title"> <p>[% terms.BugzillaTitle %] - [% " – $header" IF header %]</p> + [% " – $header" FILTER none IF header %]</p> </td> [% IF subheader %] <td id="subtitle"> - <p class="subheader">[% subheader %]</p> + <p class="subheader">[% subheader FILTER none %]</p> </td> [% END %] [% IF header_addl_info %] <td id="information"> - <p class="header_addl_info">[% header_addl_info %]</p> + <p class="header_addl_info">[% header_addl_info FILTER none %]</p> </td> [% END %] </tr> @@ -415,7 +415,7 @@ [% END %] [% IF message %] -<div id="message">[% message %]</div> +<div id="message">[% message FILTER none %]</div> [% END %] [% BLOCK format_css_link %] |