summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/users
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-01-07 20:26:08 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-01-07 20:26:08 +0100
commit98446d4f4473c2c06515ea606cd6643b13092e0c (patch)
treed8f270edd513326da1c1f95eed28adbbc99ecd54 /template/en/default/admin/users
parent2b574f4d63e4ada0db82ca5a56773b3acf771d78 (diff)
downloadbugzilla-98446d4f4473c2c06515ea606cd6643b13092e0c.tar.gz
bugzilla-98446d4f4473c2c06515ea606cd6643b13092e0c.tar.xz
Bug 952796: Remove HTML attributes which are obsolete in HTML5
r/a=justdave
Diffstat (limited to 'template/en/default/admin/users')
-rw-r--r--template/en/default/admin/users/confirm-delete.html.tmpl6
-rw-r--r--template/en/default/admin/users/create.html.tmpl4
-rw-r--r--template/en/default/admin/users/edit.html.tmpl16
-rw-r--r--template/en/default/admin/users/listselectvars.html.tmpl2
-rw-r--r--template/en/default/admin/users/search.html.tmpl9
-rw-r--r--template/en/default/admin/users/userdata.html.tmpl15
6 files changed, 26 insertions, 26 deletions
diff --git a/template/en/default/admin/users/confirm-delete.html.tmpl b/template/en/default/admin/users/confirm-delete.html.tmpl
index 73a72d08d..20100a86b 100644
--- a/template/en/default/admin/users/confirm-delete.html.tmpl
+++ b/template/en/default/admin/users/confirm-delete.html.tmpl
@@ -441,9 +441,9 @@
<form method="post" action="editusers.cgi">
<p>
- <input type="submit" id="delete" value="Yes, delete"/>
- <input type="hidden" name="action" value="delete" />
- <input type="hidden" name="userid" value="[% otheruser.id %]" />
+ <input type="submit" id="delete" value="Yes, delete">
+ <input type="hidden" name="action" value="delete">
+ <input type="hidden" name="userid" value="[% otheruser.id %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %]
</p>
diff --git a/template/en/default/admin/users/create.html.tmpl b/template/en/default/admin/users/create.html.tmpl
index 354ba5f2d..1ca2eb791 100644
--- a/template/en/default/admin/users/create.html.tmpl
+++ b/template/en/default/admin/users/create.html.tmpl
@@ -32,8 +32,8 @@
%]
</table>
<p>
- <input type="submit" id="add" value="Add"/>
- <input type="hidden" name="action" value="new" />
+ <input type="submit" id="add" value="Add">
+ <input type="hidden" name="action" value="new">
<input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %]
</p>
diff --git a/template/en/default/admin/users/edit.html.tmpl b/template/en/default/admin/users/edit.html.tmpl
index e301ed21e..3f4fb76b9 100644
--- a/template/en/default/admin/users/edit.html.tmpl
+++ b/template/en/default/admin/users/edit.html.tmpl
@@ -65,7 +65,7 @@
[% %]<input type="checkbox"
name="bless_[% group.id %]"
value="1"
- [% ' checked="checked"' IF perms.directbless %] />
+ [% ' checked="checked"' IF perms.directbless %]>
[% ']' IF perms.indirectbless %]</td>
[% END %]
<td class="checkbox">
@@ -75,7 +75,7 @@
id="group_[% group.id %]"
name="group_[% group.id %]"
value="1"
- [% ' checked="checked"' IF perms.directmember %] />
+ [% ' checked="checked"' IF perms.directmember %]>
[% '*' IF perms.regexpmember %]
[% ']' IF perms.derivedmember %]</td>
<td class="groupname">
@@ -115,9 +115,9 @@
</table>
<p>
- <input type="submit" id="update" value="Save Changes" />
- <input type="hidden" name="userid" value="[% otheruser.id %]" />
- <input type="hidden" name="action" value="update" />
+ <input type="submit" id="update" value="Save Changes">
+ <input type="hidden" name="userid" value="[% otheruser.id %]">
+ <input type="hidden" name="action" value="update">
<input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %]
@@ -143,9 +143,9 @@
[% IF Param('allowuserdeletion') && editusers %]
<form method="post" action="editusers.cgi">
<p>
- <input type="submit" id="delete" value="Delete User" />
- <input type="hidden" name="action" value="del" />
- <input type="hidden" name="userid" value="[% otheruser.id %]" />
+ <input type="submit" id="delete" value="Delete User">
+ <input type="hidden" name="action" value="del">
+ <input type="hidden" name="userid" value="[% otheruser.id %]">
[% INCLUDE listselectionhiddenfields %]
</p>
</form>
diff --git a/template/en/default/admin/users/listselectvars.html.tmpl b/template/en/default/admin/users/listselectvars.html.tmpl
index bd03113d5..d738b254c 100644
--- a/template/en/default/admin/users/listselectvars.html.tmpl
+++ b/template/en/default/admin/users/listselectvars.html.tmpl
@@ -21,6 +21,6 @@
[% BLOCK listselectionhiddenfields %]
[% FOREACH field = listselectionvalues.keys %]
<input type="hidden" name="[% field FILTER html %]"
- value="[% listselectionvalues.$field FILTER html %]" />
+ value="[% listselectionvalues.$field FILTER html %]">
[% END %]
[% END %]
diff --git a/template/en/default/admin/users/search.html.tmpl b/template/en/default/admin/users/search.html.tmpl
index 55b7300a6..a1bc2809c 100644
--- a/template/en/default/admin/users/search.html.tmpl
+++ b/template/en/default/admin/users/search.html.tmpl
@@ -27,7 +27,7 @@
%]
<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>
<select id="matchvalue" name="matchvalue">
<option value="login_name">login name</option>
@@ -35,17 +35,18 @@
<option value="userid">user id</option>
</select>
<label for="matchstr">matching</label>
-<input size="32" name="matchstr" id="matchstr" />
+<input size="32" name="matchstr" id="matchstr">
<select name="matchtype">
<option value="substr" selected="selected">case-insensitive substring</option>
<option value="regexp">case-insensitive regexp</option>
<option value="notregexp">not (case-insensitive regexp)</option>
<option value="exact">exact (find this user)</option>
</select>
-<input type="submit" id="search" value="Search" /></p>
+<input type="submit" id="search" value="Search">
+</p>
[% 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>
<select name="groupid"
onchange="document.forms['f'].grouprestrict.checked=true">
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl
index 4df8032a5..78c5f0f28 100644
--- a/template/en/default/admin/users/userdata.html.tmpl
+++ b/template/en/default/admin/users/userdata.html.tmpl
@@ -21,11 +21,11 @@
<th><label for="login">Login name:</label></th>
<td>
[% IF editusers %]
- <input size="64" maxlength="255" name="login"
- id="login" value="[% otheruser.login FILTER html %]" />
+ <input size="64" maxlength="255" id="login" name="login"
+ value="[% otheruser.login FILTER html %]">
[% IF editform %]
[% IF !otheruser.in_group('bz_sudo_protect') %]
- <br />
+ <br>
<a href="relogin.cgi?action=prepare-sudo&amp;target_login=
[%- otheruser.login FILTER uri %]">Impersonate this user</a>
[% END %]
@@ -52,9 +52,8 @@
<th><label for="name">Real name:</label></th>
<td>
[% IF editusers %]
- <input size="64" maxlength="255" name="name"
- autocomplete="off"
- id="name" value="[% otheruser.name FILTER html %]" />
+ <input size="64" maxlength="255" id="name" name="name"
+ autocomplete="off" value="[% otheruser.name FILTER html %]">
[% ELSE %]
[% otheruser.name FILTER html %]
[% END %]
@@ -72,7 +71,7 @@
<th><label for="password">Password:</label></th>
<td>
<input type="password" size="16" name="password" id="password"
- value="" autocomplete="off" />
+ value="" autocomplete="off">
[% IF password_complexity == "mixed_letters" %]
(Password must contain at least one UPPER and one lowercase letter.)
[% ELSIF password_complexity == "letters_numbers" %]
@@ -80,7 +79,7 @@
[% ELSIF password_complexity == "letters_numbers_specialchars" %]
(Password must contain at least one letter, a number and a special character.)
[% END %]
- [% IF editform %]<br />
+ [% IF editform %]<br>
(Enter new password to change.)
[% END %]
</td>