diff options
author | lpsolit%gmail.com <> | 2007-08-11 04:06:07 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-08-11 04:06:07 +0200 |
commit | b48830e13eae3243efcd41348796536c49d33701 (patch) | |
tree | 93af9471c4a0a340cb4ceece34e348aceccc5b4c /template/en | |
parent | 1226f7f22e4a706b1755d359c07736575ed3af2b (diff) | |
download | bugzilla-b48830e13eae3243efcd41348796536c49d33701.tar.gz bugzilla-b48830e13eae3243efcd41348796536c49d33701.tar.xz |
Bug 391726: Missing ID for the quicksearch fields - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/common-links.html.tmpl | 6 | ||||
-rw-r--r-- | template/en/default/global/header.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/global/useful-links.html.tmpl | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl index 937f7a955..ba237b18a 100644 --- a/template/en/default/global/common-links.html.tmpl +++ b/template/en/default/global/common-links.html.tmpl @@ -20,7 +20,7 @@ # Svetlana Harisova <light@rathedg.com> #%] -[% DEFAULT btn_id = "find" %] +[% DEFAULT qs_suffix = "" %] <ul class="links"> <li><a href="./">Home</a></li> @@ -33,8 +33,8 @@ onsubmit="if (this.quicksearch.value == '') { alert('Please enter one or more search terms first.'); return false; } return true;"> - <input class="txt" type="text" name="quicksearch"> - <input class="btn" type="submit" value="Find" id="[% btn_id FILTER html %]"> + <input class="txt" type="text" id="quicksearch[% qs_suffix FILTER html %]" name="quicksearch"> + <input class="btn" type="submit" value="Find" id="find[% qs_suffix FILTER html %]"> [%-# Work around FF bug: keep this on one line %]</form></li> <li><span class="separator">| </span><a href="report.cgi">Reports</a></li> diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index f7c5bd904..4dcdb3931 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -253,7 +253,7 @@ </tr> </table> -[% PROCESS "global/common-links.html.tmpl" btn_id = "find_top" %] +[% PROCESS "global/common-links.html.tmpl" qs_suffix = "_top" %] </div> diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index 998b5a67a..3b745cd64 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -29,7 +29,7 @@ <ul id="useful-links"> <li id="links-actions"> <div class="label">Actions: </div> - [% PROCESS "global/common-links.html.tmpl" btn_id = "find_bottom" %] + [% PROCESS "global/common-links.html.tmpl" qs_suffix = "_bottom" %] </li> [%# Saved searches %] |