From a40d927bfd9a9b3012be9e0f85da84aa4dd58344 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Fri, 20 Dec 2002 15:21:24 +0000 Subject: Bug 173622 - Move template handling into a module. r=justdave, joel, a=justdave --- template/en/default/search/search.html.tmpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'template/en/default/search/search.html.tmpl') diff --git a/template/en/default/search/search.html.tmpl b/template/en/default/search/search.html.tmpl index 6390741e3..765f08e25 100644 --- a/template/en/default/search/search.html.tmpl +++ b/template/en/default/search/search.html.tmpl @@ -25,6 +25,9 @@ # search/boolean-charts.html.tmpl. #%] +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + [% PROCESS global/header.html.tmpl title = "Search for bugs" onload = "selectProduct(document.forms['queryform']);initHelp();" @@ -35,7 +38,7 @@ [%# The decent help requires Javascript %] [% IF NOT help %]

- [% IF user_agent.search("Mozilla/5") %] + [% IF cgi.user_agent("Mozilla/5") %]