Commit 44a7b4d9 authored by kiko%async.com.br's avatar kiko%async.com.br

Bug 226229: Query.cgi HTML Transitional 4.01 validation fails for

query.cgi. Fixes outstanding validation issues. patch by Anthony Christofides, r=kiko, a=justdave
parent 3a2858fc
...@@ -727,13 +727,13 @@ function selectProduct(f) { ...@@ -727,13 +727,13 @@ function selectProduct(f) {
<legend><strong>[% terms.Bug %] Changes</strong></legend> <legend><strong>[% terms.Bug %] Changes</strong></legend>
<dl> <dl class="bug_changes">
<dt>Only [% terms.bugs %] changed between:</dt> <dt>Only [% terms.bugs %] changed between:</dt>
<dd> <dd>
<input name="chfieldfrom" size="10" value="[% default.chfieldfrom.0 FILTER html %]"> <input name="chfieldfrom" size="10" value="[% default.chfieldfrom.0 FILTER html %]">
and <input name="chfieldto" size="10" value="[% default.chfieldto.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>) <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> <dt>where one or more of the following changed:</dt>
<dd> <dd>
<select name="chfield" multiple="multiple" size="4"> <select name="chfield" multiple="multiple" size="4">
...@@ -743,11 +743,11 @@ function selectProduct(f) { ...@@ -743,11 +743,11 @@ function selectProduct(f) {
[% (field_descs.$field || field) FILTER html %]</option> [% (field_descs.$field || field) FILTER html %]</option>
[% END %] [% END %]
</select> </select>
</dd><br> </dd>
<dt>and the new value was:</dt> <dt>and the new value was:</dt>
<dd> <dd>
<input name="chfieldvalue" size="20" value="[% default.chfieldvalue.0 FILTER html %]"> <input name="chfieldvalue" size="20" value="[% default.chfieldvalue.0 FILTER html %]">
</dd><br> </dd>
</dl> </dl>
</fieldset> </fieldset>
......
...@@ -41,6 +41,9 @@ ...@@ -41,6 +41,9 @@
td.unselected_tab, td.spacer { td.unselected_tab, td.spacer {
border-width: 0px 0px 2px 0px; border-width: 0px 0px 2px 0px;
border-style: solid; border-style: solid;
}
dl.bug_changes dt {
margin-top: 15px;
}" }"
%] %]
...@@ -50,19 +53,17 @@ ...@@ -50,19 +53,17 @@
[%# The decent help requires Javascript %] [%# The decent help requires Javascript %]
[% IF NOT help %] [% IF NOT help %]
<p>
[% IF cgi.user_agent("Mozilla/5") %] [% IF cgi.user_agent("Mozilla/5") %]
<script> <!-- <script type="text/javascript"> <!--
document.write("<a href='query.cgi?help=1'>Give me some help</a> (reloads page.)"); document.write("<p><a href='query.cgi?help=1'>Give me some help</a> (reloads page.)</p>");
// --> // -->
</script> </script>
<noscript> <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> </noscript>
[% ELSE %] [% 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 %] [% END %]
</p>
[% ELSE %] [% ELSE %]
<p> <p>
For help, mouse over the page elements. For help, mouse over the page elements.
......
...@@ -41,6 +41,9 @@ ...@@ -41,6 +41,9 @@
td.unselected_tab, td.spacer { td.unselected_tab, td.spacer {
border-width: 0px 0px 2px 0px; border-width: 0px 0px 2px 0px;
border-style: solid; border-style: solid;
}
dl.bug_changes dt {
margin-top: 15px;
}" }"
%] %]
...@@ -50,19 +53,17 @@ ...@@ -50,19 +53,17 @@
[%# The decent help requires Javascript %] [%# The decent help requires Javascript %]
[% IF NOT help %] [% IF NOT help %]
<p>
[% IF cgi.user_agent("Mozilla/5") %] [% IF cgi.user_agent("Mozilla/5") %]
<script> <!-- <script type="text/javascript"> <!--
document.write("<a href='query.cgi?help=1'>Give me some help</a> (reloads page.)"); document.write("<p><a href='query.cgi?help=1'>Give me some help</a> (reloads page.)</p>");
// --> // -->
</script> </script>
<noscript> <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> </noscript>
[% ELSE %] [% 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 %] [% END %]
</p>
[% ELSE %] [% ELSE %]
<p> <p>
For help, mouse over the page elements. For help, mouse over the page elements.
......
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