diff options
-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 %] |