~ubuntu-branches/ubuntu/oneiric/bugzilla/oneiric

« back to all changes in this revision

Viewing changes to template/en/default/account/auth/login.html.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2008-06-27 22:34:34 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080627223434-0ib57vstn43bb4a3
Tags: 3.0.4.1-1
* Update of French, Russian and German translations. (closes: #488251)
* Added Bulgarian and Belarusian translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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/
6
 
  #
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.
11
 
  #
12
 
  # The Original Code is the Bugzilla Bug Tracking System.
13
 
  #
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
17
 
  # Rights Reserved.
18
 
  #
19
 
  # Contributor(s): Gervase Markham <gerv@gerv.net>
20
 
  #                 Toms Baugis <toms@myrealbox.com>
21
 
  #%]
22
 
 
23
 
[%# INTERFACE:
24
 
  # target: string. URL to go to after login.
25
 
  #%]
26
 
 
27
 
[% IF !target %]
28
 
 [% target = "index.cgi" %]
29
 
[% END %]
30
 
  
31
 
[% PROCESS global/variables.none.tmpl %]
32
 
 
33
 
[% PROCESS global/header.html.tmpl
34
 
  title = "Log in to $terms.Bugzilla",
35
 
  onload = "document.forms['login'].Bugzilla_login.focus()"
36
 
%]
37
 
 
38
 
[% USE Bugzilla %]
39
 
 
40
 
<p>
41
 
  I need a legitimate login and password to continue.
42
 
</p>
43
 
 
44
 
<form name="login" action="[% target FILTER html %]" method="POST"
45
 
[%- IF Bugzilla.cgi.param("data") %] enctype="multipart/form-data"[% END %]>
46
 
  <table>
47
 
    <tr>
48
 
      <th align="right"><label for="Bugzilla_login">Login:</label></th>
49
 
      <td>
50
 
        <input size="35" id="Bugzilla_login" name="Bugzilla_login">
51
 
        [% Param('emailsuffix') FILTER html %]
52
 
      </td>
53
 
    </tr>
54
 
    <tr>
55
 
      <th align="right"><label for="Bugzilla_password">Password:</label></th>
56
 
      <td>
57
 
        <input type="password" size="35" id="Bugzilla_password" name="Bugzilla_password">
58
 
      </td>
59
 
    </tr>
60
 
 
61
 
    [% IF Param('rememberlogin') == 'defaulton' || 
62
 
          Param('rememberlogin') == 'defaultoff' %]
63
 
      <tr>
64
 
        <th>&nbsp;</th>
65
 
        <td>
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>
69
 
        </td>
70
 
      </tr>
71
 
    [% END %]
72
 
 
73
 
    [% IF Param('loginnetmask') < 32 %]
74
 
      <tr>
75
 
        <th>&nbsp;</th>
76
 
        <td>
77
 
          <input type="checkbox" id="Bugzilla_restrictlogin" name="Bugzilla_restrictlogin"
78
 
                 checked="checked">
79
 
          <label for="Bugzilla_restrictlogin">Restrict this session to this IP address
80
 
          (using this option improves security)</label>
81
 
        </td>
82
 
      </tr>
83
 
    [% END %]
84
 
  </table>
85
 
 
86
 
  [% PROCESS "global/hidden-fields.html.tmpl"
87
 
     exclude="^Bugzilla_(login|password|restrictlogin)$" %]
88
 
 
89
 
  <input type="submit" name="GoAheadAndLogIn" value="Log in" id="log_in">
90
 
  
91
 
  <p>
92
 
    (Note: you should make sure cookies are enabled for this site. 
93
 
    Otherwise, you will be required to log in frequently.)
94
 
  </p>
95
 
</form>
96
 
 
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.
99
 
  #%]
100
 
 
101
 
  [% IF Param("createemailregexp") && user.authorizer.user_can_create_account %]
102
 
    <hr>
103
 
 
104
 
    <p>
105
 
      If you don't have a [% terms.Bugzilla %] account, you can
106
 
      <a href="createaccount.cgi">create a new account</a>.
107
 
    </p>
108
 
  [% END %]
109
 
 
110
 
  [% IF user.authorizer.can_change_password %]
111
 
    <hr>
112
 
 
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">
121
 
    </form>
122
 
  [% END %]
123
 
 
124
 
[% PROCESS global/footer.html.tmpl %]