]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 391726: Missing ID for the quicksearch fields - Patch by Frédéric Buclin <LpSol...
authorlpsolit%gmail.com <>
Sat, 11 Aug 2007 02:06:07 +0000 (02:06 +0000)
committerlpsolit%gmail.com <>
Sat, 11 Aug 2007 02:06:07 +0000 (02:06 +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 937f7a9553bbf5629d9662d18197dfa3948825ca..ba237b18a3a6d1faddb87ae5f8a5d235d8cc0fe8 100644 (file)
@@ -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>
index f7c5bd904add474fedc5aa75d4b89cf1a1d960e7..4dcdb39311aa97f05e2f34f325cbd587bb18fe09 100644 (file)
 </tr>
 </table>
 
-[% PROCESS "global/common-links.html.tmpl" btn_id = "find_top" %]
+[% PROCESS "global/common-links.html.tmpl" qs_suffix = "_top" %]
 
 </div>
 
index 998b5a67a0c926634c160c87a5629adb191bd7fe..3b745cd6484e7c1a0c24e99af46076fe07fcf680 100644 (file)
@@ -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 %]