]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 226229: Query.cgi HTML Transitional 4.01 validation fails for
authorkiko%async.com.br <>
Thu, 27 Nov 2003 02:57:50 +0000 (02:57 +0000)
committerkiko%async.com.br <>
Thu, 27 Nov 2003 02:57:50 +0000 (02:57 +0000)
query.cgi. Fixes outstanding validation issues. patch by Anthony
Christofides, r=kiko, a=justdave

template/en/default/search/form.html.tmpl
template/en/default/search/search-advanced.html.tmpl
template/en/default/search/search.html.tmpl

index db20c6aa5920bfd96b4024bc9910ba1c8b667cad..c33b2f0bd02f15e84839412c7b56712fd0a8efb4 100644 (file)
@@ -727,13 +727,13 @@ function selectProduct(f) {
         <legend><strong>[% terms.Bug %] Changes</strong></legend>
 
 
-<dl>
+<dl class="bug_changes">
   <dt>Only [% terms.bugs %] changed between:</dt>
   <dd>
     <input name="chfieldfrom" size="10" value="[% default.chfieldfrom.0 FILTER html %]">
     and <input name="chfieldto" size="10" value="[% default.chfieldto.0 FILTER html %]">
     <br>(YYYY-MM-DD or <a href="queryhelp.cgi#changedbetween">relative dates</a>)
-  </dd><br>
+  </dd>
   <dt>where one or more of the following changed:</dt>
   <dd>
     <select name="chfield" multiple="multiple" size="4">
@@ -743,11 +743,11 @@ function selectProduct(f) {
         [% (field_descs.$field || field) FILTER html %]</option>
     [% END %]
     </select>
-  </dd><br>
+  </dd>
   <dt>and the new value was:</dt>
   <dd>
     <input name="chfieldvalue" size="20" value="[% default.chfieldvalue.0 FILTER html %]">
-  </dd><br>
+  </dd>
 </dl>
 
        </fieldset>
index 5150fa408d5500fdf4736635044a40869495e896..4b0952394080306a8540a710259cddf560cb5a9e 100644 (file)
@@ -41,6 +41,9 @@
            td.unselected_tab, td.spacer {
              border-width: 0px 0px 2px 0px;
              border-style: solid; 
+           }
+           dl.bug_changes dt {
+             margin-top: 15px;
            }"
 %]
 
 
 [%# The decent help requires Javascript %]
 [% IF NOT help %]
-  <p>
   [% IF cgi.user_agent("Mozilla/5") %]
-    <script> <!--
-      document.write("<a href='query.cgi?help=1'>Give me some help</a> (reloads page.)");
+    <script type="text/javascript"> <!--
+      document.write("<p><a href='query.cgi?help=1'>Give me some help</a> (reloads page.)</p>");
       // -->
     </script>
     <noscript>
-      <a href="queryhelp.cgi">Give me help</a> with this form.
+      <p><a href="queryhelp.cgi">Give me help</a> with this form.</p>
     </noscript>
   [% ELSE %]
-      <a href="queryhelp.cgi">Give me help</a> with this form.
+      <p><a href="queryhelp.cgi">Give me help</a> with this form.</p>
   [% END %]
-  </p>
 [% ELSE %]
   <p>
       For help, mouse over the page elements.
index 5150fa408d5500fdf4736635044a40869495e896..4b0952394080306a8540a710259cddf560cb5a9e 100644 (file)
@@ -41,6 +41,9 @@
            td.unselected_tab, td.spacer {
              border-width: 0px 0px 2px 0px;
              border-style: solid; 
+           }
+           dl.bug_changes dt {
+             margin-top: 15px;
            }"
 %]
 
 
 [%# The decent help requires Javascript %]
 [% IF NOT help %]
-  <p>
   [% IF cgi.user_agent("Mozilla/5") %]
-    <script> <!--
-      document.write("<a href='query.cgi?help=1'>Give me some help</a> (reloads page.)");
+    <script type="text/javascript"> <!--
+      document.write("<p><a href='query.cgi?help=1'>Give me some help</a> (reloads page.)</p>");
       // -->
     </script>
     <noscript>
-      <a href="queryhelp.cgi">Give me help</a> with this form.
+      <p><a href="queryhelp.cgi">Give me help</a> with this form.</p>
     </noscript>
   [% ELSE %]
-      <a href="queryhelp.cgi">Give me help</a> with this form.
+      <p><a href="queryhelp.cgi">Give me help</a> with this form.</p>
   [% END %]
-  </p>
 [% ELSE %]
   <p>
       For help, mouse over the page elements.