Commit 41560ee5 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 348331: Duplicated IDs on all pages - Patch by Frédéric Buclin…

Bug 348331: Duplicated IDs on all pages - Patch by Frédéric Buclin <LpSolit@gmail.com> r=kevin.benton a=myk
parent 54641d0e
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
# Svetlana Harisova <light@rathedg.com> # Svetlana Harisova <light@rathedg.com>
#%] #%]
[% DEFAULT btn_id = "find" %]
<div class="links"> <div class="links">
<a href="./">Home</a> | <a href="./">Home</a> |
<a href="enter_bug.cgi">New</a> | <a href="enter_bug.cgi">New</a> |
...@@ -30,7 +32,7 @@ ...@@ -30,7 +32,7 @@
{ alert('Please enter one or more search terms first.'); { alert('Please enter one or more search terms first.');
return false; } return true;"> return false; } return true;">
<input class="txt" type="text" name="quicksearch"> <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> | </form> |
<a href="report.cgi">Reports</a> <a href="report.cgi">Reports</a>
......
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
</tr> </tr>
</table> </table>
[% PROCESS "global/common-links.html.tmpl" %] [% PROCESS "global/common-links.html.tmpl" btn_id = "find_top" %]
[% IF Param('announcehtml') %] [% IF Param('announcehtml') %]
[% Param('announcehtml') FILTER none %] [% Param('announcehtml') FILTER none %]
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<div id="useful-links"> <div id="useful-links">
<div id="links-actions"> <div id="links-actions">
<div class="label">Actions:</div> <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> </div>
[% IF user.login %] [% IF user.login %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment