1
[%# 1.0@bugzilla.org %]
2
[%# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is the Bugzilla Bug Tracking System.
14
# Contributor(s): Marc Schumann <wurblzap@gmail.com>
19
# editform: is this an edit form? (It's a create form otherwise)
20
# editusers: is viewing user member of editusers?
21
# otheruser: Bugzilla::User object of user to edit
25
<th><label for="login">Login name:</label></th>
28
<input size="64" maxlength="255" name="login"
29
id="login" value="[% otheruser.login FILTER html %]" />
31
<input type="hidden" name="loginold"
32
value="[% otheruser.login FILTER html %]" />
33
[% IF !otheruser.groups.bz_sudo_protect %]
35
<a href="relogin.cgi?action=prepare-sudo&target_login=
36
[%- otheruser.login FILTER html %]">Impersonate this user</a>
40
[% otheruser.login FILTER html %]
45
<th><label for="name">Real name:</label></th>
48
<input size="64" maxlength="255" name="name"
50
id="name" value="[% otheruser.name FILTER html %]" />
52
<input type="hidden" name="nameold"
53
value="[% otheruser.name FILTER html %]" />
56
[% otheruser.name FILTER html %]
62
<th><label for="password">Password:</label></th>
64
<input type="password" size="16" maxlength="16" name="password"
66
id="password" value="" />
67
[% IF editform %]<br />
68
(Enter new password to change.)
73
<th><label for="disabledtext">Disable text:</label></th>
75
<textarea name="disabledtext" rows="10"
77
cols="60">[% otheruser.disabledtext FILTER html %]</textarea><br />
78
(If non-empty, then the account will be disabled, and this text should
81
<input type="hidden" name="disabledtextold"
82
value="[% otheruser.disabledtext FILTER html %]" />