Commit f3b6e880 authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 47251: Make HTML output HTML 4.01 Transitional compliant.

Patch by mental <xor@ivwnet.com>. r=justdave,myk
parent 58d6d1b7
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</p> </p>
<form method="post" action="token.cgi"> <form method="post" action="token.cgi">
<input type="hidden" name="t" value=[% token FILTER html %]> <input type="hidden" name="t" value="[% token FILTER html %]">
<input type="hidden" name="a" value="chgem"> <input type="hidden" name="a" value="chgem">
<table> <table>
<tr> <tr>
......
...@@ -28,11 +28,11 @@ ...@@ -28,11 +28,11 @@
%] %]
<form method="get" action="token.cgi"> <form method="get" action="token.cgi">
<input type="hidden" name="a" value="reqpw" /> <input type="hidden" name="a" value="reqpw">
<input type="hidden" name="loginname" value="[% login FILTER html %]" /> <input type="hidden" name="loginname" value="[% login FILTER html %]">
A Bugzilla account for <tt>[% login FILTER html %]</tt> already exists. If you A Bugzilla account for <tt>[% login FILTER html %]</tt> already exists. If you
are the account holder and have forgotten your password, are the account holder and have forgotten your password,
<input type="submit" value="submit a request to change it" />. <input type="submit" value="submit a request to change it">.
</form> </form>
[% PROCESS global/footer.html.tmpl %] [% PROCESS global/footer.html.tmpl %]
...@@ -26,27 +26,27 @@ ...@@ -26,27 +26,27 @@
</p> </p>
<form method="post" action="token.cgi"> <form method="post" action="token.cgi">
<input type="hidden" name="t" value="[% token FILTER html %]" /> <input type="hidden" name="t" value="[% token FILTER html %]">
<input type="hidden" name="a" value="chgpw" /> <input type="hidden" name="a" value="chgpw">
<table> <table>
<tr> <tr>
<th align="right">New Password:</th> <th align="right">New Password:</th>
<td> <td>
<input type="password" name="password" size="16" maxlength="16" /> <input type="password" name="password" size="16" maxlength="16">
</td> </td>
</tr> </tr>
<tr> <tr>
<th align="right">New Password Again:</th> <th align="right">New Password Again:</th>
<td> <td>
<input type="password" name="matchpassword" size="16" maxlength="16" /> <input type="password" name="matchpassword" size="16" maxlength="16">
</td> </td>
</tr> </tr>
<tr> <tr>
<th align="right">&nbsp;</th> <th align="right">&nbsp;</th>
<td> <td>
<input type="submit" value="Submit" /> <input type="submit" value="Submit">
</td> </td>
</tr> </tr>
</table> </table>
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
<th align="right">Password:</th> <th align="right">Password:</th>
<td> <td>
<input type="hidden" name="Bugzilla_login" <input type="hidden" name="Bugzilla_login"
value="[% login FILTER html %]" /> value="[% login FILTER html %]">
<input type="password" name="Bugzilla_password" /> <input type="password" name="Bugzilla_password">
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -47,21 +47,21 @@ ...@@ -47,21 +47,21 @@
<tr> <tr>
<th align="right">New password:</th> <th align="right">New password:</th>
<td> <td>
<input type="password" name="new_password1" /> <input type="password" name="new_password1">
</td> </td>
</tr> </tr>
<tr> <tr>
<th align="right">Re-enter new password:</th> <th align="right">Re-enter new password:</th>
<td> <td>
<input type="password" name="new_password2" /> <input type="password" name="new_password2">
</td> </td>
</tr> </tr>
<tr> <tr>
<th align="right">Your real name (optional, but encouraged):</th> <th align="right">Your real name (optional, but encouraged):</th>
<td> <td>
<input size="35" name="realname" value="[% realname FILTER html %]" /> <input size="35" name="realname" value="[% realname FILTER html %]">
</td> </td>
</tr> </tr>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
[% IF Param('supportwatchers') %] [% IF Param('supportwatchers') %]
<tr> <tr>
<td colspan="4"> <td colspan="4">
<hr /> <hr>
</td> </td>
</tr> </tr>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<tr> <tr>
<th align="right">Users to watch:</th> <th align="right">Users to watch:</th>
<td> <td>
<input size="35" name="watchedusers" value="[% watchedusers %]" /> <input size="35" name="watchedusers" value="[% watchedusers %]">
</td> </td>
</tr> </tr>
[% END %] [% END %]
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</tr> </tr>
</table> </table>
<hr /> <hr>
<table> <table>
<tr> <tr>
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
</tr> </tr>
</table> </table>
<hr /> <hr>
<b>Field/recipient specific options:</b> <b>Field/recipient specific options:</b>
<br> <br>
<br> <br>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</td> </td>
</tr> </tr>
<input type="hidden" name="numqueries" value="[% queries.size %]" /> <input type="hidden" name="numqueries" value="[% queries.size %]">
[% IF queries.size %] [% IF queries.size %]
[% FOREACH query = queries %] [% FOREACH query = queries %]
<tr> <tr>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</tr> </tr>
<input type="hidden" name="name-[% loop.index %]" <input type="hidden" name="name-[% loop.index %]"
value="[% query.name FILTER html %]" /> value="[% query.name FILTER html %]">
[% END %] [% END %]
[% ELSE %] [% ELSE %]
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
[% IF set_bits.size %] [% IF set_bits.size %]
And you can turn on or off the following bits for And you can turn on or off the following bits for
<a HREF="editusers.cgi">other users</a>: <a href="editusers.cgi">other users</a>:
<p> <p>
<ul> <ul>
[% FOREACH bit_description = set_bits %] [% FOREACH bit_description = set_bits %]
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
</td> </td>
[% ELSE %] [% ELSE %]
<td align="center" bgcolor="#BBBBEE" class="unselected_tab"> <td align="center" bgcolor="#BBBBEE" class="unselected_tab">
<a HREF="userprefs.cgi?tab=[% tab.name %]">[% tab.description %]</a> <a href="userprefs.cgi?tab=[% tab.name %]">[% tab.description %]</a>
</td> </td>
[% END %] [% END %]
[% END %] [% END %]
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
[% IF attachments.size %] [% IF attachments.size %]
[% FOREACH attachment = attachments %] [% FOREACH attachment = attachments %]
<input type="checkbox" name="obsolete" value="[% attachment.id %]"> <input type="checkbox" name="obsolete" value="[% attachment.id %]">
<a href="attachment.cgi?id=[% attachment.id %]&action=edit">[% attachment.id %]: [% attachment.description FILTER html %]</a><br> <a href="attachment.cgi?id=[% attachment.id %]&amp;action=edit">[% attachment.id %]: [% attachment.description FILTER html %]</a><br>
[% END %] [% END %]
[% ELSE %] [% ELSE %]
[no attachments can be made obsolete] [no attachments can be made obsolete]
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<tr> <tr>
<td> <td>
<h2> <h2>
<a title="[% description FILTER html %]" href="attachment.cgi?id=[% attachid %]&action=edit">Attachment #[% attachid %]</a> <a title="[% description FILTER html %]" href="attachment.cgi?id=[% attachid %]&amp;action=edit">Attachment #[% attachid %]</a>
to <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a> Created to <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a> Created
</h2> </h2>
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<b>Note:</b> Bugzilla automatically detected the content type <b>Note:</b> Bugzilla automatically detected the content type
<em>[% contenttype %]</em> for this attachment. If this is <em>[% contenttype %]</em> for this attachment. If this is
incorrect, correct the value by incorrect, correct the value by
<a href="attachment.cgi?id=[% attachid %]&action=edit">editing the attachment</a>. <a href="attachment.cgi?id=[% attachid %]&amp;action=edit">editing the attachment</a>.
</p> </p>
[% END %] [% END %]
</td> </td>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</table> </table>
<p> <p>
<a href="attachment.cgi?bugid=[% bugid %]&action=enter">Create Another Attachment to Bug #[% bugid %]</a> <a href="attachment.cgi?bugid=[% bugid %]&amp;action=enter">Create Another Attachment to Bug #[% bugid %]</a>
</p> </p>
[% PROCESS global/footer.html.tmpl %] [% PROCESS global/footer.html.tmpl %]
...@@ -182,9 +182,9 @@ ...@@ -182,9 +182,9 @@
[% IF isviewable %] [% IF isviewable %]
<td width="75%"> <td width="75%">
<textarea id="editFrame" name="comment" style="height: 400px; width: 100%; display: none;" cols="80" wrap="soft"></textarea> <textarea id="editFrame" name="comment" style="height: 400px; width: 100%; display: none;" cols="80" wrap="soft"></textarea>
<iframe id="viewFrame" src="attachment.cgi?id=[% attachid %]&action=view" style="height: 400px; width: 100%;"> <iframe id="viewFrame" src="attachment.cgi?id=[% attachid %]&amp;action=view" style="height: 400px; width: 100%;">
<b>You cannot view the attachment while editing it because your browser does not support IFRAMEs. <b>You cannot view the attachment while editing it because your browser does not support IFRAMEs.
<a href="attachment.cgi?id=[% attachid %]&action=view">View the attachment on a separate page</a>.</b> <a href="attachment.cgi?id=[% attachid %]&amp;action=view">View the attachment on a separate page</a>.</b>
</iframe> </iframe>
<script type="application/x-javascript" language="JavaScript"> <script type="application/x-javascript" language="JavaScript">
<!-- <!--
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
<td id="noview" width="50%"> <td id="noview" width="50%">
<p><b> <p><b>
Attachment cannot be viewed because its MIME type is not either text/*, image/*, or application/vnd.mozilla.*. Attachment cannot be viewed because its MIME type is not either text/*, image/*, or application/vnd.mozilla.*.
<a href="attachment.cgi?id=[% attachid %]&action=view">Download the attachment instead</a>. <a href="attachment.cgi?id=[% attachid %]&amp;action=view">Download the attachment instead</a>.
</b></p> </b></p>
</td> </td>
[% END %] [% END %]
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
[% IF a == attachid %] [% IF a == attachid %]
#[% a %] #[% a %]
[% ELSE %] [% ELSE %]
<a href="attachment.cgi?id=[% a %]&action=edit">#[% a %]</a> <a href="attachment.cgi?id=[% a %]&amp;action=edit">#[% a %]</a>
[% END %] [% END %]
[% "|" UNLESS loop.last() %] [% "|" UNLESS loop.last() %]
[% END %] [% END %]
......
...@@ -73,15 +73,15 @@ ...@@ -73,15 +73,15 @@
</td> </td>
<td valign="top"> <td valign="top">
<a href="attachment.cgi?id=[% a.attachid %]&action=edit">Edit</a> <a href="attachment.cgi?id=[% a.attachid %]&amp;action=edit">Edit</a>
</td> </td>
</tr> </tr>
</table> </table>
[% IF a.isviewable %] [% IF a.isviewable %]
<iframe src="attachment.cgi?id=[% a.attachid %]&action=view" width="75%" height="350"> <iframe src="attachment.cgi?id=[% a.attachid %]&amp;action=view" width="75%" height="350">
<b>You cannot view the attachment on this page because your browser does not support IFRAMEs. <b>You cannot view the attachment on this page because your browser does not support IFRAMEs.
<a href="attachment.cgi?id=[% a.attachid %]&action=view">View the attachment on a separate page</a>.</b> <a href="attachment.cgi?id=[% a.attachid %]&amp;action=view">View the attachment on a separate page</a>.</b>
</iframe> </iframe>
[% ELSE %] [% ELSE %]
<p><b> <p><b>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<tr> <tr>
<td> <td>
<h2>Changes to <h2>Changes to
<a href="attachment.cgi?id=[% attachid %]&action=edit">attachment [% attachid %]</a> <a href="attachment.cgi?id=[% attachid %]&amp;action=edit">attachment [% attachid %]</a>
of bug [% bugid %] submitted of bug [% bugid %] submitted
</h2> </h2>
[% mailresults %] [% mailresults %]
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Changes made to bug $bug_id" title = "Changes made to bug $bug_id"
h1 = "Activity log" h1 = "Activity log"
h2 = "Bug <a href='show_bug.cgi?id=$bug_id'>$bug_id</a>" h2 = "Bug <a href=\"show_bug.cgi?id=$bug_id\">$bug_id</a>"
%] %]
<br> <br>
......
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
Display bugs as XML by entering a list of bug numbers here: Display bugs as XML by entering a list of bug numbers here:
</td> </td>
<td> <td>
<input name="id" size="30" /> <input name="id" size="30">
<input type="submit" value="Display as XML" /> <input type="submit" value="Display as XML">
</td> </td>
</tr> </tr>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
%] %]
<form method="post" action="post_bug.cgi"> <form method="post" action="post_bug.cgi">
<input type="hidden" name="product" value="[% product FILTER html %]" /> <input type="hidden" name="product" value="[% product FILTER html %]">
<table cellspacing="2" cellpadding="0" border="0"> <table cellspacing="2" cellpadding="0" border="0">
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
[% sel = { description => 'Priority', name => 'priority' } %] [% sel = { description => 'Priority', name => 'priority' } %]
[% INCLUDE select %] [% INCLUDE select %]
[% ELSE %] [% ELSE %]
<input type="hidden" name="priority" value="[% default.priority %]" /> <input type="hidden" name="priority" value="[% default.priority %]">
[% END %] [% END %]
[% sel = { description => 'Severity', name => 'bug_severity' } %] [% sel = { description => 'Severity', name => 'bug_severity' } %]
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
<td colspan="2"></td> <td colspan="2"></td>
</tr> </tr>
[% ELSE %] [% ELSE %]
<input type="hidden" name="bug_status" value="[% default.bug_status %]" /> <input type="hidden" name="bug_status" value="[% default.bug_status %]">
[% END %] [% END %]
<tr> <tr>
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
</td> </td>
<td colspan="3"> <td colspan="3">
<input name="assigned_to" size="32" <input name="assigned_to" size="32"
value="[% assigned_to FILTER html %]" /> value="[% assigned_to FILTER html %]">
(Leave blank to assign to default component owner) (Leave blank to assign to default component owner)
</td> </td>
</tr> </tr>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
<tr> <tr>
<td align="right"><strong>Cc:</strong></td> <td align="right"><strong>Cc:</strong></td>
<td colspan="3"> <td colspan="3">
<input name="cc" size="45" value="[% cc FILTER html %]" /> <input name="cc" size="45" value="[% cc FILTER html %]">
</td> </td>
</tr> </tr>
...@@ -157,14 +157,14 @@ ...@@ -157,14 +157,14 @@
<td align="right"<strong>URL:</strong></td> <td align="right"<strong>URL:</strong></td>
<td colspan="3"> <td colspan="3">
<input name="bug_file_loc" size="60" <input name="bug_file_loc" size="60"
value="[% bug_file_loc FILTER html %]" /> value="[% bug_file_loc FILTER html %]">
</td> </td>
</tr> </tr>
<tr> <tr>
<td align="right"><strong>Summary:</strong></td> <td align="right"><strong>Summary:</strong></td>
<td colspan="3"> <td colspan="3">
<input name="short_desc" size="60" value="[% short_desc FILTER html %]" /> <input name="short_desc" size="60" value="[% short_desc FILTER html %]">
</td> </td>
</tr> </tr>
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
[% FOREACH g = group %] [% FOREACH g = group %]
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
<input type="checkbox" name="bit-[% g.bit %]" value="1" <input type="checkbox" name="bit-[% g.bit %]" value="1"
[% " checked=\"checked\"" IF g.checked %] />[% g.description %]<br /> [% " checked=\"checked\"" IF g.checked %]>[% g.description %]<br>
[% END %] [% END %]
<br> <br>
[% END %] [% END %]
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
return false; } return true;"> return false; } return true;">
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" name="maketemplate" <input type="submit" name="maketemplate"
value="Remember values as bookmarkable template" /> value="Remember values as bookmarkable template">
</td> </td>
</tr> </tr>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
[% IF NOT multiple_bugs AND NOT doall %] [% IF NOT multiple_bugs AND NOT doall %]
[% title = "$title for bug $bug_id" [% title = "$title for bug $bug_id"
h1 = "$h1 for bug <a href='show_bug.cgi?id=$bug_id'>$bug_id</a>" h1 = "$h1 for bug <a href=\"show_bug.cgi?id=$bug_id\">$bug_id</a>"
%] %]
[% END %] [% END %]
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<img src="[% image_url %]" usemap="#imagemap"> <img src="[% image_url %]" usemap="#imagemap">
[% ELSE %] [% ELSE %]
<a href="[% map_url %]"> <a href="[% map_url %]">
<img src="[% image_url %]" ismap> <img src="[% image_url %]" ismap="ismap">
</a> </a>
[% END %] [% END %]
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
</td> </td>
<td rowspan="4" valign="top"> <td rowspan="4" valign="top">
[% IF bug.cc %] [% IF bug.cc %]
<select name="cc" multiple size="5"> <select name="cc" multiple="multiple" size="5">
[% FOREACH c = bug.cc %] [% FOREACH c = bug.cc %]
<option value="[% c FILTER html %]">[% c FILTER html %]</option> <option value="[% c FILTER html %]">[% c FILTER html %]</option>
[% END %] [% END %]
...@@ -288,9 +288,9 @@ ...@@ -288,9 +288,9 @@
</th> </th>
<td> <td>
[% bug.votes %]&nbsp;&nbsp;&nbsp; [% bug.votes %]&nbsp;&nbsp;&nbsp;
<a href="votes.cgi?action=show_bug&bug_id=[% bug.bug_id %]">Show <a href="votes.cgi?action=show_bug&amp;bug_id=[% bug.bug_id %]">Show
votes for this bug</a>&nbsp;&nbsp;&nbsp; votes for this bug</a>&nbsp;&nbsp;&nbsp;
<a href="votes.cgi?action=show_user&bug_id=[% bug.bug_id %]">Vote <a href="votes.cgi?action=show_user&amp;bug_id=[% bug.bug_id %]">Vote
for this bug</a> for this bug</a>
</td> </td>
</tr> </tr>
...@@ -317,8 +317,8 @@ ...@@ -317,8 +317,8 @@
[% FOREACH group = groups %] [% FOREACH group = groups %]
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
<input type="checkbox" name="bit-[% group.bit %]" value="1" <input type="checkbox" name="bit-[% group.bit %]" value="1"
[% " checked='checked'" IF group.ison %] [% " checked=\"checked\"" IF group.ison %]
[% " disabled='disabled'" IF NOT group.ingroup %]> [% " disabled=\"disabled\"" IF NOT group.ingroup %]>
[% group.description %] [% group.description %]
<br> <br>
[% END %] [% END %]
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
[%# *** Knob *** %] [%# *** Knob *** %]
<br> <br>
<input type="radio" name="knob" value="none" checked> <input type="radio" name="knob" value="none" checked="checked">
Leave as <b>[% bug.bug_status FILTER html %]&nbsp; Leave as <b>[% bug.bug_status FILTER html %]&nbsp;
[% bug.resolution FILTER html %]</b> [% bug.resolution FILTER html %]</b>
<br> <br>
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input type="radio" name="knob" value="reassign"> <input type="radio" name="knob" value="reassign">
<a href="bug_status.html#assigned_to">Reassign</A> bug to <a href="bug_status.html#assigned_to">Reassign</a> bug to
<input name="assigned_to" size="32" <input name="assigned_to" size="32"
onchange="if ((this.value != '[% bug.assigned_to_email FILTER js %]') && onchange="if ((this.value != '[% bug.assigned_to_email FILTER js %]') &&
(this.value != '')) { (this.value != '')) {
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<p> <p>
<input type="radio" name="addtonewgroup" value="no"><b>no</b><br> <input type="radio" name="addtonewgroup" value="no"><b>no</b><br>
<input type="radio" name="addtonewgroup" value="yes"><b>yes</b><br> <input type="radio" name="addtonewgroup" value="yes"><b>yes</b><br>
<input type="radio" name="addtonewgroup" value="yesifinold" checked> <input type="radio" name="addtonewgroup" value="yesifinold" checked="checked">
<b>yes, but only if the bug was in its old product's group</b><br> <b>yes, but only if the bug was in its old product's group</b><br>
</p> </p>
[% END %] [% END %]
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
<tr> <tr>
<td colspan="4"> <td colspan="4">
<b>URL:</b>&nbsp; <b>URL:</b>&nbsp;
<A HREF="[% bug.bug_file_loc %]">[% bug.bug_file_loc FILTER html %]</a> <a href="[% bug.bug_file_loc %]">[% bug.bug_file_loc FILTER html %]</a>
</tr> </tr>
<tr> <tr>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Show Votes" title = "Show Votes"
h2 = "Bug <a href='show_bug.cgi?id=$bug_id'>$bug_id</a>" h2 = "Bug <a href=\"show_bug.cgi?id=$bug_id\">$bug_id</a>"
%] %]
<table cellspacing="4"> <table cellspacing="4">
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
[% FOREACH user = users %] [% FOREACH user = users %]
<tr> <tr>
<td> <td>
<a href="votes.cgi?action=show_user&user=[% user.name %]"> <a href="votes.cgi?action=show_user&amp;user=[% user.name %]">
[% user.name %] [% user.name %]
</a> </a>
</td> </td>
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
[% "</strike>" IF NOT bug.opened %] [% "</strike>" IF NOT bug.opened %]
</td> </td>
<td> <td>
<a href="votes.cgi?action=show_bug&bug_id=[% bug.id %]"> <a href="votes.cgi?action=show_bug&amp;bug_id=[% bug.id %]">
[% bug.summary FILTER html %] [% bug.summary FILTER html %]
</a> </a>
</td> </td>
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<td valign="top" align="left"> <td valign="top" align="left">
<table border="0" cellpadding="0" cellspacing="2"> <table border="0" cellpadding="0" cellspacing="2">
<tr> <tr>
<td valign="top" align="left" nowrap> <td valign="top" align="left" nowrap="nowrap">
<font size="+1"><b>[% h1 %]</b></font> <font size="+1"><b>[% h1 %]</b></font>
</td> </td>
</tr> </tr>
......
...@@ -78,7 +78,7 @@ function addSidebar() { ...@@ -78,7 +78,7 @@ function addSidebar() {
</p> </p>
</form> </form>
</td> </td>
<td align="right"><img src="ant.jpg" width=329 height=220 border=2 alt="ant.jpg [8.5k]"></td> <td align="right"><img src="ant.jpg" width="329" height="220" border="2" alt="ant.jpg [8.5k]"></td>
</tr></table> </tr></table>
<script type="text/javascript" language="JavaScript" src="localconfig.js"></script> <script type="text/javascript" language="JavaScript" src="localconfig.js"></script>
......
...@@ -28,11 +28,11 @@ ...@@ -28,11 +28,11 @@
item.checked = value; item.checked = value;
} }
} }
document.write(' <input type="button" value="Uncheck All" onclick="SetCheckboxes(false);">'); document.write(' <input type="button" name="uncheck_all" value="Uncheck All" onclick="SetCheckboxes(false);">');
document.write(' <input type="button" value="Check All" onclick="SetCheckboxes(true);">'); document.write(' <input type="button" name="check_all" value="Check All" onclick="SetCheckboxes(true);">');
</script> </script>
<hr /> <hr>
<p><font size="-1"> <p><font size="-1">
To change multiple bugs: To change multiple bugs:
...@@ -162,24 +162,24 @@ ...@@ -162,24 +162,24 @@
<input type="hidden" name="multiupdate" value="Y"> <input type="hidden" name="multiupdate" value="Y">
<label for="comment"><b>Additional Comments:</b></label><br /> <label for="comment"><b>Additional Comments:</b></label><br>
<textarea id="comment" name="comment" rows="5" cols="80" wrap="hard"></textarea><br /> <textarea id="comment" name="comment" rows="5" cols="80" wrap="hard"></textarea><br>
[% IF groups.size > 0 %] [% IF groups.size > 0 %]
<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&apos;t<br>change<br>this group<br>restriction</td>
<th>Remove<br />bugs<br />from this<br />group</td> <th>Remove<br>bugs<br>from this<br>group</td>
<th>Add<br />bugs<br />to this<br />group</td> <th>Add<br>bugs<br>to this<br>group</td>
<th>Group Name:</td> <th>Group Name:</td>
</tr> </tr>
[% FOREACH group = groups %] [% FOREACH group = groups %]
<tr> <tr>
<td align="center"> <td align="center">
<input type="radio" name="bit-[% group.bit %]" value="-1" checked> <input type="radio" name="bit-[% group.bit %]" value="-1" checked="checked">
</td> </td>
<td align="center"> <td align="center">
<input type="radio" name="bit-[% group.bit %]" value="0"> <input type="radio" name="bit-[% group.bit %]" value="0">
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
[% IF foundinactive %] [% IF foundinactive %]
<font size="-1">(Note: Bugs may not be added to <strike>inactive <font size="-1">(Note: Bugs may not be added to <strike>inactive
groups</strike>, only removed.)</font><br /> groups</strike>, only removed.)</font><br>
[% END %] [% END %]
[% END %] [% END %]
...@@ -216,33 +216,33 @@ ...@@ -216,33 +216,33 @@
[% knum = 0 %] [% knum = 0 %]
<input id="knob-none" type="radio" name="knob" value="none" CHECKED> <input id="knob-none" type="radio" name="knob" value="none" checked="checked">
<label for="knob-none">Do nothing else</label><br /> <label for="knob-none">Do nothing else</label><br>
[% IF bugstatuses.size == 1 && bugstatuses.0 == unconfirmedstate %] [% IF bugstatuses.size == 1 && bugstatuses.0 == unconfirmedstate %]
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input id="knob-confirm" type="radio" name="knob" value="confirm"> <input id="knob-confirm" type="radio" name="knob" value="confirm">
<label for="knob-confirm"> <label for="knob-confirm">
Confirm bugs (change status to <b>NEW</b>) Confirm bugs (change status to <b>NEW</b>)
</label><br /> </label><br>
[% END %] [% END %]
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input id="knob-accept" type="radio" name="knob" value="accept"> <input id="knob-accept" type="radio" name="knob" value="accept">
<label for="knob-accept"> <label for="knob-accept">
Accept bugs (change status to <b>ASSIGNED</b>) Accept bugs (change status to <b>ASSIGNED</b>)
</label><br /> </label><br>
[%# If all the bugs being changed are open, allow the user to close them. %] [%# If all the bugs being changed are open, allow the user to close them. %]
[% IF !bugstatuses.containsany(closedstates) %] [% IF !bugstatuses.containsany(closedstates) %]
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input id="knob-clearresolution" type="radio" name="knob" value="clearresolution"> <input id="knob-clearresolution" type="radio" name="knob" value="clearresolution">
<label for="knob-clearresolution">Clear the resolution</label><br /> <label for="knob-clearresolution">Clear the resolution</label><br>
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input id="knob-resolve" type="radio" name="knob" value="resolve"> <input id="knob-resolve" type="radio" name="knob" value="resolve">
<label for="knob-resolve"> <label for="knob-resolve">
Resolve bugs, changing <A HREF="bug_status.html">resolution</A> to Resolve bugs, changing <a href="bug_status.html">resolution</a> to
</label> </label>
<select name="resolution" onchange="document.forms.changeform.knob[[% knum %]].checked=true"> <select name="resolution" onchange="document.forms.changeform.knob[[% knum %]].checked=true">
[% FOREACH resolution = resolutions %] [% FOREACH resolution = resolutions %]
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
[% resolution FILTER html %] [% resolution FILTER html %]
</option> </option>
[% END %] [% END %]
</select><br /> </select><br>
[% END %] [% END %]
...@@ -259,30 +259,30 @@ ...@@ -259,30 +259,30 @@
[% IF !bugstatuses.containsany(openstates) %] [% IF !bugstatuses.containsany(openstates) %]
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input id="knob-reopen" type="radio" name="knob" value="reopen"> <input id="knob-reopen" type="radio" name="knob" value="reopen">
<label for="knob-reopen">Reopen bugs</label><br /> <label for="knob-reopen">Reopen bugs</label><br>
[% END %] [% END %]
[% IF bugstatuses.size == 1 %] [% IF bugstatuses.size == 1 %]
[% IF bugstatuses.contains('RESOLVED') %] [% IF bugstatuses.contains('RESOLVED') %]
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input id="knob-verify" type="radio" name="knob" value="verify"> <input id="knob-verify" type="radio" name="knob" value="verify">
<label for="knob-verify">Mark bugs as <b>VERIFIED</b></label><br /> <label for="knob-verify">Mark bugs as <b>VERIFIED</b></label><br>
[% ELSIF bugstatuses.contains('VERIFIED') %] [% ELSIF bugstatuses.contains('VERIFIED') %]
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input id="knob-close" type="radio" name="knob" value="close"> <input id="knob-close" type="radio" name="knob" value="close">
<label for="knob-close">Mark bugs as <b>CLOSED</b></label><br /> <label for="knob-close">Mark bugs as <b>CLOSED</b></label><br>
[% END %] [% END %]
[% END %] [% END %]
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input id="knob-reassign" type="radio" name="knob" value="reassign"> <input id="knob-reassign" type="radio" name="knob" value="reassign">
<label for="knob-reassign"><a href="bug_status.html#assigned_to"> <label for="knob-reassign"><a href="bug_status.html#assigned_to">
Reassign</A> bugs to Reassign</a> bugs to
</label> </label>
<input name="assigned_to" <input name="assigned_to"
value="[% user.login FILTER html %]" value="[% user.login FILTER html %]"
onchange="document.forms.changeform.knob[[% knum %]].checked = true;" onchange="document.forms.changeform.knob[[% knum %]].checked = true;"
size="32"><br /> size="32"><br>
[% knum = knum + 1 %] [% knum = knum + 1 %]
<input id="knob-reassignbycomponent" <input id="knob-reassignbycomponent"
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
value="reassignbycomponent"> value="reassignbycomponent">
<label for="knob-reassignbycomponent"> <label for="knob-reassignbycomponent">
Reassign bugs to owner of selected component Reassign bugs to owner of selected component
</label><br /> </label><br>
<input type="submit" value="Commit"> <input type="submit" value="Commit">
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
[% BLOCK selectmenu %] [% BLOCK selectmenu %]
<select id="[% menuname %]" name="[% menuname %]"> <select id="[% menuname %]" name="[% menuname %]">
<option value="[% dontchange FILTER html %]" selected> <option value="[% dontchange FILTER html %]" selected="selected">
[% dontchange FILTER html %] [% dontchange FILTER html %]
</option> </option>
[% FOREACH menuitem = menuitems %] [% FOREACH menuitem = menuitems %]
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<head> <head>
<title>[% title %]</title> <title>[% title %]</title>
<link href="css/buglist.css" rel="stylesheet" type="text/css" /> <link href="css/buglist.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
%] %]
<div align="center"> <div align="center">
<b>[% currenttime %]</b><br /> <b>[% currenttime %]</b><br>
[% IF debug %] [% IF debug %]
<p>[% query FILTER html %]</p> <p>[% query FILTER html %]</p>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
</h2> </h2>
[% END %] [% END %]
<hr /> <hr>
[%############################################################################%] [%############################################################################%]
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
[% END %] [% END %]
<br /> <br>
[%############################################################################%] [%############################################################################%]
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
</form> </form>
<hr /> <hr>
[% END %] [% END %]
......
...@@ -46,10 +46,10 @@ ...@@ -46,10 +46,10 @@
</p> </p>
<form method="post" action="quips.cgi"> <form method="post" action="quips.cgi">
<input type="hidden" name="action" value="add" /> <input type="hidden" name="action" value="add">
<input size="80" name="quip" /> <input size="80" name="quip">
<p> <p>
<input type="submit" value="Add This Quip" /> <input type="submit" value="Add This Quip">
</p> </p>
</form> </form>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
[% INCLUDE describe_comp %] [% INCLUDE describe_comp %]
[% END %] [% END %]
<tr> <tr>
<td colspan='[% numcols %]'> <td colspan="[% numcols %]">
<hr> <hr>
</td> </td>
</tr> </tr>
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td rowspan='2'> <td rowspan="2">
<a name="[% comp.name FILTER html %]">[% comp.name FILTER html %]</a> <a name="[% comp.name FILTER html %]">[% comp.name FILTER html %]</a>
</td> </td>
<td> <td>
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
[%# *** Column Headers *** %] [%# *** Column Headers *** %]
<table border> <table border>
<tr BGCOLOR="#CCCCCC"> <tr bgcolor="#CCCCCC">
[% FOREACH column = [ { name => "id", description => "Bug #" }, [% FOREACH column = [ { name => "id", description => "Bug #" },
{ name => "count", description => "Dupe<br>Count" }, { name => "count", description => "Dupe<br>Count" },
{ name => "delta", { name => "delta",
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<td> <td>
<center> <center>
[% "<strike>" IF bug.resolution != "" %] [% "<strike>" IF bug.resolution != "" %]
<A HREF="show_bug.cgi?id=[% bug.id %]">[% bug.id %]</a> <a href="show_bug.cgi?id=[% bug.id %]">[% bug.id %]</a>
[% "</strike>" IF bug.resolution != "" %] [% "</strike>" IF bug.resolution != "" %]
</center> </center>
</td> </td>
......
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
<h3><a name="params">Change Parameters</a></h3> <h3><a name="params">Change Parameters</a></h3>
<form method="get" action="duplicates.cgi"> <form method="get" action="duplicates.cgi">
<input type="hidden" name="sortby" value="[% sortby %]" /> <input type="hidden" name="sortby" value="[% sortby %]">
<input type="hidden" name="reverse" value="[% reverse %]" /> <input type="hidden" name="reverse" value="[% reverse %]">
<input type="hidden" name="bug_id" value="[% bug_ids_string %]"> <input type="hidden" name="bug_id" value="[% bug_ids_string %]">
<table> <table>
<tr> <tr>
...@@ -68,20 +68,20 @@ ...@@ -68,20 +68,20 @@
work with:</td> work with:</td>
<td> <td>
<input type="radio" name="sortvisible" id="entirelist" value="0" <input type="radio" name="sortvisible" id="entirelist" value="0"
[% "checked" IF NOT sortvisible %] /> [% "checked" IF NOT sortvisible %]>
<label for="entirelist"> <label for="entirelist">
entire list entire list
</label> </label>
<br /> <br>
<input type="radio" name="sortvisible" id="visiblelist" value="1" <input type="radio" name="sortvisible" id="visiblelist" value="1"
[% "checked" IF sortvisible %] /> [% "checked" IF sortvisible %]>
<label for="visiblelist"> <label for="visiblelist">
currently visible list currently visible list
</label> </label>
</td> </td>
<td rowspan="4" valign="top">Restrict to products:</td> <td rowspan="4" valign="top">Restrict to products:</td>
<td rowspan="4" valign="top"> <td rowspan="4" valign="top">
<select name="product" size="5" multiple> <select name="product" size="5" multiple="multiple">
[% FOREACH p = products %] [% FOREACH p = products %]
<option name="[% p %]" <option name="[% p %]"
[% " selected" IF product == p %]>[% p %]</option> [% " selected" IF product == p %]>[% p %]</option>
...@@ -93,14 +93,14 @@ ...@@ -93,14 +93,14 @@
<tr> <tr>
<td>Max rows:</td> <td>Max rows:</td>
<td> <td>
<input size="4" name="maxrows" value="[% maxrows %]" /> <input size="4" name="maxrows" value="[% maxrows %]">
</td> </td>
</tr> </tr>
<tr> <tr>
<td>Change column is change in the last:</td> <td>Change column is change in the last:</td>
<td> <td>
<input size="4" name="changedsince" value="[% changedsince %]" /> days <input size="4" name="changedsince" value="[% changedsince %]"> days
</td> </td>
</tr> </tr>
...@@ -112,13 +112,13 @@ ...@@ -112,13 +112,13 @@
</td> </td>
<td> <td>
<input type="checkbox" name="openonly" id="openonly" value="1" <input type="checkbox" name="openonly" id="openonly" value="1"
[% "checked" IF openonly %] /> [% "checked" IF openonly %]>
</td> </td>
</tr> </tr>
</table> </table>
<input type="submit" value="Change" /> <input type="submit" value="Change">
</form> </form>
<form method="post" action="buglist.cgi"> <form method="post" action="buglist.cgi">
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
(Note: the order may not be the same.) (Note: the order may not be the same.)
</form> </form>
<hr /> <hr>
<b> <b>
<a name="explanation">What are "Most Frequently Reported Bugs"?</a> <a name="explanation">What are "Most Frequently Reported Bugs"?</a>
......
...@@ -368,7 +368,7 @@ function selectProduct(f) { ...@@ -368,7 +368,7 @@ function selectProduct(f) {
[%# Can't use the select block here because of onChange and the fact that [%# Can't use the select block here because of onChange and the fact that
'component' is a toolkit reserved word - we use 'component_' instead. %] 'component' is a toolkit reserved word - we use 'component_' instead. %]
<td align="left"> <td align="left">
<select name="product" multiple size="5" onChange="selectProduct(this.form);"> <select name="product" multiple="multiple" size="5" onchange="selectProduct(this.form);">
[% FOREACH p = product %] [% FOREACH p = product %]
<option value="[% p FILTER html %]" <option value="[% p FILTER html %]"
[% " selected" IF lsearch(default.product, p) != -1 %]> [% " selected" IF lsearch(default.product, p) != -1 %]>
...@@ -378,7 +378,7 @@ function selectProduct(f) { ...@@ -378,7 +378,7 @@ function selectProduct(f) {
</td> </td>
<td align="left"> <td align="left">
<select name="component" multiple size="5"> <select name="component" multiple="multiple" size="5">
[% FOREACH c = component_ %] [% FOREACH c = component_ %]
<option value="[% c FILTER html %]" <option value="[% c FILTER html %]"
[% " selected" IF lsearch(default.component, c) != -1 %]> [% " selected" IF lsearch(default.component, c) != -1 %]>
...@@ -618,13 +618,13 @@ function selectProduct(f) { ...@@ -618,13 +618,13 @@ function selectProduct(f) {
<dl> <dl>
<dt>Only bugs changed in the last </dt> <dt>Only bugs changed in the last </dt>
<dd><input name=changedin size=3 value="[% default.changedin.0 FILTER html %]"> days</dd> <dd><input name="changedin" size="3" value="[% default.changedin.0 FILTER html %]"> days</dd>
</dl> </dl>
<dl> <dl>
<dt>Only bugs where any of the fields</dt> <dt>Only bugs where any of the fields</dt>
<dd> <dd>
<select name="chfield" multiple size="4"> <select name="chfield" multiple="multiple" size="4">
[% FOREACH field = chfield %] [% FOREACH field = chfield %]
<option value="[% field FILTER html %]" <option value="[% field FILTER html %]"
[% " selected" IF lsearch(default.chfield, field) != -1 %]> [% " selected" IF lsearch(default.chfield, field) != -1 %]>
...@@ -659,7 +659,7 @@ function selectProduct(f) { ...@@ -659,7 +659,7 @@ function selectProduct(f) {
[% BLOCK select %] [% BLOCK select %]
<td align="left"> <td align="left">
<select name="[% sel.name %]" multiple size="[% sel.size %]"> <select name="[% sel.name %]" multiple="multiple" size="[% sel.size %]">
[% FOREACH name = ${sel.name} %] [% FOREACH name = ${sel.name} %]
<option value="[% name FILTER html %]" <option value="[% name FILTER html %]"
[% " selected" IF lsearch(default.${sel.name}, name) != -1 %]> [% " selected" IF lsearch(default.${sel.name}, name) != -1 %]>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<input type="hidden" name="cmdtype" value="doit"> <input type="hidden" name="cmdtype" value="doit">
[% ELSE %] [% ELSE %]
<br> <br>
<input type="radio" name="cmdtype" value="doit" checked> Run this query <input type="radio" name="cmdtype" value="doit" checked="checked"> Run this query
<br> <br>
[% IF namedqueries.size > 0 %] [% IF namedqueries.size > 0 %]
......
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