diff options
author | travis%sedsystems.ca <> | 2005-03-01 05:41:42 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-03-01 05:41:42 +0100 |
commit | 2a5d8de847971f7b5476ad6026fcbfcb68813354 (patch) | |
tree | a381938485b1265f9bcbd50831a805155a51e504 /template/en/default/admin/users/userdata.html.tmpl | |
parent | 86cdd89c871a0a5fd86892feb0af31d5ab5a088f (diff) | |
download | bugzilla-2a5d8de847971f7b5476ad6026fcbfcb68813354.tar.gz bugzilla-2a5d8de847971f7b5476ad6026fcbfcb68813354.tar.xz |
Bug 119485 : Templatise editusers.cgi
Patch by Marc Schumann <wurblzap@gmail.com> r=GavinS, mkanat a=justdave
Diffstat (limited to 'template/en/default/admin/users/userdata.html.tmpl')
-rw-r--r-- | template/en/default/admin/users/userdata.html.tmpl | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl new file mode 100644 index 000000000..43ee627f1 --- /dev/null +++ b/template/en/default/admin/users/userdata.html.tmpl @@ -0,0 +1,79 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # Contributor(s): Marc Schumann <wurblzap@gmail.com> + #%] + +[%# INTERFACE: + # + # editform: is this an edit form? (It's a create form otherwise) + # editusers: is viewing user member of editusers? + # otheruser: Bugzilla::User object of user to edit + #%] + +<tr> + <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 %]" /> + [% IF editform %] + <input type="hidden" name="loginold" + value="[% otheruser.login FILTER html %]" /> + [% END %] + [% ELSE %] + [% otheruser.login FILTER html %] + [% END %] + </td> +</tr> +<tr> + <th><label for="name">Real name:</label></th> + <td> + [% IF editusers %] + <input size="64" maxlength="255" name="name" + id="name" value="[% otheruser.name FILTER html %]" /> + [% IF editform %] + <input type="hidden" name="nameold" + value="[% otheruser.name FILTER html %]" /> + [% END %] + [% ELSE %] + [% otheruser.name FILTER html %] + [% END %] + </td> +</tr> +[% IF editusers %] + <tr> + <th><label for="password">Password:</label></th> + <td> + <input type="password" size="16" maxlength="16" name="password" + id="password" value="" /> + [% IF editform %]<br /> + (Enter new password to change.) + [% END %] + </td> + </tr> + <tr> + <th><label for="disabledtext">Disable text:</label></th> + <td> + <textarea name="disabledtext" rows="10" + id="disabledtext" + cols="60">[% otheruser.disabledtext FILTER html %]</textarea><br /> + (If non-empty, then the account will be disabled, and this text should + explain why.) + [% IF editform %] + <input type="hidden" name="disabledtextold" + value="[% otheruser.disabledtext FILTER html %]" /> + [% END %] + </td> + </tr> +[% END %] |