diff options
author | 2005-04-16 23:41:21 +0000 | |
---|---|---|
committer | 2005-04-16 23:41:21 +0000 | |
commit | f38b8a0737ce8ade6ba488bc61783a384a0d7c70 (patch) | |
tree | a0f89402fdd831df590aca9d23a709b15ab21e7c /template | |
parent | Bug 289618: reference globals.pl's quoteUrls function for changing bug term -... (diff) | |
download | bugzilla-f38b8a0737ce8ade6ba488bc61783a384a0d7c70.tar.gz bugzilla-f38b8a0737ce8ade6ba488bc61783a384a0d7c70.tar.bz2 bugzilla-f38b8a0737ce8ade6ba488bc61783a384a0d7c70.zip |
Bug 289889: Add javascript_urls to header template - Patch by Teemu Mannermaa <wicked@etlicon.fi> r=myk a=justdave
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 7 |
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 ff283396f..a4314fdfa 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -31,6 +31,7 @@ # bodyclasses: array of extra CSS classes for the <body> # 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. @@ -71,6 +72,12 @@ [% javascript %] </script> [% END %] + + [% IF javascript_urls %] + [% FOREACH javascript_url = javascript_urls %] + <script src="[% javascript_url FILTER html %]" type="text/javascript" language="JavaScript"></script> + [% END %] + [% END %] [%+ INCLUDE "global/help-header.html.tmpl" %] |