From f38b8a0737ce8ade6ba488bc61783a384a0d7c70 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 16 Apr 2005 23:41:21 +0000 Subject: [PATCH] Bug 289889: Add javascript_urls to header template - Patch by Teemu Mannermaa r=myk a=justdave --- template/en/default/global/header.html.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) 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" %] -- 2.47.3