diff options
author | lpsolit%gmail.com <> | 2006-08-15 05:05:57 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-08-15 05:05:57 +0200 |
commit | 41560ee57841fdd3c1ca519fdfcd70908c86a996 (patch) | |
tree | 6888d1f499f83848e38bb9dbee2e228a6a6a756c | |
parent | 54641d0e624239fdbe1c9e6dc724b977f2aeebbb (diff) | |
download | bugzilla-41560ee57841fdd3c1ca519fdfcd70908c86a996.tar.gz bugzilla-41560ee57841fdd3c1ca519fdfcd70908c86a996.tar.xz |
Bug 348331: Duplicated IDs on all pages - Patch by Frédéric Buclin <LpSolit@gmail.com> r=kevin.benton a=myk
-rw-r--r-- | template/en/default/global/common-links.html.tmpl | 4 | ||||
-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, 3 deletions
diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl index 8040e48ff..252b895cb 100644 --- a/template/en/default/global/common-links.html.tmpl +++ b/template/en/default/global/common-links.html.tmpl @@ -20,6 +20,8 @@ # Svetlana Harisova <light@rathedg.com> #%] +[% DEFAULT btn_id = "find" %] + <div class="links"> <a href="./">Home</a> | <a href="enter_bug.cgi">New</a> | @@ -30,7 +32,7 @@ { 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="find"> + <input class="btn" type="submit" value="Find" id="[% btn_id FILTER html %]"> </form> | <a href="report.cgi">Reports</a> diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 878f4db5f..e4a5f4954 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -148,7 +148,7 @@ </tr> </table> -[% PROCESS "global/common-links.html.tmpl" %] +[% PROCESS "global/common-links.html.tmpl" btn_id = "find_top" %] [% IF Param('announcehtml') %] [% Param('announcehtml') FILTER none %] diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index 44a990279..502300488 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -29,7 +29,7 @@ <div id="useful-links"> <div id="links-actions"> <div class="label">Actions:</div> - [% PROCESS "global/common-links.html.tmpl" no_find = 0 %] + [% PROCESS "global/common-links.html.tmpl" btn_id = "find_bottom" %] </div> [% IF user.login %] |