Commit 9c13acab authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 595380: Add a ?mtime string to all of the manually-inserted

<script src> and <link href> tags in Bugzilla r=glob, a=mkanat
parent f64efa79
...@@ -795,7 +795,7 @@ sub create { ...@@ -795,7 +795,7 @@ sub create {
email => \&Bugzilla::Util::email_filter, email => \&Bugzilla::Util::email_filter,
mtime_url => \&mtime_filter, mtime => \&mtime_filter,
# iCalendar contentline filter # iCalendar contentline filter
ics => [ sub { ics => [ sub {
......
...@@ -57,8 +57,10 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %] ...@@ -57,8 +57,10 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
[% ELSE %] [% ELSE %]
<html> <html>
<head> <head>
<link href="skins/standard/attachment.css" rel="stylesheet" type="text/css"> <link href="[% 'skins/standard/attachment.css' FILTER mtime %]"
<script src="js/attachment.js" type="text/javascript"></script> rel="stylesheet" type="text/css">
<script src="[% 'js/attachment.js' FILTER mtime %]"
type="text/javascript"></script>
</head> </head>
<body onload="[% onload FILTER html %]"> <body onload="[% onload FILTER html %]">
[% END %] [% END %]
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
[% PROCESS bug/time.html.tmpl %] [% PROCESS bug/time.html.tmpl %]
<script src="js/comments.js" type="text/javascript"> <script src="[% 'js/comments.js' FILTER mtime %]" type="text/javascript">
</script> </script>
[% DEFAULT start_at = 0 mode = "show" %] [% DEFAULT start_at = 0 mode = "show" %]
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
[% DEFAULT flag_table_id = "flags" %] [% DEFAULT flag_table_id = "flags" %]
<script type="text/javascript" src="js/flag.js"></script> <script src="[% 'js/flag.js' FILTER mtime %]" type="text/javascript"></script>
<table id="[% flag_table_id FILTER html %]"> <table id="[% flag_table_id FILTER html %]">
[% UNLESS flag_no_header %] [% UNLESS flag_no_header %]
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
[%# This allows people to switch back to the "Classic" skin if they [%# This allows people to switch back to the "Classic" skin if they
# are in another skin. # are in another skin.
#%] #%]
<link href="[% 'skins/standard/global.css' FILTER mtime_url FILTER html %]" <link href="[% 'skins/standard/global.css' FILTER mtime FILTER html %]"
rel="alternate stylesheet" rel="alternate stylesheet"
title="[% setting_descs.standard FILTER html %]"> title="[% setting_descs.standard FILTER html %]">
[% FOREACH style_url = css_sets.standard %] [% FOREACH style_url = css_sets.standard %]
...@@ -327,5 +327,5 @@ ...@@ -327,5 +327,5 @@
[% END %] [% END %]
[% BLOCK format_js_link %] [% BLOCK format_js_link %]
<script type="text/javascript" src="[% javascript_url FILTER mtime_url FILTER html %]"></script> <script type="text/javascript" src="[% javascript_url FILTER mtime FILTER html %]"></script>
[% END %] [% END %]
...@@ -39,7 +39,8 @@ ...@@ -39,7 +39,8 @@
<head> <head>
<title>[% title FILTER html %]</title> <title>[% title FILTER html %]</title>
<base href="[% urlbase FILTER html %]"> <base href="[% urlbase FILTER html %]">
<link href="skins/standard/buglist.css" rel="stylesheet" type="text/css"> <link href="[% 'skins/standard/buglist.css' FILTER mtime %]"
rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
......
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