From: lpsolit%gmail.com <> Date: Sat, 16 Apr 2005 23:41:21 +0000 (+0000) Subject: Bug 289889: Add javascript_urls to header template - Patch by Teemu Mannermaa r=myk a=justdave --- diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index ff283396fa..a4314fdfa6 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 # 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 %] [% END %] + + [% IF javascript_urls %] + [% FOREACH javascript_url = javascript_urls %] + + [% END %] + [% END %] [%+ INCLUDE "global/help-header.html.tmpl" %]