summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/header.html.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index d33be2efb..b67fdfafa 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -30,6 +30,7 @@
# bodyattrs: any extra attributes for the <body> tag
# onload: string. JavaScript code to run when the page finishes loading.
# javascript: string. Javascript to go in the header.
+ # javascript_urls: list. List of URLs to Javascript.
# style: string. CSS style.
# style_urls: list. List of URLs to CSS style sheets.
# message: string. A message to display to the user. May contain HTML.
@@ -70,6 +71,12 @@
[% javascript %]
</script>
[% END %]
+
+ [% IF javascript_urls %]
+ [% FOREACH javascript_url = javascript_urls %]
+ <script src="[% javascript_url %]" type="text/javascript" language="JavaScript"></script>
+ [% END %]
+ [% END %]
[%+ INCLUDE "global/help-header.html.tmpl" %]