summaryrefslogtreecommitdiffstats
path: root/template/en/default/search/search-advanced.html.tmpl
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-12-20 16:21:24 +0100
committerbbaetz%student.usyd.edu.au <>2002-12-20 16:21:24 +0100
commita40d927bfd9a9b3012be9e0f85da84aa4dd58344 (patch)
treef93d920e99a9739e831f24d94a3ab10127ecd952 /template/en/default/search/search-advanced.html.tmpl
parent1a3c26e61fa709824d63fce85c41d89bd90774fd (diff)
downloadbugzilla-a40d927bfd9a9b3012be9e0f85da84aa4dd58344.tar.gz
bugzilla-a40d927bfd9a9b3012be9e0f85da84aa4dd58344.tar.xz
Bug 173622 - Move template handling into a module. r=justdave, joel, a=justdave
Diffstat (limited to 'template/en/default/search/search-advanced.html.tmpl')
-rw-r--r--template/en/default/search/search-advanced.html.tmpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl
index 6390741e3..765f08e25 100644
--- a/template/en/default/search/search-advanced.html.tmpl
+++ b/template/en/default/search/search-advanced.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 %]
<p>
- [% IF user_agent.search("Mozilla/5") %]
+ [% IF cgi.user_agent("Mozilla/5") %]
<script> <!--
document.write("<a href='query.cgi?help=1'>Give me some help</a> (reloads page.)");
// -->
@@ -51,7 +54,7 @@
<p>
For help, mouse over the page elements.
<font color="red">
- [% IF user_agent.match("Mozilla/5") %]
+ [% IF cgi.user_agent("Mozilla/5") %]
Note that if the help popups are hidden by form element scroll bars,
this is a bug in your browser, not in Bugzilla.
[% END %]