Commit 98446d4f authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 952796: Remove HTML attributes which are obsolete in HTML5

r/a=justdave
parent 2b574f4d
...@@ -48,6 +48,18 @@ table#flags td { ...@@ -48,6 +48,18 @@ table#flags td {
background-color: #f0f0f0; background-color: #f0f0f0;
border: 1px solid black; border: 1px solid black;
text-align: left; text-align: left;
padding: 0.2em;
}
.section_head .link_here {
float: right;
padding-left: 1em;
padding-right: 0.5em;
}
.lines_count a {
padding-left: 0.5em;
padding-right: 1em;
} }
table.file_table { table.file_table {
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
border-color: black; border-color: black;
border-width: 0px 0px 2px 0px; border-width: 0px 0px 2px 0px;
} }
.tabs td.selected { .tabs td.selected {
background: white; background: white;
border-width: 2px 2px 0px 2px; border-width: 2px 2px 0px 2px;
...@@ -634,8 +634,8 @@ input.required, select.required, span.required_explanation { ...@@ -634,8 +634,8 @@ input.required, select.required, span.required_explanation {
.calendar_button span { display: none } .calendar_button span { display: none }
/* These classes are set by YUI. */ /* These classes are set by YUI. */
.yui-calcontainer { .yui-calcontainer {
display: none; display: none;
background-color: white; background-color: white;
padding: 10px; padding: 10px;
border: 1px solid #404D6C; border: 1px solid #404D6C;
} }
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
existing ones, as you may be contacted for more information if needed. existing ones, as you may be contacted for more information if needed.
This also lets other users clearly identify who is the author of comments This also lets other users clearly identify who is the author of comments
or changes made into [% terms.bugs %]. <b>Note that your email address will or changes made into [% terms.bugs %]. <b>Note that your email address will
<u>never</u> be displayed to logged out users. Only registered users will be <em>never</em> be displayed to logged out users. Only registered users will be
able to see it.</b> able to see it.</b>
</p> </p>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<p> <p>
This account will not be created if this form is not completed by This account will not be created if this form is not completed by
<u>[% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %]</u>. <b>[% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %]</b>.
</p> </p>
<p> <p>
......
...@@ -209,8 +209,8 @@ function SetCheckboxes(setting) { ...@@ -209,8 +209,8 @@ function SetCheckboxes(setting) {
<p> <p>
If you watch a user, it is as if you are standing in their shoes for the If you watch a user, it is as if you are standing in their shoes for the
purposes of getting email. Email is sent or not according to <u>your</u> purposes of getting email. Email is sent or not according to <em>your</em>
preferences for <u>their</u> relationship to the [% terms.bug %] preferences for <em>their</em> relationship to the [% terms.bug %]
(e.g. Assignee). (e.g. Assignee).
</p> </p>
......
...@@ -85,16 +85,10 @@ ...@@ -85,16 +85,10 @@
[% IF current_tab.saveable %] [% IF current_tab.saveable %]
<input type="hidden" name="dosave" value="1"> <input type="hidden" name="dosave" value="1">
[% UNLESS dont_show_button %] [% UNLESS dont_show_button %]
<table> <p>
<tr> <input type="submit" id="update" value="Submit Changes">
<td width="150">&nbsp;</td> </p>
<td>
<input type="submit" id="update" value="Submit Changes">
</td>
</tr>
</table>
[% END %] [% END %]
</form> </form>
[% END %] [% END %]
......
...@@ -441,9 +441,9 @@ ...@@ -441,9 +441,9 @@
<form method="post" action="editusers.cgi"> <form method="post" action="editusers.cgi">
<p> <p>
<input type="submit" id="delete" value="Yes, delete"/> <input type="submit" id="delete" value="Yes, delete">
<input type="hidden" name="action" value="delete" /> <input type="hidden" name="action" value="delete">
<input type="hidden" name="userid" value="[% otheruser.id %]" /> <input type="hidden" name="userid" value="[% otheruser.id %]">
<input type="hidden" name="token" value="[% token FILTER html %]"> <input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %] [% INCLUDE listselectionhiddenfields %]
</p> </p>
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
%] %]
</table> </table>
<p> <p>
<input type="submit" id="add" value="Add"/> <input type="submit" id="add" value="Add">
<input type="hidden" name="action" value="new" /> <input type="hidden" name="action" value="new">
<input type="hidden" name="token" value="[% token FILTER html %]"> <input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %] [% INCLUDE listselectionhiddenfields %]
</p> </p>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
[% %]<input type="checkbox" [% %]<input type="checkbox"
name="bless_[% group.id %]" name="bless_[% group.id %]"
value="1" value="1"
[% ' checked="checked"' IF perms.directbless %] /> [% ' checked="checked"' IF perms.directbless %]>
[% ']' IF perms.indirectbless %]</td> [% ']' IF perms.indirectbless %]</td>
[% END %] [% END %]
<td class="checkbox"> <td class="checkbox">
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
id="group_[% group.id %]" id="group_[% group.id %]"
name="group_[% group.id %]" name="group_[% group.id %]"
value="1" value="1"
[% ' checked="checked"' IF perms.directmember %] /> [% ' checked="checked"' IF perms.directmember %]>
[% '*' IF perms.regexpmember %] [% '*' IF perms.regexpmember %]
[% ']' IF perms.derivedmember %]</td> [% ']' IF perms.derivedmember %]</td>
<td class="groupname"> <td class="groupname">
...@@ -115,9 +115,9 @@ ...@@ -115,9 +115,9 @@
</table> </table>
<p> <p>
<input type="submit" id="update" value="Save Changes" /> <input type="submit" id="update" value="Save Changes">
<input type="hidden" name="userid" value="[% otheruser.id %]" /> <input type="hidden" name="userid" value="[% otheruser.id %]">
<input type="hidden" name="action" value="update" /> <input type="hidden" name="action" value="update">
<input type="hidden" name="token" value="[% token FILTER html %]"> <input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %] [% INCLUDE listselectionhiddenfields %]
...@@ -143,9 +143,9 @@ ...@@ -143,9 +143,9 @@
[% IF Param('allowuserdeletion') && editusers %] [% IF Param('allowuserdeletion') && editusers %]
<form method="post" action="editusers.cgi"> <form method="post" action="editusers.cgi">
<p> <p>
<input type="submit" id="delete" value="Delete User" /> <input type="submit" id="delete" value="Delete User">
<input type="hidden" name="action" value="del" /> <input type="hidden" name="action" value="del">
<input type="hidden" name="userid" value="[% otheruser.id %]" /> <input type="hidden" name="userid" value="[% otheruser.id %]">
[% INCLUDE listselectionhiddenfields %] [% INCLUDE listselectionhiddenfields %]
</p> </p>
</form> </form>
......
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
[% BLOCK listselectionhiddenfields %] [% BLOCK listselectionhiddenfields %]
[% FOREACH field = listselectionvalues.keys %] [% FOREACH field = listselectionvalues.keys %]
<input type="hidden" name="[% field FILTER html %]" <input type="hidden" name="[% field FILTER html %]"
value="[% listselectionvalues.$field FILTER html %]" /> value="[% listselectionvalues.$field FILTER html %]">
[% END %] [% END %]
[% END %] [% END %]
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
%] %]
<form name="f" method="get" action="editusers.cgi"> <form name="f" method="get" action="editusers.cgi">
<input type="hidden" name="action" value="list" /> <input type="hidden" name="action" value="list">
<p><label for="matchvalue">List users with</label> <p><label for="matchvalue">List users with</label>
<select id="matchvalue" name="matchvalue"> <select id="matchvalue" name="matchvalue">
<option value="login_name">login name</option> <option value="login_name">login name</option>
...@@ -35,17 +35,18 @@ ...@@ -35,17 +35,18 @@
<option value="userid">user id</option> <option value="userid">user id</option>
</select> </select>
<label for="matchstr">matching</label> <label for="matchstr">matching</label>
<input size="32" name="matchstr" id="matchstr" /> <input size="32" name="matchstr" id="matchstr">
<select name="matchtype"> <select name="matchtype">
<option value="substr" selected="selected">case-insensitive substring</option> <option value="substr" selected="selected">case-insensitive substring</option>
<option value="regexp">case-insensitive regexp</option> <option value="regexp">case-insensitive regexp</option>
<option value="notregexp">not (case-insensitive regexp)</option> <option value="notregexp">not (case-insensitive regexp)</option>
<option value="exact">exact (find this user)</option> <option value="exact">exact (find this user)</option>
</select> </select>
<input type="submit" id="search" value="Search" /></p> <input type="submit" id="search" value="Search">
</p>
[% IF restrictablegroups.size %] [% IF restrictablegroups.size %]
<p><input type="checkbox" name="grouprestrict" value="1" id="grouprestrict" /> <p><input type="checkbox" name="grouprestrict" value="1" id="grouprestrict">
<label for="grouprestrict">Restrict to users belonging to group</label> <label for="grouprestrict">Restrict to users belonging to group</label>
<select name="groupid" <select name="groupid"
onchange="document.forms['f'].grouprestrict.checked=true"> onchange="document.forms['f'].grouprestrict.checked=true">
......
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
<th><label for="login">Login name:</label></th> <th><label for="login">Login name:</label></th>
<td> <td>
[% IF editusers %] [% IF editusers %]
<input size="64" maxlength="255" name="login" <input size="64" maxlength="255" id="login" name="login"
id="login" value="[% otheruser.login FILTER html %]" /> value="[% otheruser.login FILTER html %]">
[% IF editform %] [% IF editform %]
[% IF !otheruser.in_group('bz_sudo_protect') %] [% IF !otheruser.in_group('bz_sudo_protect') %]
<br /> <br>
<a href="relogin.cgi?action=prepare-sudo&amp;target_login= <a href="relogin.cgi?action=prepare-sudo&amp;target_login=
[%- otheruser.login FILTER uri %]">Impersonate this user</a> [%- otheruser.login FILTER uri %]">Impersonate this user</a>
[% END %] [% END %]
...@@ -52,9 +52,8 @@ ...@@ -52,9 +52,8 @@
<th><label for="name">Real name:</label></th> <th><label for="name">Real name:</label></th>
<td> <td>
[% IF editusers %] [% IF editusers %]
<input size="64" maxlength="255" name="name" <input size="64" maxlength="255" id="name" name="name"
autocomplete="off" autocomplete="off" value="[% otheruser.name FILTER html %]">
id="name" value="[% otheruser.name FILTER html %]" />
[% ELSE %] [% ELSE %]
[% otheruser.name FILTER html %] [% otheruser.name FILTER html %]
[% END %] [% END %]
...@@ -72,7 +71,7 @@ ...@@ -72,7 +71,7 @@
<th><label for="password">Password:</label></th> <th><label for="password">Password:</label></th>
<td> <td>
<input type="password" size="16" name="password" id="password" <input type="password" size="16" name="password" id="password"
value="" autocomplete="off" /> value="" autocomplete="off">
[% IF password_complexity == "mixed_letters" %] [% IF password_complexity == "mixed_letters" %]
(Password must contain at least one UPPER and one lowercase letter.) (Password must contain at least one UPPER and one lowercase letter.)
[% ELSIF password_complexity == "letters_numbers" %] [% ELSIF password_complexity == "letters_numbers" %]
...@@ -80,7 +79,7 @@ ...@@ -80,7 +79,7 @@
[% ELSIF password_complexity == "letters_numbers_specialchars" %] [% ELSIF password_complexity == "letters_numbers_specialchars" %]
(Password must contain at least one letter, a number and a special character.) (Password must contain at least one letter, a number and a special character.)
[% END %] [% END %]
[% IF editform %]<br /> [% IF editform %]<br>
(Enter new password to change.) (Enter new password to change.)
[% END %] [% END %]
</td> </td>
......
...@@ -43,36 +43,37 @@ incremental_restore() ...@@ -43,36 +43,37 @@ incremental_restore()
[% section_num = 0 %] [% section_num = 0 %]
[% FOREACH section = sections %] [% FOREACH section = sections %]
[% section_num = section_num + 1 %] [% section_num = section_num + 1 %]
<tr><th colspan="4" class="section_head"> <tr>
<table id="[% file.filename FILTER html %]_sec[% section_num %]"> <th colspan="4" class="section_head">
<tr><th width="95%" class="left"> <span id="[% file.filename FILTER html %]_sec[% section_num %]" class="lines_count">
[% IF file.is_add %] [% IF file.is_add %]
Added Added
[% ELSIF file.is_remove %] [% ELSIF file.is_remove %]
[% IF bonsai_prefix %] [% IF bonsai_prefix %]
<a href="[% bonsai_prefix %]">Removed</a> <a href="[% bonsai_prefix %]">Removed</a>
[% ELSE %] [% ELSE %]
Removed Removed
[% END %] [% END %]
[% ELSE %] [% ELSE %]
[% IF bonsai_prefix %] [% IF bonsai_prefix %]
<a href="[% bonsai_prefix %]#[% section.old_start %]"> <a href="[% bonsai_prefix %]#[% section.old_start %]">
[% END %] [% END %]
[% IF section.old_lines > 1 %] [% IF section.old_lines > 1 %]
&nbsp;Lines&nbsp;[% section.old_start %]-[% section.old_start + Lines&nbsp;[% section.old_start %]-[% section.old_start + section.old_lines - 1 %]
section.old_lines - 1 %] [% ELSE %]
[% ELSE %] Line&nbsp;[% section.old_start %]
Line&nbsp;[% section.old_start %] [% END %]
[% END %] [% IF bonsai_prefix %]
[% IF bonsai_prefix %] </a>
</a> [% END %]
[% END %] [%+ section.func_info FILTER html IF section.func_info %]
&nbsp;&nbsp;[% section.func_info FILTER html IF section.func_info %] [% END %]
[% END %] </span>
</th><th> <span class="link_here">
<a href="#[% file.filename FILTER html %]_sec[% section_num %]">Link&nbsp;Here</a>&nbsp; <a href="#[% file.filename FILTER html %]_sec[% section_num %]">Link&nbsp;Here</a>
</th></tr></table> </span>
</th></tr> </th>
</tr>
[% current_line_old = section.old_start %] [% current_line_old = section.old_start %]
[% current_line_new = section.new_start %] [% current_line_new = section.new_start %]
[% FOREACH group = section.groups %] [% FOREACH group = section.groups %]
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
[% IF monthly %] [% IF monthly %]
<h4>Total of [% global.grand_total FILTER format("%.2f") %] hours worked</h4> <h4>Total of [% global.grand_total FILTER format("%.2f") %] hours worked</h4>
<hr noshade size="1"> <hr>
[% END %] [% END %]
[% IF null.size > 0 %] [% IF null.size > 0 %]
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
[% isnew = bug.lastdiffed ? 0 : 1 %] [% isnew = bug.lastdiffed ? 0 : 1 %]
<html> <html>
<head> <head>
<base href="[% urlbase FILTER html %]" /> <base href="[% urlbase FILTER html %]">
</head> </head>
<body> <body>
[% Hook.process('start') %] [% Hook.process('start') %]
......
...@@ -289,7 +289,7 @@ ...@@ -289,7 +289,7 @@
[% IF user.is_insider %] [% IF user.is_insider %]
<input type="checkbox" name="comment_is_private" value="1" <input type="checkbox" name="comment_is_private" value="1"
id="newcommentprivacy" id="newcommentprivacy"
onClick="updateCommentTagControl(this, form)"/> onClick="updateCommentTagControl(this, form)">
<label for="newcommentprivacy"> <label for="newcommentprivacy">
Make comment private (visible only to members of the Make comment private (visible only to members of the
<strong>[% Param('insidergroup') FILTER html %]</strong> group) <strong>[% Param('insidergroup') FILTER html %]</strong> group)
......
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