Commit 1199b6b0 authored by mkanat%kerio.com's avatar mkanat%kerio.com

Bug 249875: buglist does not pass w3c validation

Patch By Anne van Kesteren <bug@annevankesteren.nl> r=LpSolit, a=myk
parent cb395034
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
[% dontchange = "--do_not_change--" %] [% dontchange = "--do_not_change--" %]
<input type="hidden" name="dontchange" value="[% dontchange FILTER html %]"> <input type="hidden" name="dontchange" value="[% dontchange FILTER html %]">
<script type="text/javascript" language="JavaScript"> <script type="text/javascript">
var numelements = document.forms.changeform.elements.length; var numelements = document.forms.changeform.elements.length;
function SetCheckboxes(value) { function SetCheckboxes(value) {
var item; var item;
...@@ -39,16 +39,15 @@ ...@@ -39,16 +39,15 @@
<hr> <hr>
<p><font size="-1"> <p style="font-size:smaller">
To change multiple [% terms.bugs %]: To change multiple [% terms.bugs %]:</p>
<ol> <ol style="font-size:smaller">
<li>Check the [% terms.bugs %] you want to change above.</li> <li>Check the [% terms.bugs %] you want to change above.</li>
<li>Make your changes in the form fields below. If the change <li>Make your changes in the form fields below. If the change
you are making requires an explanation, include it in you are making requires an explanation, include it in
the comments box.</li> the comments box.</li>
<li>Click the <em>Commit</em> button.</li> <li>Click the <em>Commit</em> button.</li>
</ol> </ol>
</font></p>
<table id="form"> <table id="form">
<tr> <tr>
...@@ -185,7 +184,7 @@ ...@@ -185,7 +184,7 @@
</table> </table>
<label for="comment"><b>Additional Comments:</b></label><br> <b><label for="comment">Additional Comments:</label></b><br>
<textarea id="comment" name="comment" rows="5" cols="80"></textarea><br> <textarea id="comment" name="comment" rows="5" cols="80"></textarea><br>
[% IF groups.size > 0 %] [% IF groups.size > 0 %]
...@@ -193,10 +192,10 @@ ...@@ -193,10 +192,10 @@
<b>Groupset:</b><br> <b>Groupset:</b><br>
<table border="1"> <table border="1">
<tr> <tr>
<th>Don't<br>change<br>this group<br>restriction</td> <th>Don't<br>change<br>this group<br>restriction</th>
<th>Remove<br>[% terms.bugs %]<br>from this<br>group</td> <th>Remove<br>[% terms.bugs %]<br>from this<br>group</th>
<th>Add<br>[% terms.bugs %]<br>to this<br>group</td> <th>Add<br>[% terms.bugs %]<br>to this<br>group</th>
<th>Group Name:</td> <th>Group Name:</th>
</tr> </tr>
[% FOREACH group = groups %] [% FOREACH group = groups %]
...@@ -230,8 +229,8 @@ ...@@ -230,8 +229,8 @@
</table> </table>
[% IF foundinactive %] [% IF foundinactive %]
<font size="-1">(Note: [% terms.Bugs %] may not be added to [% FILTER inactive %]inactive <p style="font-size:smaller">(Note: [% terms.Bugs %] may not be added to [% FILTER inactive %]inactive
groups[% END %], only removed.)</font><br> groups[% END %], only removed.)</p>
[% END %] [% END %]
[% END %] [% END %]
...@@ -327,7 +326,6 @@ ...@@ -327,7 +326,6 @@
<input type="submit" name="action" value="[% Param('move-button-text') %]"> <input type="submit" name="action" value="[% Param('move-button-text') %]">
[% END %] [% END %]
[%############################################################################%] [%############################################################################%]
[%# Select Menu Block #%] [%# Select Menu Block #%]
[%############################################################################%] [%############################################################################%]
......
...@@ -124,7 +124,6 @@ ...@@ -124,7 +124,6 @@
[%# Navigation Bar #%] [%# Navigation Bar #%]
[%############################################################################%] [%############################################################################%]
<p>
<table> <table>
<tr> <tr>
[% IF bugs.size > 0 %] [% IF bugs.size > 0 %]
...@@ -194,7 +193,6 @@ ...@@ -194,7 +193,6 @@
[% END %] [% END %]
</tr> </tr>
</table> </table>
</p>
[%############################################################################%] [%############################################################################%]
...@@ -202,4 +200,3 @@ ...@@ -202,4 +200,3 @@
[%############################################################################%] [%############################################################################%]
[% PROCESS global/footer.html.tmpl %] [% PROCESS global/footer.html.tmpl %]
...@@ -176,8 +176,7 @@ ...@@ -176,8 +176,7 @@
</td> </td>
[% FOREACH column = displaycolumns %] [% FOREACH column = displaycolumns %]
<td> <td [% 'style="white-space: nowrap"' IF NOT abbrev.$column.wrap %]>
[% '<nobr>' IF NOT abbrev.$column.wrap %]
[% IF abbrev.$column.format_value %] [% IF abbrev.$column.format_value %]
[%- bug.$column FILTER format(abbrev.$column.format_value) FILTER html -%] [%- bug.$column FILTER format(abbrev.$column.format_value) FILTER html -%]
[% ELSIF column == 'actual_time' || [% ELSIF column == 'actual_time' ||
...@@ -187,7 +186,6 @@ ...@@ -187,7 +186,6 @@
[% ELSE %] [% ELSE %]
[%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%] [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
[% END %] [% END %]
[%- '</nobr>' IF NOT abbrev.$column.wrap %]
</td> </td>
[% END %] [% END %]
......
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