Commit fe27d056 authored by kiko%async.com.br's avatar kiko%async.com.br

Fix for bug 251469: Add an interface argument in header template to

import <script src files. Patch by Tiago R. Mello <tiago@async.com.br>. r=timeless, a=justdave.
parent fa680969
......@@ -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" %]
......
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