]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 348331: Duplicated IDs on all pages - Patch by Frédéric Buclin <LpSolit@gmail...
authorlpsolit%gmail.com <>
Tue, 15 Aug 2006 03:05:57 +0000 (03:05 +0000)
committerlpsolit%gmail.com <>
Tue, 15 Aug 2006 03:05:57 +0000 (03:05 +0000)
template/en/default/global/common-links.html.tmpl
template/en/default/global/header.html.tmpl
template/en/default/global/useful-links.html.tmpl

index 8040e48ff85ce159585935076b76ae02d6f91a91..252b895cb219bb5038a624f97ede745ac2f6e700 100644 (file)
@@ -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>
index 878f4db5f0b94852d877bdc2f48e91afac6e7a5a..e4a5f49543e0121a90d5749e5426cd3dce944ccb 100644 (file)
 </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 %]
index 44a990279daa80ac866ef84b2498d7da32008547..502300488779ec112b52b9162b386cf6b4d0226c 100644 (file)
@@ -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 %]