diff options
Diffstat (limited to 'template/en/default/search')
-rw-r--r-- | template/en/default/search/search-advanced.html.tmpl | 7 | ||||
-rw-r--r-- | template/en/default/search/search.html.tmpl | 7 |
2 files changed, 10 insertions, 4 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 %] 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 %] <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 %] |