diff options
author | travis%sedsystems.ca <> | 2005-03-01 04:41:42 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-03-01 04:41:42 +0000 |
commit | 2a5d8de847971f7b5476ad6026fcbfcb68813354 (patch) | |
tree | a381938485b1265f9bcbd50831a805155a51e504 /template/en/default/admin/users/create.html.tmpl | |
parent | 86cdd89c871a0a5fd86892feb0af31d5ab5a088f (diff) | |
download | bugs-2a5d8de847971f7b5476ad6026fcbfcb68813354.tar bugs-2a5d8de847971f7b5476ad6026fcbfcb68813354.tar.gz bugs-2a5d8de847971f7b5476ad6026fcbfcb68813354.tar.bz2 bugs-2a5d8de847971f7b5476ad6026fcbfcb68813354.tar.xz bugs-2a5d8de847971f7b5476ad6026fcbfcb68813354.zip |
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/create.html.tmpl')
-rw-r--r-- | template/en/default/admin/users/create.html.tmpl | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/template/en/default/admin/users/create.html.tmpl b/template/en/default/admin/users/create.html.tmpl new file mode 100644 index 000000000..42aefbdb7 --- /dev/null +++ b/template/en/default/admin/users/create.html.tmpl @@ -0,0 +1,57 @@ +[%# 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: + # + # listselectionvalues: selection values to recreate the current user list. + # editusers: is viewing user member of editusers? + #%] + +[% PROCESS global/header.html.tmpl + title = "Add user" + style_urls = ['skins/standard/editusers.css'] + onload = "document.forms['f'].login.focus()" +%] + +[% PROCESS admin/users/listselectvars.html.tmpl + listselectionvalues = listselectionvalues +%] + +<form name="f" method="post" action="editusers.cgi"> +<table class="main"> + [% PROCESS admin/users/userdata.html.tmpl + editform = 0 + editusers = editusers + otheruser = [] + %] +</table> +<p> + <input type="submit" value="Add" /> + <input type="hidden" name="action" value="new" /> + [% INCLUDE listselectionhiddenfields %] +</p> +</form> + +<p> + You can also <a href="editusers.cgi">find a user</a> + [% IF listselectionvalues %], + or + <a href="editusers.cgi?action=list[% INCLUDE listselectionurlparams %]">go + back to the user list</a> + [% END %]. +</p> + +[% PROCESS global/footer.html.tmpl %] |