summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-10 10:30:39 +0200
committerlpsolit%gmail.com <>2005-08-10 10:30:39 +0200
commit8d06d1ef539f3f8becc56953b040bc710ec9a859 (patch)
treeec55649c78ed3ccfcb79257b3269d30c2703cb8d /template/en/default/search
parent67b67a2e824b5120c3d8d06948927b5372ea98a6 (diff)
downloadbugzilla-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar.gz
bugzilla-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar.xz
Bug 301508: Remove CGI.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat,wicked a=justdave
Diffstat (limited to 'template/en/default/search')
-rw-r--r--template/en/default/search/search-advanced.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl
index 880715c35..e55c71ba1 100644
--- a/template/en/default/search/search-advanced.html.tmpl
+++ b/template/en/default/search/search-advanced.html.tmpl
@@ -51,7 +51,7 @@ var queryform = "queryform"
[% button_name = "Search" %]
[%# The decent help requires Javascript %]
-[% IF NOT help %]
+[% IF NOT cgi.param("help") %]
[% IF cgi.user_agent("Mozilla/5") %]
<script type="text/javascript"> <!--
document.write("<p><a href='query.cgi?help=1&amp;format=advanced'>Give me some help</a> (reloads page.)</p>");
@@ -82,6 +82,6 @@ var queryform = "queryform"
</form>
-[% PROCESS "search/search-help.html.tmpl" IF help %]
+[% PROCESS "search/search-help.html.tmpl" IF cgi.param("help") %]
[% PROCESS global/footer.html.tmpl %]