summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-01-30 08:26:34 +0100
committergerv%gerv.net <>2002-01-30 08:26:34 +0100
commit7703b328bc570f75edbf287b2b78ef2cbb89996a (patch)
treef5641f45daffc95c6591350bb528d672433208e1 /template
parent5bbb0f101966acb382e643303129a9057ff49987 (diff)
downloadbugzilla-7703b328bc570f75edbf287b2b78ef2cbb89996a.tar.gz
bugzilla-7703b328bc570f75edbf287b2b78ef2cbb89996a.tar.xz
Bug 117509 - createaccount.cgi templatisation.
Diffstat (limited to 'template')
-rw-r--r--template/default/admin/account_created.tmpl37
-rw-r--r--template/default/admin/account_exists.tmpl33
-rw-r--r--template/default/admin/create_account.tmpl57
3 files changed, 127 insertions, 0 deletions
diff --git a/template/default/admin/account_created.tmpl b/template/default/admin/account_created.tmpl
new file mode 100644
index 000000000..f104eb0ac
--- /dev/null
+++ b/template/default/admin/account_created.tmpl
@@ -0,0 +1,37 @@
+[%# 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.
+ #
+ # The Initial Developer of the Original Code is Netscape Communications
+ # Corporation. Portions created by Netscape are
+ # Copyright (C) 1998 Netscape Communications Corporation. All
+ # Rights Reserved.
+ #
+ # Contributor(s): Gervase Markham <gerv@gerv.net>
+ #%]
+
+[% INCLUDE global/header
+ title = "Account Created"
+%]
+
+<p>
+ A new account,
+ <tt>[% login %]</tt>,
+ has been created and a randomly-generated password has been e-mailed
+ to that address.
+</p>
+
+<p>
+ When the e-mail arrives,
+ <a href="query.cgi?GoAheadAndLogIn=1">log in here</a>.
+</p>
+
+[% INCLUDE global/footer %]
diff --git a/template/default/admin/account_exists.tmpl b/template/default/admin/account_exists.tmpl
new file mode 100644
index 000000000..0f1882b42
--- /dev/null
+++ b/template/default/admin/account_exists.tmpl
@@ -0,0 +1,33 @@
+[%# 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.
+ #
+ # The Initial Developer of the Original Code is Netscape Communications
+ # Corporation. Portions created by Netscape are
+ # Copyright (C) 1998 Netscape Communications Corporation. All
+ # Rights Reserved.
+ #
+ # Contributor(s): Gervase Markham <gerv@gerv.net>
+ #%]
+
+[% INCLUDE global/header
+ title = "Account Exists"
+%]
+
+<form method="get" action="token.cgi">
+ <input type="hidden" name="a" value="reqpw" />
+ <input type="hidden" name="loginname" value="[% login %]" />
+ A Bugzilla account for <tt>[% login %]</tt> already exists. If you
+ are the account holder and have forgotten your password,
+ <input type="submit" value="submit a request to change it" />.
+</form>
+
+[% INCLUDE global/footer %]
diff --git a/template/default/admin/create_account.tmpl b/template/default/admin/create_account.tmpl
new file mode 100644
index 000000000..60effdf61
--- /dev/null
+++ b/template/default/admin/create_account.tmpl
@@ -0,0 +1,57 @@
+[%# 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.
+ #
+ # The Initial Developer of the Original Code is Netscape Communications
+ # Corporation. Portions created by Netscape are
+ # Copyright (C) 1998 Netscape Communications Corporation. All
+ # Rights Reserved.
+ #
+ # Contributor(s): Gervase Markham <gerv@gerv.net>
+ #%]
+
+[% INCLUDE global/header
+ title = "Create a new Bugzilla account"
+%]
+
+<p>
+ To create a Bugzilla account, all that you need to do is to enter a
+ legitimate e-mail address. The account will be created, and its
+ password will be mailed to you. Optionally you may enter your real name
+ as well.
+</p>
+
+<form method="get" action="createaccount.cgi">
+ <table>
+ <tr>
+ <td align="right">
+ <b>E-mail address:</b>
+ </td>
+ <td>
+ <input size="35" name="login" />
+ [% Param('emailsuffix') %]
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right">
+ <b>Real name:</b>
+ </td>
+ <td>
+ <input size="35" name="realname" />
+ </td>
+ </tr>
+ </table>
+ <br />
+ <input type="submit" value="Create Account" />
+</form>
+
+[% INCLUDE global/footer %]