create.html.tmpl 2.91 KB
Newer Older
1 2 3
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
  #
5 6
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
7 8
  #%]

9 10 11 12 13 14 15
[%# INTERFACE
  # none
  # 
  # Param("maintainer") is used to display the maintainer's email.
  # Param("emailsuffix") is used to pre-fill the email field.
  #%]

16
[% PROCESS global/header.html.tmpl
17 18
           title = "Create a new $terms.Bugzilla account"
%]
19 20

<p>
21
  To create a [% terms.Bugzilla %] account, all you need to do is to enter
22 23 24
[% IF Param('emailsuffix') == '' %]
  a legitimate email address.
[% ELSE %]
25
  an account name which when combined with [% Param('emailsuffix') %]
26 27 28 29 30
  corresponds to an address where you receive email.
[% END %]
  You will receive an email at this address to confirm the creation of your
  account. <b>You will not be able to log in until you receive the email.</b>
  If it doesn't arrive within a reasonable amount of time, you may contact
31
  the maintainer of this Bugzilla installation
32 33 34
  at <a href="mailto:[% Param("maintainer") %]">[% Param("maintainer") %]</a>.
</p>

35 36 37 38 39 40 41 42 43 44 45 46
[% IF Param('allowemailchange') %]
<p>
  If you already have an account and want to change your
  [% IF Param('emailsuffix') == '' %]
    email address,
  [% ELSE %]
    login name,
  [% END %]
  you can change it from the Preferences page after logging in.
</p>
[% END %]

47 48 49 50 51
<p>
  A user account is required to report new [% terms.bugs %] or to comment into
  existing ones, as you may be contacted for more information if needed.
  This also lets other users clearly identify who is the author of comments
  or changes made into [% terms.bugs %]. <b>Note that your email address will
52
  <em>never</em> be displayed to logged out users. Only registered users will be
53 54 55
  able to see it.</b>
</p>

56 57 58 59
[% IF Param('createemailregexp') == '.*' && Param('emailsuffix') == '' %]
<p>
  <b>PRIVACY NOTICE:</b> [% terms.Bugzilla %] is an open [% terms.bug %]
  tracking system. Activity on most [% terms.bugs %], including email
60
  addresses, will be visible to registered users. We <b>recommend</b> using a
61 62 63 64 65
  secondary account or free web email service (such as Gmail, Yahoo,
  Hotmail, or similar) to avoid receiving spam at your primary email address.
</p>
[% END %]

66
<form id="account_creation_form" method="get" action="createaccount.cgi">
67 68 69 70 71 72 73
  <span class="label">
    [% IF Param('emailsuffix') %]
      Login:
    [% ELSE %]
      Email address:
    [% END %]
  </span>
74
  <input size="35" id="login" name="login" autofocus
75
         [%- ' type="email"' UNLESS Param('emailsuffix') %] required>
76
  [% Param('emailsuffix') FILTER html %]
77
  <input type="hidden" id="token" name="token" value="[% issue_hash_token(['create_account']) FILTER html %]">
78
  <input type="submit" id="send" value="Send">
79 80
</form>

81
[% PROCESS global/footer.html.tmpl %]