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
# The Initial Developer of the Original Code is Netscape Communications
15
# Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
19
# Contributor(s): Gervase Markham <gerv@gerv.net>
20
# Toms Baugis <toms@myrealbox.com>
24
# target: string. URL to go to after login.
28
[% target = "index.cgi" %]
31
[% PROCESS global/variables.none.tmpl %]
33
[% PROCESS global/header.html.tmpl
34
title = "Log in to $terms.Bugzilla",
35
onload = "document.forms['login'].Bugzilla_login.focus()"
41
I need a legitimate login and password to continue.
44
<form name="login" action="[% target FILTER html %]" method="POST"
45
[%- IF Bugzilla.cgi.param("data") %] enctype="multipart/form-data"[% END %]>
48
<th align="right"><label for="Bugzilla_login">Login:</label></th>
50
<input size="35" id="Bugzilla_login" name="Bugzilla_login">
51
[% Param('emailsuffix') FILTER html %]
55
<th align="right"><label for="Bugzilla_password">Password:</label></th>
57
<input type="password" size="35" id="Bugzilla_password" name="Bugzilla_password">
61
[% IF Param('rememberlogin') == 'defaulton' ||
62
Param('rememberlogin') == 'defaultoff' %]
66
<input type="checkbox" id="Bugzilla_remember" name="Bugzilla_remember" value="on"
67
[% "checked" IF Param('rememberlogin') == "defaulton" %]>
68
<label for="Bugzilla_remember">Remember my Login</label>
73
[% IF Param('loginnetmask') < 32 %]
77
<input type="checkbox" id="Bugzilla_restrictlogin" name="Bugzilla_restrictlogin"
79
<label for="Bugzilla_restrictlogin">Restrict this session to this IP address
80
(using this option improves security)</label>
86
[% PROCESS "global/hidden-fields.html.tmpl"
87
exclude="^Bugzilla_(login|password|restrictlogin)$" %]
89
<input type="submit" name="GoAheadAndLogIn" value="Log in" id="log_in">
92
(Note: you should make sure cookies are enabled for this site.
93
Otherwise, you will be required to log in frequently.)
97
[%# Allow the user to create a new account, or request a token to change
98
# their password, assuming that our auth method allows that.
101
[% IF Param("createemailregexp") && user.authorizer.user_can_create_account %]
105
If you don't have a [% terms.Bugzilla %] account, you can
106
<a href="createaccount.cgi">create a new account</a>.
110
[% IF user.authorizer.can_change_password %]
113
<a name="forgot"></a>
114
<form method="get" action="token.cgi">
115
<input type="hidden" name="a" value="reqpw">
116
If you have an account, but have forgotten your password,
117
enter your login name below and submit a request
118
to change your password.<br>
119
<input size="35" name="loginname">
120
<input type="submit" id="request" value="Submit Request">
124
[% PROCESS global/footer.html.tmpl %]