summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/header.html.tmpl35
1 files changed, 18 insertions, 17 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 663214aba..95cda45d0 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -69,23 +69,6 @@
[% PROCESS 'global/setting-descs.none.tmpl' %]
- [% IF javascript %]
- <script type="text/javascript">
- [% javascript %]
- </script>
- [% END %]
-
- [% IF javascript_urls %]
- [% FOREACH javascript_url = javascript_urls %]
- <script src="[% javascript_url FILTER html %]" type="text/javascript"></script>
- [% END %]
- [% IF javascript_urls.grep('yui/').size %]
- <script type="text/javascript">
- YAHOO.namespace('bugzilla');
- </script>
- [% END %]
- [% END %]
-
[%# Set up the skin CSS cascade:
# 1. Standard Bugzilla stylesheet set (persistent)
# 2. Standard Bugzilla stylesheet set (selectable)
@@ -205,6 +188,24 @@
type="text/css">
<![endif]-->
+
+ [% IF javascript %]
+ <script type="text/javascript">
+ [% javascript %]
+ </script>
+ [% END %]
+
+ [% IF javascript_urls %]
+ [% FOREACH javascript_url = javascript_urls %]
+ <script src="[% javascript_url FILTER html %]" type="text/javascript"></script>
+ [% END %]
+ [% IF javascript_urls.grep('yui/').size %]
+ <script type="text/javascript">
+ YAHOO.namespace('bugzilla');
+ </script>
+ [% END %]
+ [% END %]
+
[%# this puts the live bookmark up on firefox for the Atom feed %]
[% IF atomlink %]
<link rel="alternate"